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