This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/26118] avr-gcc (GCC) 3.4.5 Bug: copying structure through pointer will destroy the pointer
- From: "lmorrison at nautel dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Feb 2006 19:46:42 -0000
- Subject: [Bug target/26118] avr-gcc (GCC) 3.4.5 Bug: copying structure through pointer will destroy the pointer
- References: <bug-26118-12140@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from lmorrison at nautel dot com 2006-02-06 19:46 -------
Created an attachment (id=10791)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10791&action=view)
preprocessed source demonstrating bug
produced with commandline:
avr-gcc -E -mmcu=atmega32 -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes
-Wa,-adhlns=main.lst -std=gnu99 main.c -o main.i
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26118