[Bug ipa/60026] [4.8/4.9 Regression] ICE at -O3 on valid code (with the optimize pragma) on x86_64-linux-gnu
jamborm at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Feb 3 18:05:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60026
--- Comment #5 from Martin Jambor <jamborm at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #4)
> Created attachment 32030 [details]
> gcc49-pr60026.patch
>
> The problem is that for -O0 we don't create vdef/vuse at all, but I'd say we
> shouldn't be cloning -O0 functions either, even when they don't have noclone
> argument. Thus perhaps something like attached patch?
While the idea of the patch is of course good, it seems that we only
set cannot_be_copied.* in copy_forbidden in tree-inline.c, so perhaps
it would be better to put the optimized test there as well so that we
never have any ordering issues?
More information about the Gcc-bugs
mailing list