gcc/gcc11-pr98338-workaround.patch
DistroBaker aaef794ebb Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/gcc.git#9f8a6fd89413ffd0fbe3bf158b0eb690617e9cbb
2020-12-19 00:03:08 +00:00

18 lines
559 B
Diff

2020-12-17 Jakub Jelinek <jakub@redhat.com>
PR bootstrap/98338
* range-op.cc (operator_plus::op2_range): Tail-call op1_range
to work-around ICF profile merging ICE during profiledbootstrap.
--- gcc/range-op.cc.jj 2020-12-17 16:06:39.789526868 +0100
+++ gcc/range-op.cc 2020-12-17 16:19:18.127240700 +0100
@@ -950,7 +950,7 @@ operator_plus::op2_range (irange &r, tre
const irange &lhs,
const irange &op1) const
{
- return range_op_handler (MINUS_EXPR, type)->fold_range (r, type, lhs, op1);
+ return op1_range (r, type, lhs, op1);
}