This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/64353] [5 Regression] ICE: in execute_todo, at passes.c:1986
- From: "enkovich.gnu at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 14 Jan 2015 15:53:14 +0000
- Subject: [Bug middle-end/64353] [5 Regression] ICE: in execute_todo, at passes.c:1986
- Auto-submitted: auto-generated
- References: <bug-64353-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64353
--- Comment #7 from Ilya Enkovich <enkovich.gnu at gmail dot com> ---
Right, wrong const attribute causes no VUSE for calls to the function which
leads to # VUSE <.MEM> generated for added loads and requires SSA update.
We may actually call update_ssa only in case of missing VUSE still allowing
optimization for functions wrongly marked as const.