[PATCH] PR 30460: asm_debug is not initialized in gcc.c

Robert Schiele rschiele@gmail.com
Sun Jan 14 02:39:00 GMT 2007


On Sun, Jan 14, 2007 at 03:34:24AM +0100, Robert Schiele wrote:
> On Sat, Jan 13, 2007 at 09:17:10PM -0500, Andrew Pinski wrote:
> > You should read init_spec in gcc.c:
> > 
> >   /* Initialize here, not in definition.  The IRIX 6 O32 cc sometimes chokes
> >      on ?: in file-scope variable initializations.  */
> >   asm_debug = ASM_DEBUG_SPEC;
> 
> Does that make any sense?  I mean _all_ the other variables are initialized in
> definition thus this compiler should have the same problem with them.  Right?

Ah, no, forget this, I was wrong.  Didn't get the point with the "?:".  Sorry!

Robert

-- 
Robert Schiele
Dipl.-Wirtsch.informatiker	mailto:rschiele@gmail.com

"Quidquid latine dictum sit, altum sonatur."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20070114/383eba1e/attachment.sig>


More information about the Gcc-patches mailing list