avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-libc-dev] [bug #32988] Internal compiler error: build_unary_op


From: Georg-Johann Lay
Subject: [avr-libc-dev] [bug #32988] Internal compiler error: build_unary_op
Date: Wed, 06 Apr 2011 20:10:12 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de; rv:1.9.2.16) Gecko/20110319 Firefox/3.6.16

Follow-up Comment #1, bug #32988 (project avr-libc):

This is addressed in

http://gcc.gnu.org/PR44643

Besides changes in avr-gcc, definition of include/avr/pgmspace.h:PSTR has to
be changed from

# define PSTR(s) (__extension__({static char __c[] PROGMEM = (s); &__c[0];}))

to

# define PSTR(s) (__extension__({static const char __c[] PROGMEM = (s);
&__c[0];}))

with this change avr-libc should build (didn't try it, but there no reason for
avr-gcc ICEing any more).

The changes in avr-gcc will lead to a more comprehensible error massage
instead of a fatal abort. However, fixing PSTR will still be needed.



    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?32988>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]