This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/34299] [avr] ICE on function attribute syntax for main()
- From: "regehr at cs dot utah dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Feb 2009 23:29:41 -0000
- Subject: [Bug target/34299] [avr] ICE on function attribute syntax for main()
- References: <bug-34299-15429@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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