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 target/34299] [avr] ICE on function attribute syntax for main()



------- 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


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