This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/28427] warning: alignment of '__FUNCTION__' is greater than maximum object file alignment.
- From: "dannysmith at users dot sourceforge dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Jul 2006 08:06:52 -0000
- Subject: [Bug target/28427] warning: alignment of '__FUNCTION__' is greater than maximum object file alignment.
- References: <bug-28427-4066@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from dannysmith at users dot sourceforge dot net 2006-07-20 08:06 -------
config/i386/i386.c: ix86_data_alignment uses the magic number 256 as max_align
(except with -Os). However, MAX_OFILE_ALIGNMENT defaulted to BIGGEST_ALIGNMENT
windows32 targets. The PE COFF spec (and native compiler) indicate that the
max user specified alignement in 8192 bytes.
I don't know why this hasn't caused problems before now.
Fixed by defining MAX_OFILE_ALIGNMENT.
Danny
--
dannysmith at users dot sourceforge dot net changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28427