[Bug target/34299] [avr] ICE on function attribute syntax for main()

regehr at cs dot utah dot edu gcc-bugzilla@gcc.gnu.org
Thu Feb 26 23:29:00 GMT 2009



------- Comment #11 from regehr at cs dot utah dot edu  2009-02-26 23:29 -------
Subject: Re:  [avr] ICE on function attribute syntax for
 main()

Great!

John


jxyang at cs dot utah dot edu wrote:
> ------- Comment #10 from jxyang at cs dot utah dot edu  2009-02-26 23:24 -------
> Created an attachment (id=17370)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17370&action=view)
>  --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17370&action=view)
> patch for bug 34299
> 
> DECL_ASSEMBLER_NAME has a side effect of setting assembler_name for functions
> if that attribute is missing, which causes the assertion failure in c-decl.c.
> 
> Change it to less harmful DECL_NAME.
> 
> 


-- 


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



More information about the Gcc-bugs mailing list