https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120629

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |wrong-code
            Summary|[16 regression]             |[16 regression]
                   |profiledbootstrap fails     |profiledbootstrap with lto
                   |                            |fails

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
profiledbootstrap goes:
stage1
stageprofile
stagetrain
stagefeedback

If this while building stagetrain, then this means stageprofile is miscompiled
by stage 1 I think because I don't see anything wrong with this code.

Does it work without bootstrap-O3 ? I am trying to narrow down if -O2 also
miscompiles stageprofile ... Since this code path only happens with LTO, not
using bootstrap-lto won't help.

I Noticed you have `--param=ggc-min-expand=120 ` Does it still happen without
that? (in theory that should not change anything unless you are hitting a GC
issue.)

Also -march=native might make a difference too.

Reply via email to