This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/28427] warning: alignment of '__FUNCTION__' is greater than maximum object file alignment.



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]