[Bug tree-optimization/105458] [12/13 Regression] ICE in set_relation, at value-relation.cc:609 since r12-4790-g4b3a325f07acebf4
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed May 18 14:13:26 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105458
--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-12 branch has been updated by Andrew Macleod
<amacleod@gcc.gnu.org>:
https://gcc.gnu.org/g:9c8125b98cdd406fbad09995529a5c6acffdd928
commit r12-8393-g9c8125b98cdd406fbad09995529a5c6acffdd928
Author: Andrew MacLeod <amacleod@redhat.com>
Date: Tue May 17 09:36:39 2022 -0400
Check for equivalence after merging relations.
When registering a relation, we need to merge with any existing relation
before checking if it was an equivalence... otherwise it was not being
handled properly.
gcc/
PR tree-optimization/105458
* value-relation.cc (path_oracle::register_relation): Merge, then
check
for equivalence.
gcc/testsuite/
* gcc.dg/pr105458.c: New.
More information about the Gcc-bugs
mailing list