This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug rtl-optimization/33644] [4.3 Regression] ICE in local_cprop_pass with -ftrapv for crafty



------- Comment #2 from zadeck at naturalbridge dot com  2007-10-15 13:11 -------
Subject: Re:  [4.3 Regression] ICE in local_cprop_pass
 with -ftrapv for crafty

> On Sun, Oct 14, 2007 at 12:29:44PM -0400, Kenneth Zadeck wrote:

> > > I have not looked at this bug.  I am happy to if you want.  I am sure
> > > that it will be trivial to modify the pass that moved/created the insn
> > > in the middle of the libcall to inherit the LIB_CALL_ID from the
> > > previous insn. 
>   

> That is not desirable, if anything in this case the insn should be
> added before the whole libcall sequence rather than before the insn
> that actually needs it.  Otherwise, useless insns added to the libcall
> sequences wouldn't be ever DCEd.

> While it might be easy to modify the instantiate_virtual_regs, there
> are dozens of other passes that do similar things, so at least for 4.3 it is
> highly unlikely they will be all modified.

>	Jakub


Jakub, i will fix this by moving the insn before the libcall.  It may take me a
day of so because i am under the weather.  But i will do it soon.

kenny


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33644


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]