work
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: scott at perturb dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44617
--- Comment #2 from scott at perturb dot org 2010-06-21 18:07 ---
* the exact version of GCC;
avr-gcc-c++-4.5.0-1.fc13.x86_64
avr-gcc-4.5.0-1.fc13.x86_64
* the system type;
Compiled on 2.6.33.5-112.fc13.x86_64 but the target was an atmega1280
* the options given when
--- Comment #4 from scott at perturb dot org 2010-06-21 18:13 ---
(In reply to comment #3)
> Can you also try on a FSF released GCC rather than one that has been modified
> by the Fedora project?
That might be harder... I do see from the two forum posts that the bug persists
--- Comment #5 from scott at perturb dot org 2010-06-21 18:38 ---
* the complete command line that triggers the bug;
avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections
-mmcu=atmega1280 -DF_CPU=1600L -DARDUINO=18
-I/home/bakers/arduino-0018/hardware/arduino
--- Comment #6 from scott at perturb dot org 2010-06-21 18:39 ---
For the record, the code I'm attempting to compile is extremely simple. Might
explain why it compiles so cleanly:
---
void
--- Comment #8 from scott at perturb dot org 2010-06-21 19:03 ---
Here is the full command the arduino ide generates when it compiles code. I
just took the last command for sketch_jun21a.cpp.o (my code) and added the -v
and -save-temps.
avr-gcc -c -g -Os -w -ffunction-sections -fdata