This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/18443] [3.3/3.4/4.0 Regression] #pragma pack(1) breaks function pointer initialization
- From: "davidm at hpl dot hp dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Nov 2004 06:01:14 -0000
- Subject: [Bug target/18443] [3.3/3.4/4.0 Regression] #pragma pack(1) breaks function pointer initialization
- References: <20041112051558.18443.davidm@hpl.hp.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From davidm at hpl dot hp dot com 2004-11-12 06:01 -------
(In reply to comment #2)
> Since I don't have access to an IA64 machine could you submit/regtest the
patch which removes the
> aligned_p test?
Just removing the aligned_p won't do the trick. It's also necessary to change
data4/data8 to data4/data8.ua. Otherwise, the data directive implicitly forces
alignment.
I _can_ do regression-testing, but am currently nested about 5 levels deep, so I
can't do it right away. If somebody else could do it, I'd certainly greatly
appreciate it.
BTW: anybody who's willing to put their source-code on a shared machine can get
access to an IA64 machine. Just request create an account at www.testdrive.hp.com.
The machines tend to be lightly loaded and I find them so useful that I use them
myself on occasion (for example, spe174 is currently a 4-way 1.4 GHz Itanium 2,
which should be nice for building stuff ;-).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18443