------- Comment #1 from dberlin at gcc dot gnu dot org 2007-03-07 14:31 ------- Subject: Re: New: ICE at -O1 -fipa-pta
On 7 Mar 2007 10:32:37 -0000, fxcoudert at gcc dot gnu dot org <[EMAIL PROTECTED]> wrote: > I saw the -fipa-pta option in the GCC manual, and decided to try it on > mainline. But... I can't get it to work with any C code (or Fortran): > > $ cat a.c > void foo() { ; } > > $ gcc -c -O1 -fipa-pta a.c > a.c: In function 'foo': > a.c:5: error: stmt (0x2a983e4140) marked modified after optimization pass: > return; > a.c:5: internal compiler error: verify_ssa failed > > bonzini suggested I asked Daniel if it was expected or not, so... here it is. > Honza broke it when he merged IPA SSA changes. Honza, can i just add TODO_update_ssa to an IPA pass, or is that broken? If it works, then you can fix this just by adding TODO_update_ssa to the todo_finish_flags of pass_ipa_pta. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31068