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/44643] ice in c-typeck.c



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


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