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: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Nov 2004 05:48:56 -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 pinskia at gcc dot gnu dot org 2004-11-12 05:48 -------
The bug was introduced with:
http://gcc.gnu.org/ml/gcc-patches/2001-12/msg01678.html
which looks like a mis understanding what IA64 wanted/needed. The aligned_p there looks wrong.
So this is a regression.
Since I don't have access to an IA64 machine could you submit/regtest the patch which removes the
aligned_p test?
--
What |Removed |Added
----------------------------------------------------------------------------
Known to fail| |3.3.3 3.4.0 3.2 4.0.0
Known to work| |3.0.4
Summary|#pragma pack(1) breaks |[3.3/3.4/4.0 Regression]
|function pointer |#pragma pack(1) breaks
|initialization |function pointer
| |initialization
Target Milestone|--- |3.4.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18443