[Bug middle-end/71606] [4.9/5/6 Regression] ICE on -O2 and above on x86_64-linux-gnu (internal compiler error: in get_expr_operands, at tree-ssa-operands.c:882)
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jul 8 20:21:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71606
--- Comment #6 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Fri Jul 8 20:21:02 2016
New Revision: 238173
URL: https://gcc.gnu.org/viewcvs?rev=238173&root=gcc&view=rev
Log:
Do not consider COMPLEX_TYPE as fold_convertible_p
Backported from mainline
2016-07-08 Martin Liska <mliska@suse.cz>
PR middle-end/71606
* fold-const.c (fold_convertible_p): As COMPLEX_TYPE
folding produces SAVE_EXPRs, thus return false for the type.
Backported from mainline
2016-07-08 Martin Liska <mliska@suse.cz>
* gcc.dg/torture/pr71606.c: New test.
Added:
branches/gcc-5-branch/gcc/testsuite/gcc.dg/torture/pr71606.c
Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/fold-const.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list