[Bug c++/38342] New: __attribute__((__progmem__)) not propagated from typedef to data

2008-12-01 Thread westfw at yahoo dot com
agated from typedef to data Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: westfw at yahoo dot c

[Bug c++/38342] __attribute__((__progmem__)) not propagated from typedef to data

2008-12-01 Thread westfw at yahoo dot com
--- Comment #1 from westfw at yahoo dot com 2008-12-01 09:16 --- Created an attachment (id=16797) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16797&action=view) output from g++ -v -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38342

[Bug c++/38342] __attribute__((__progmem__)) not propagated from typedef to data

2008-12-01 Thread westfw at yahoo dot com
--- Comment #2 from westfw at yahoo dot com 2008-12-01 09:18 --- Created an attachment (id=16798) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16798&action=view) pgmspace.ii for the failing g++ compilation Actual compile command: /Downloads/arduino-0012/hardware/tools/

[Bug c++/38342] __attribute__((__progmem__)) not propagated from typedef to data

2008-12-01 Thread westfw at yahoo dot com
--- Comment #3 from westfw at yahoo dot com 2008-12-01 09:20 --- Bug has been reproduced on at least two hosts. See also avrfreaks discussion: http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&p=515859#515859 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38342

[Bug c/65740] New: spectacularly bad inlinining decisions with -Os

2015-04-10 Thread westfw at yahoo dot com
: c Assignee: unassigned at gcc dot gnu.org Reporter: westfw at yahoo dot com Created attachment 35298 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35298&action=edit preprocessed source code example. Compiling a module with 4.8.1 and -Os results in a binary mo

[Bug target/44617] Serial Output on the atmega1280 does not work

2010-08-22 Thread westfw at yahoo dot com
--- Comment #11 from westfw at yahoo dot com 2010-08-22 07:18 --- Created an attachment (id=21541) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21541&action=view) Suggested patch Tested with the example. Not thoroughly tested, though. -- http://gcc.gnu.org/b

[Bug target/44617] Serial Output on the atmega1280 does not work

2010-08-22 Thread westfw at yahoo dot com
--- Comment #12 from westfw at yahoo dot com 2010-08-22 07:21 --- See http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&p=736616 This is (IMO) a bug in the __do_global_ctors in gcc/config/avr/libgcc.S When support for 24-bit flash pointers was added in e

[Bug target/45263] registers used in __do_global_ctors can get clobbered

2010-12-03 Thread westfw at yahoo dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45263 --- Comment #9 from Bill Westfield 2010-12-04 03:11:23 UTC --- This is essentially identical to the patch I provided for http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44617 so it looks good to me. I had two worries: Is R15 used anywhere else in sta

[Bug target/38342] [4.4/4.5/4.6/4.7 Regression] __attribute__((__progmem__)) not propagated from typedef to data

2011-07-04 Thread westfw at yahoo dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38342 --- Comment #10 from Bill Westfield 2011-07-05 00:22:58 UTC --- I was using documented avr-libc features. Does that mean that this is an avr-libc bug rather than a gcc bug? Neither of the web pages you reference mention "progmem" or even AVR at

[Bug target/38342] [4.4/4.5/4.6/4.7 Regression] __attribute__((__progmem__)) not propagated from typedef to data

2011-07-06 Thread westfw at yahoo dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38342 --- Comment #12 from Bill Westfield 2011-07-06 21:18:26 UTC --- Ah. So this is the same compiler behavior that results in C++ overloading not being able to tell the difference between a RAM pointer and a progmem pointer; the attribute ends up on