This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/44643] ice in c-typeck.c
- From: "weasel at cs dot stanford dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Jun 2010 15:59:44 -0000
- Subject: [Bug target/44643] ice in c-typeck.c
- References: <bug-44643-19363@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from weasel at cs dot stanford dot edu 2010-06-23 15:59 -------
thanks for the hint about avr_insert_attribute. there's a comment there
mumbling:
/* ??? This seems sketchy. Why can't the user declare the
thing const in the first place? */
when it sets the node's readonly-ness. if i declare the array to have const
elements there's no ICE. i guess the 'fix' is to sprinkle const-goodness around
the source although it might be nice to have a slightly nicer error message.
--
weasel at cs dot stanford dot edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44643