https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71588
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2016-06-20
CC| |jakub at gcc dot gnu.org
Summary|ICE on valid code at -O2 |[4.9/5/6/7 Regression] ICE
|and -O3 on |on valid code at -O2 and
|x86_64-linux-gnu: in |-O3 on x86_64-linux-gnu: in
|execute_todo, at |execute_todo, at
|passes.c:2009 |passes.c:2009
Ever confirmed|0 |1
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Most likely started with my r179279. Guess easiest would be for builtins that
aren't meant to be const or pure give up on all tree-ssa-strlen.c optimizations
if somebody misattributes them.