From: dj Date: Fri, 23 Feb 2007 23:16:47 +0000 (+0000) Subject: * config/i386/i386.c (ix86_data_alignment): Don't specify an X-Git-Tag: upstream/4.9.2~50203 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cf9d2c343781ec1f69c8cc6921466a4fac7f12ef;p=platform%2Fupstream%2Flinaro-gcc.git * config/i386/i386.c (ix86_data_alignment): Don't specify an alignment bigger than the object file can handle. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122275 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4cccd20..3fdbf78 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2007-02-23 DJ Delorie + + * config/i386/i386.c (ix86_data_alignment): Don't specify an + alignment bigger than the object file can handle. + 2007-02-23 Uros Bizjak PR target/30825 diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index e0da85a..a88c615 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -15417,7 +15417,7 @@ ix86_constant_alignment (tree exp, int align) int ix86_data_alignment (tree type, int align) { - int max_align = optimize_size ? BITS_PER_WORD : 256; + int max_align = optimize_size ? BITS_PER_WORD : MIN (256, MAX_OFILE_ALIGNMENT); if (AGGREGATE_TYPE_P (type) && TYPE_SIZE (type)