This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Resend: -fpack-struct again
- To: cpg at aladdin dot de
- Subject: Re: Resend: -fpack-struct again
- From: "Martin v. Loewis" <martin at mira dot isdn dot cs dot tu-berlin dot de>
- Date: Sat, 6 Nov 1999 21:33:46 +0100
- CC: gcc at gcc dot gnu dot org, cpg at aladdin dot de
- References: <199911041400.PAA06575@punt.aladdin.de>
> On i686-pc-linux-gnu target (maybe others) gcc-2.95.2
> doesn't honor the -fpack-struct command line switch.
Thanks for your bug report. Interesting enough, I could not reproduce
it on i586-pc-linux-gnu. For your example, the compiler generates
.file "a.c"
.version "01.01"
gcc2_compiled.:
.globl st
.data
.type st,@object
.size st,16
st:
.long .LC0
.value 1
.long .LC1
.value 2
.long 123456
.section .rodata
.LC1:
.string "You"
.LC0:
.string "Hello"
.ident "GCC: (GNU) 2.95.2 19991024 (release)"
Are you sure you've been using the right switch?
Regards,
Martin