Actions

icon Post
text/html Subscribe
text/html Unsubscribe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [arm-gnu] ICE segfault in 2009q3 (G++ Lite, GNU/Linux EABI)


  • To: Chris Winter <elwintro@xxxxxxxxx>
  • Subject: Re: [arm-gnu] ICE segfault in 2009q3 (G++ Lite, GNU/Linux EABI)
  • From: Mark Mitchell <mark@xxxxxxxxxxxxxxxx>
  • Date: Wed, 27 Jan 2010 16:35:30 -0800

Chris Winter wrote:

> Uncommenting line 75 in test.c seems to allow the compilation to succeed.

I think I recognize this bug.  There's been a class of bugs that can
cause a compiler crash if the compiler thinks a variable is used before
it is initialized.  With line 75 commented out, you can use f2 before
initializing it.  There's no excuse for a crash, of course, but the
work-around is simply to initialize the variable.

Thanks,

-- 
Mark Mitchell
CodeSourcery
mark@xxxxxxxxxxxxxxxx
(650) 331-3385 x713