public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/35496] New: [4.4 Regression] test failures between revs. 132950 and 132974
@ 2008-03-07 13:37 dominiq at lps dot ens dot fr
2008-03-08 17:11 ` [Bug target/35496] " dominiq at lps dot ens dot fr
` (26 more replies)
0 siblings, 27 replies; 28+ messages in thread
From: dominiq at lps dot ens dot fr @ 2008-03-07 13:37 UTC (permalink / raw)
To: gcc-bugs
On i686-apple-darwin9 with rev. 132974, I see the following regressions (not in
rev. 132950):
FAIL: gcc.dg/bf-ms-layout-2.c execution test
FAIL: gcc.dg/bf-ms-layout.c execution test
FAIL: gfortran.dg/array_constructor_12.f90 -O3 -fomit-frame-pointer execution
test
FAIL: gfortran.dg/array_constructor_12.f90 -O3 -fomit-frame-pointer
-funroll-loops execution test
FAIL: gfortran.dg/array_constructor_12.f90 -O3 -fomit-frame-pointer
-funroll-all-loops -finline-functions execution test
FAIL: gfortran.dg/array_constructor_12.f90 -O3 -g execution test
The failures of gfortran.dg/array_constructor_12.f90 result from a segmentation
fault. All failures disappear with -m64. Between the two builds I have replaced
the first patch (comment #3) for PR33642 by the second one (comment #4).
--
Summary: [4.4 Regression] test failures between revs. 132950 and
132974
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dominiq at lps dot ens dot fr
GCC build triplet: i686-apple-darwin9
GCC host triplet: i686-apple-darwin9
GCC target triplet: i686-apple-darwin9
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35496
^ permalink raw reply [flat|nested] 28+ messages in thread
* [Bug target/35496] [4.4 Regression] test failures between revs. 132950 and 132974
2008-03-07 13:37 [Bug target/35496] New: [4.4 Regression] test failures between revs. 132950 and 132974 dominiq at lps dot ens dot fr
@ 2008-03-08 17:11 ` dominiq at lps dot ens dot fr
2008-03-08 17:40 ` hjl dot tools at gmail dot com
` (25 subsequent siblings)
26 siblings, 0 replies; 28+ messages in thread
From: dominiq at lps dot ens dot fr @ 2008-03-08 17:11 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from dominiq at lps dot ens dot fr 2008-03-08 17:10 -------
The failures disappear if I revert revision 132966:
2008-03-05 H.J. Lu <hongjiu.lu@intel.com>
* config/i386/i386-modes.def: Use 4 byte alignment on DI for
32bit host.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35496
^ permalink raw reply [flat|nested] 28+ messages in thread
* [Bug target/35496] [4.4 Regression] test failures between revs. 132950 and 132974
2008-03-07 13:37 [Bug target/35496] New: [4.4 Regression] test failures between revs. 132950 and 132974 dominiq at lps dot ens dot fr
2008-03-08 17:11 ` [Bug target/35496] " dominiq at lps dot ens dot fr
@ 2008-03-08 17:40 ` hjl dot tools at gmail dot com
2008-03-08 17:42 ` hjl dot tools at gmail dot com
` (24 subsequent siblings)
26 siblings, 0 replies; 28+ messages in thread
From: hjl dot tools at gmail dot com @ 2008-03-08 17:40 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from hjl dot tools at gmail dot com 2008-03-08 17:39 -------
Created an attachment (id=15282)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15282&action=view)
A patch
Can you try this patch?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35496
^ permalink raw reply [flat|nested] 28+ messages in thread
* [Bug target/35496] [4.4 Regression] test failures between revs. 132950 and 132974
2008-03-07 13:37 [Bug target/35496] New: [4.4 Regression] test failures between revs. 132950 and 132974 dominiq at lps dot ens dot fr
2008-03-08 17:11 ` [Bug target/35496] " dominiq at lps dot ens dot fr
2008-03-08 17:40 ` hjl dot tools at gmail dot com
@ 2008-03-08 17:42 ` hjl dot tools at gmail dot com
2008-03-08 18:16 ` ubizjak at gmail dot com
` (23 subsequent siblings)
26 siblings, 0 replies; 28+ messages in thread
From: hjl dot tools at gmail dot com @ 2008-03-08 17:42 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from hjl dot tools at gmail dot com 2008-03-08 17:41 -------
Created an attachment (id=15283)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15283&action=view)
A real patch
Correct patch.
--
hjl dot tools at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #15282|0 |1
is obsolete| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35496
^ permalink raw reply [flat|nested] 28+ messages in thread
* [Bug target/35496] [4.4 Regression] test failures between revs. 132950 and 132974
2008-03-07 13:37 [Bug target/35496] New: [4.4 Regression] test failures between revs. 132950 and 132974 dominiq at lps dot ens dot fr
` (2 preceding siblings ...)
2008-03-08 17:42 ` hjl dot tools at gmail dot com
@ 2008-03-08 18:16 ` ubizjak at gmail dot com
2008-03-08 18:18 ` ubizjak at gmail dot com
` (22 subsequent siblings)
26 siblings, 0 replies; 28+ messages in thread
From: ubizjak at gmail dot com @ 2008-03-08 18:16 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from ubizjak at gmail dot com 2008-03-08 18:16 -------
(In reply to comment #0)
> FAIL: gfortran.dg/array_constructor_12.f90 -O3 -fomit-frame-pointer execution
> test
> FAIL: gfortran.dg/array_constructor_12.f90 -O3 -fomit-frame-pointer
> -funroll-loops execution test
> FAIL: gfortran.dg/array_constructor_12.f90 -O3 -fomit-frame-pointer
> -funroll-all-loops -finline-functions execution test
> FAIL: gfortran.dg/array_constructor_12.f90 -O3 -g execution test
>
> The failures of gfortran.dg/array_constructor_12.f90 result from a segmentation
> fault. All failures disappear with -m64. Between the two builds I have replaced
> the first patch (comment #3) for PR33642 by the second one (comment #4).
This is vectorizer in action. Note that -msse2 is the default for
i686-apple-darwin, and the testcase indeed fails with -O2 -msse2
-ftree-vectorize on linux too.
It looks like wrong assumption for DImode alignment in the vectorizer to me.
Confirmed on linux using "-O2 -msse2 -ftree-vectorize".
--
ubizjak at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2008-03-08 18:16:11
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35496
^ permalink raw reply [flat|nested] 28+ messages in thread
* [Bug target/35496] [4.4 Regression] test failures between revs. 132950 and 132974
2008-03-07 13:37 [Bug target/35496] New: [4.4 Regression] test failures between revs. 132950 and 132974 dominiq at lps dot ens dot fr
` (3 preceding siblings ...)
2008-03-08 18:16 ` ubizjak at gmail dot com
@ 2008-03-08 18:18 ` ubizjak at gmail dot com
2008-03-08 18:32 ` ubizjak at gmail dot com
` (21 subsequent siblings)
26 siblings, 0 replies; 28+ messages in thread
From: ubizjak at gmail dot com @ 2008-03-08 18:18 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from ubizjak at gmail dot com 2008-03-08 18:18 -------
(In reply to comment #3)
> Created an attachment (id=15283)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15283&action=view) [edit]
> A real patch
>
> Correct patch.
> -ADJUST_ALIGNMENT (DI, (TARGET_64BIT || TARGET_ALIGN_DOUBLE) ? 8 : 4);
> +ADJUST_ALIGNMENT (DI, (TARGET_64BIT
> + || TARGET_MACHO
> + || TARGET_ALIGN_DOUBLE) ? 8 : 4);
This failure is not darwin specific, so the fix is wrong. Please see Comment
#4.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35496
^ permalink raw reply [flat|nested] 28+ messages in thread
* [Bug target/35496] [4.4 Regression] test failures between revs. 132950 and 132974
2008-03-07 13:37 [Bug target/35496] New: [4.4 Regression] test failures between revs. 132950 and 132974 dominiq at lps dot ens dot fr
` (4 preceding siblings ...)
2008-03-08 18:18 ` ubizjak at gmail dot com
@ 2008-03-08 18:32 ` ubizjak at gmail dot com
2008-03-08 22:32 ` dominiq at lps dot ens dot fr
` (20 subsequent siblings)
26 siblings, 0 replies; 28+ messages in thread
From: ubizjak at gmail dot com @ 2008-03-08 18:32 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from ubizjak at gmail dot com 2008-03-08 18:31 -------
Segfault is here due to unaligned access:
...
movdqa .LC1, %xmm0
movdqa .LC2, %xmm2
...
.align 8
.LC1:
.long 2147483647
.long 0
.long -2147483647
.long 0
.align 8
.LC2:
.long 4
.long 0
.long 4
.long 0
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35496
^ permalink raw reply [flat|nested] 28+ messages in thread
* [Bug target/35496] [4.4 Regression] test failures between revs. 132950 and 132974
2008-03-07 13:37 [Bug target/35496] New: [4.4 Regression] test failures between revs. 132950 and 132974 dominiq at lps dot ens dot fr
` (5 preceding siblings ...)
2008-03-08 18:32 ` ubizjak at gmail dot com
@ 2008-03-08 22:32 ` dominiq at lps dot ens dot fr
2008-03-09 11:39 ` ubizjak at gmail dot com
` (19 subsequent siblings)
26 siblings, 0 replies; 28+ messages in thread
From: dominiq at lps dot ens dot fr @ 2008-03-08 22:32 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from dominiq at lps dot ens dot fr 2008-03-08 22:31 -------
Subject: Re: [4.4 Regression] test failures between revs.
132950 and 132974
> Can you try this patch?
For the record, the right patch works on intel-apple-darwin9
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35496
^ permalink raw reply [flat|nested] 28+ messages in thread
* [Bug target/35496] [4.4 Regression] test failures between revs. 132950 and 132974
2008-03-07 13:37 [Bug target/35496] New: [4.4 Regression] test failures between revs. 132950 and 132974 dominiq at lps dot ens dot fr
` (6 preceding siblings ...)
2008-03-08 22:32 ` dominiq at lps dot ens dot fr
@ 2008-03-09 11:39 ` ubizjak at gmail dot com
2008-03-09 13:39 ` uros at gcc dot gnu dot org
` (18 subsequent siblings)
26 siblings, 0 replies; 28+ messages in thread
From: ubizjak at gmail dot com @ 2008-03-09 11:39 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from ubizjak at gmail dot com 2008-03-09 11:39 -------
Patch in testing:
Index: i386.c
===================================================================
--- i386.c (revision 133051)
+++ i386.c (working copy)
@@ -16789,7 +16789,8 @@
int
ix86_constant_alignment (tree exp, int align)
{
- if (TREE_CODE (exp) == REAL_CST)
+ if (TREE_CODE (exp) == REAL_CST || TREE_CODE (exp) == VECTOR_CST
+ || TREE_CODE (exp) == INTEGER_CST)
{
if (TYPE_MODE (TREE_TYPE (exp)) == DFmode && align < 64)
return 64;
--
ubizjak at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |ubizjak at gmail dot com
|dot org |
Status|NEW |ASSIGNED
Last reconfirmed|2008-03-08 18:16:11 |2008-03-09 11:39:09
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35496
^ permalink raw reply [flat|nested] 28+ messages in thread
* [Bug target/35496] [4.4 Regression] test failures between revs. 132950 and 132974
2008-03-07 13:37 [Bug target/35496] New: [4.4 Regression] test failures between revs. 132950 and 132974 dominiq at lps dot ens dot fr
` (7 preceding siblings ...)
2008-03-09 11:39 ` ubizjak at gmail dot com
@ 2008-03-09 13:39 ` uros at gcc dot gnu dot org
2008-03-09 14:07 ` hjl dot tools at gmail dot com
` (17 subsequent siblings)
26 siblings, 0 replies; 28+ messages in thread
From: uros at gcc dot gnu dot org @ 2008-03-09 13:39 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from uros at gcc dot gnu dot org 2008-03-09 13:38 -------
Subject: Bug 35496
Author: uros
Date: Sun Mar 9 13:37:52 2008
New Revision: 133052
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133052
Log:
PR target/35496
* config/i386/i386.c (ix86_constant_algnment): Compute alignment using
ALIGN_MODE_128 for VECTOR_CST and INTEGER_CST in addition to REAL_CST.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/i386.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35496
^ permalink raw reply [flat|nested] 28+ messages in thread
* [Bug target/35496] [4.4 Regression] test failures between revs. 132950 and 132974
2008-03-07 13:37 [Bug target/35496] New: [4.4 Regression] test failures between revs. 132950 and 132974 dominiq at lps dot ens dot fr
` (8 preceding siblings ...)
2008-03-09 13:39 ` uros at gcc dot gnu dot org
@ 2008-03-09 14:07 ` hjl dot tools at gmail dot com
2008-03-09 17:10 ` ubizjak at gmail dot com
` (16 subsequent siblings)
26 siblings, 0 replies; 28+ messages in thread
From: hjl dot tools at gmail dot com @ 2008-03-09 14:07 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from hjl dot tools at gmail dot com 2008-03-09 14:06 -------
Can we add a few testcases for Linux/ia32?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35496
^ permalink raw reply [flat|nested] 28+ messages in thread
* [Bug target/35496] [4.4 Regression] test failures between revs. 132950 and 132974
2008-03-07 13:37 [Bug target/35496] New: [4.4 Regression] test failures between revs. 132950 and 132974 dominiq at lps dot ens dot fr
` (9 preceding siblings ...)
2008-03-09 14:07 ` hjl dot tools at gmail dot com
@ 2008-03-09 17:10 ` ubizjak at gmail dot com
2008-03-09 19:33 ` dominiq at lps dot ens dot fr
` (15 subsequent siblings)
26 siblings, 0 replies; 28+ messages in thread
From: ubizjak at gmail dot com @ 2008-03-09 17:10 UTC (permalink / raw)
To: gcc-bugs
------- Comment #11 from ubizjak at gmail dot com 2008-03-09 17:09 -------
(In reply to comment #10)
> Can we add a few testcases for Linux/ia32?
http://gcc.gnu.org/ml/gcc-patches/2008-03/msg00585.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35496
^ permalink raw reply [flat|nested] 28+ messages in thread
* [Bug target/35496] [4.4 Regression] test failures between revs. 132950 and 132974
2008-03-07 13:37 [Bug target/35496] New: [4.4 Regression] test failures between revs. 132950 and 132974 dominiq at lps dot ens dot fr
` (10 preceding siblings ...)
2008-03-09 17:10 ` ubizjak at gmail dot com
@ 2008-03-09 19:33 ` dominiq at lps dot ens dot fr
2008-03-09 21:26 ` ubizjak at gmail dot com
` (14 subsequent siblings)
26 siblings, 0 replies; 28+ messages in thread
From: dominiq at lps dot ens dot fr @ 2008-03-09 19:33 UTC (permalink / raw)
To: gcc-bugs
------- Comment #12 from dominiq at lps dot ens dot fr 2008-03-09 19:32 -------
On i686-apple-darwin9 the commited patch of comment #8 fixes the failure for
gfortran.dg/array_constructor_12.f90 -O3, but not the failures for
gcc.dg/bf-ms-layout*.c which require the patch from comment #5.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35496
^ permalink raw reply [flat|nested] 28+ messages in thread
* [Bug target/35496] [4.4 Regression] test failures between revs. 132950 and 132974
2008-03-07 13:37 [Bug target/35496] New: [4.4 Regression] test failures between revs. 132950 and 132974 dominiq at lps dot ens dot fr
` (11 preceding siblings ...)
2008-03-09 19:33 ` dominiq at lps dot ens dot fr
@ 2008-03-09 21:26 ` ubizjak at gmail dot com
2008-03-09 21:49 ` hjl dot tools at gmail dot com
` (13 subsequent siblings)
26 siblings, 0 replies; 28+ messages in thread
From: ubizjak at gmail dot com @ 2008-03-09 21:26 UTC (permalink / raw)
To: gcc-bugs
------- Comment #13 from ubizjak at gmail dot com 2008-03-09 21:26 -------
(In reply to comment #12)
> On i686-apple-darwin9 the commited patch of comment #8 fixes the failure for
> gfortran.dg/array_constructor_12.f90 -O3, but not the failures for
> gcc.dg/bf-ms-layout*.c which require the patch from comment #5.
The patch from Comment #5 disables alignment optimization for darwin. FWIW,
these tests fail on x86_64-linux* and i686-linux*, and the failure is probably
connected with PR 27948.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35496
^ permalink raw reply [flat|nested] 28+ messages in thread
* [Bug target/35496] [4.4 Regression] test failures between revs. 132950 and 132974
2008-03-07 13:37 [Bug target/35496] New: [4.4 Regression] test failures between revs. 132950 and 132974 dominiq at lps dot ens dot fr
` (12 preceding siblings ...)
2008-03-09 21:26 ` ubizjak at gmail dot com
@ 2008-03-09 21:49 ` hjl dot tools at gmail dot com
2008-03-09 21:55 ` hjl dot tools at gmail dot com
` (12 subsequent siblings)
26 siblings, 0 replies; 28+ messages in thread
From: hjl dot tools at gmail dot com @ 2008-03-09 21:49 UTC (permalink / raw)
To: gcc-bugs
------- Comment #14 from hjl dot tools at gmail dot com 2008-03-09 21:48 -------
Does MS bitfield struct require 8byte alignment for long long field
for 32bit target?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35496
^ permalink raw reply [flat|nested] 28+ messages in thread
* [Bug target/35496] [4.4 Regression] test failures between revs. 132950 and 132974
2008-03-07 13:37 [Bug target/35496] New: [4.4 Regression] test failures between revs. 132950 and 132974 dominiq at lps dot ens dot fr
` (13 preceding siblings ...)
2008-03-09 21:49 ` hjl dot tools at gmail dot com
@ 2008-03-09 21:55 ` hjl dot tools at gmail dot com
2008-03-10 12:49 ` ubizjak at gmail dot com
` (11 subsequent siblings)
26 siblings, 0 replies; 28+ messages in thread
From: hjl dot tools at gmail dot com @ 2008-03-09 21:55 UTC (permalink / raw)
To: gcc-bugs
------- Comment #15 from hjl dot tools at gmail dot com 2008-03-09 21:54 -------
We may need to update ADJUST_FIELD_ALIGN to support MS-bitfield.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35496
^ permalink raw reply [flat|nested] 28+ messages in thread
* [Bug target/35496] [4.4 Regression] test failures between revs. 132950 and 132974
2008-03-07 13:37 [Bug target/35496] New: [4.4 Regression] test failures between revs. 132950 and 132974 dominiq at lps dot ens dot fr
` (14 preceding siblings ...)
2008-03-09 21:55 ` hjl dot tools at gmail dot com
@ 2008-03-10 12:49 ` ubizjak at gmail dot com
2008-03-10 13:15 ` ubizjak at gmail dot com
` (10 subsequent siblings)
26 siblings, 0 replies; 28+ messages in thread
From: ubizjak at gmail dot com @ 2008-03-10 12:49 UTC (permalink / raw)
To: gcc-bugs
------- Comment #16 from ubizjak at gmail dot com 2008-03-10 12:48 -------
(In reply to comment #14)
> Does MS bitfield struct require 8byte alignment for long long field
> for 32bit target?
Can you try following patch (this will aling DImode values to their natural
alignment - if bigger than default alignment - when MS bitfield is used):
Index: stor-layout.c
===================================================================
--- stor-layout.c (revision 133071)
+++ stor-layout.c (working copy)
@@ -699,6 +699,9 @@ update_alignment_for_field (record_layou
&& ! integer_zerop (DECL_SIZE (rli->prev_field)))))
{
unsigned int type_align = TYPE_ALIGN (type);
+ unsigned int type_size
+ = tree_low_cst (TYPE_SIZE_UNIT (type), 1) * BITS_PER_UNIT;
+ type_align = MAX (type_align, type_size);
type_align = MAX (type_align, desired_align);
if (maximum_field_alignment != 0)
type_align = MIN (type_align, maximum_field_alignment);
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35496
^ permalink raw reply [flat|nested] 28+ messages in thread
* [Bug target/35496] [4.4 Regression] test failures between revs. 132950 and 132974
2008-03-07 13:37 [Bug target/35496] New: [4.4 Regression] test failures between revs. 132950 and 132974 dominiq at lps dot ens dot fr
` (15 preceding siblings ...)
2008-03-10 12:49 ` ubizjak at gmail dot com
@ 2008-03-10 13:15 ` ubizjak at gmail dot com
2008-03-10 14:15 ` uros at gcc dot gnu dot org
` (9 subsequent siblings)
26 siblings, 0 replies; 28+ messages in thread
From: ubizjak at gmail dot com @ 2008-03-10 13:15 UTC (permalink / raw)
To: gcc-bugs
------- Comment #17 from ubizjak at gmail dot com 2008-03-10 13:15 -------
(In reply to comment #16)
> (In reply to comment #14)
> > Does MS bitfield struct require 8byte alignment for long long field
> > for 32bit target?
>
> Can you try following patch (this will aling DImode values to their natural
> alignment - if bigger than default alignment - when MS bitfield is used):
Ah, we can use:
+ unsigned int type_size
+ = tree_low_cst (TYPE_SIZE (type), 1);
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35496
^ permalink raw reply [flat|nested] 28+ messages in thread
* [Bug target/35496] [4.4 Regression] test failures between revs. 132950 and 132974
2008-03-07 13:37 [Bug target/35496] New: [4.4 Regression] test failures between revs. 132950 and 132974 dominiq at lps dot ens dot fr
` (16 preceding siblings ...)
2008-03-10 13:15 ` ubizjak at gmail dot com
@ 2008-03-10 14:15 ` uros at gcc dot gnu dot org
2008-03-10 14:16 ` dominiq at lps dot ens dot fr
` (8 subsequent siblings)
26 siblings, 0 replies; 28+ messages in thread
From: uros at gcc dot gnu dot org @ 2008-03-10 14:15 UTC (permalink / raw)
To: gcc-bugs
------- Comment #18 from uros at gcc dot gnu dot org 2008-03-10 14:14 -------
Subject: Bug 35496
Author: uros
Date: Mon Mar 10 14:13:40 2008
New Revision: 133079
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133079
Log:
Backport from mainline:
2008-03-09 Uros Bizjak <ubizjak@gmail.com>
PR target/35496
* config/i386/i386.c (ix86_constant_alignment): Compute alignment using
ALIGN_MODE_128 for VECTOR_CST and INTEGER_CST in addition to REAL_CST.
2008-03-04 Uros Bizjak <ubizjak@gmail.com>
PR middle-end/35456
* fold-const.c (fold_cond_expr_with_comparison): Prevent
transformations for modes that have signed zeros.
* ifcvt.c (noce_try_abs): Ditto.
testsuite/ChangeLog:
Backport from mainline:
2008-03-04 Uros Bizjak <ubizjak@gmail.com>
PR middle-end/35456
* gcc.c-torture/execute/pr35456.c: New test.
Added:
branches/gcc-4_3-branch/gcc/testsuite/gcc.c-torture/execute/pr35456.c
Modified:
branches/gcc-4_3-branch/gcc/ChangeLog
branches/gcc-4_3-branch/gcc/config/i386/i386.c
branches/gcc-4_3-branch/gcc/fold-const.c
branches/gcc-4_3-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35496
^ permalink raw reply [flat|nested] 28+ messages in thread
* [Bug target/35496] [4.4 Regression] test failures between revs. 132950 and 132974
2008-03-07 13:37 [Bug target/35496] New: [4.4 Regression] test failures between revs. 132950 and 132974 dominiq at lps dot ens dot fr
` (17 preceding siblings ...)
2008-03-10 14:15 ` uros at gcc dot gnu dot org
@ 2008-03-10 14:16 ` dominiq at lps dot ens dot fr
2008-03-10 20:46 ` dominiq at lps dot ens dot fr
` (7 subsequent siblings)
26 siblings, 0 replies; 28+ messages in thread
From: dominiq at lps dot ens dot fr @ 2008-03-10 14:16 UTC (permalink / raw)
To: gcc-bugs
------- Comment #19 from dominiq at lps dot ens dot fr 2008-03-10 14:15 -------
Subject: Re: [4.4 Regression] test failures between revs.
132950 and 132974
> Can you try following patch ...
Both variants work for bf-ms-layout*.c, starting regtest ASAP.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35496
^ permalink raw reply [flat|nested] 28+ messages in thread
* [Bug target/35496] [4.4 Regression] test failures between revs. 132950 and 132974
2008-03-07 13:37 [Bug target/35496] New: [4.4 Regression] test failures between revs. 132950 and 132974 dominiq at lps dot ens dot fr
` (18 preceding siblings ...)
2008-03-10 14:16 ` dominiq at lps dot ens dot fr
@ 2008-03-10 20:46 ` dominiq at lps dot ens dot fr
2008-03-11 11:54 ` pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
26 siblings, 0 replies; 28+ messages in thread
From: dominiq at lps dot ens dot fr @ 2008-03-10 20:46 UTC (permalink / raw)
To: gcc-bugs
------- Comment #20 from dominiq at lps dot ens dot fr 2008-03-10 20:45 -------
On i686-apple-darwin9 regtested without regression with the patch of comment
#17.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35496
^ permalink raw reply [flat|nested] 28+ messages in thread
* [Bug target/35496] [4.4 Regression] test failures between revs. 132950 and 132974
2008-03-07 13:37 [Bug target/35496] New: [4.4 Regression] test failures between revs. 132950 and 132974 dominiq at lps dot ens dot fr
` (19 preceding siblings ...)
2008-03-10 20:46 ` dominiq at lps dot ens dot fr
@ 2008-03-11 11:54 ` pinskia at gcc dot gnu dot org
2008-03-15 19:18 ` rguenth at gcc dot gnu dot org
` (5 subsequent siblings)
26 siblings, 0 replies; 28+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-03-11 11:54 UTC (permalink / raw)
To: gcc-bugs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
Severity|normal |critical
Target Milestone|--- |4.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35496
^ permalink raw reply [flat|nested] 28+ messages in thread
* [Bug target/35496] [4.4 Regression] test failures between revs. 132950 and 132974
2008-03-07 13:37 [Bug target/35496] New: [4.4 Regression] test failures between revs. 132950 and 132974 dominiq at lps dot ens dot fr
` (20 preceding siblings ...)
2008-03-11 11:54 ` pinskia at gcc dot gnu dot org
@ 2008-03-15 19:18 ` rguenth at gcc dot gnu dot org
2008-03-19 14:51 ` uros at gcc dot gnu dot org
` (4 subsequent siblings)
26 siblings, 0 replies; 28+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-03-15 19:18 UTC (permalink / raw)
To: gcc-bugs
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |wrong-code
Priority|P3 |P1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35496
^ permalink raw reply [flat|nested] 28+ messages in thread
* [Bug target/35496] [4.4 Regression] test failures between revs. 132950 and 132974
2008-03-07 13:37 [Bug target/35496] New: [4.4 Regression] test failures between revs. 132950 and 132974 dominiq at lps dot ens dot fr
` (21 preceding siblings ...)
2008-03-15 19:18 ` rguenth at gcc dot gnu dot org
@ 2008-03-19 14:51 ` uros at gcc dot gnu dot org
2008-03-19 14:58 ` ubizjak at gmail dot com
` (3 subsequent siblings)
26 siblings, 0 replies; 28+ messages in thread
From: uros at gcc dot gnu dot org @ 2008-03-19 14:51 UTC (permalink / raw)
To: gcc-bugs
------- Comment #21 from uros at gcc dot gnu dot org 2008-03-19 14:51 -------
Subject: Bug 35496
Author: uros
Date: Wed Mar 19 14:50:15 2008
New Revision: 133343
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133343
Log:
PR target/35496
* stor-layout.c (update_alignment_for_field): Set minimum alignment
of the underlying type of a MS bitfield layout to the natural
alignment of the type.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/stor-layout.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35496
^ permalink raw reply [flat|nested] 28+ messages in thread
* [Bug target/35496] [4.4 Regression] test failures between revs. 132950 and 132974
2008-03-07 13:37 [Bug target/35496] New: [4.4 Regression] test failures between revs. 132950 and 132974 dominiq at lps dot ens dot fr
` (22 preceding siblings ...)
2008-03-19 14:51 ` uros at gcc dot gnu dot org
@ 2008-03-19 14:58 ` ubizjak at gmail dot com
2008-03-23 0:03 ` kkojima at gcc dot gnu dot org
` (2 subsequent siblings)
26 siblings, 0 replies; 28+ messages in thread
From: ubizjak at gmail dot com @ 2008-03-19 14:58 UTC (permalink / raw)
To: gcc-bugs
------- Comment #22 from ubizjak at gmail dot com 2008-03-19 14:57 -------
Fixed.
--
ubizjak at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35496
^ permalink raw reply [flat|nested] 28+ messages in thread
* [Bug target/35496] [4.4 Regression] test failures between revs. 132950 and 132974
2008-03-07 13:37 [Bug target/35496] New: [4.4 Regression] test failures between revs. 132950 and 132974 dominiq at lps dot ens dot fr
` (23 preceding siblings ...)
2008-03-19 14:58 ` ubizjak at gmail dot com
@ 2008-03-23 0:03 ` kkojima at gcc dot gnu dot org
2008-03-23 12:09 ` uros at gcc dot gnu dot org
2008-03-23 20:52 ` hjl at gcc dot gnu dot org
26 siblings, 0 replies; 28+ messages in thread
From: kkojima at gcc dot gnu dot org @ 2008-03-23 0:03 UTC (permalink / raw)
To: gcc-bugs
------- Comment #23 from kkojima at gcc dot gnu dot org 2008-03-23 00:03 -------
It seems that the patch of #21 causes a segfault of cc1 for
the testcase below with -mms-bitfields on i686-pc-linux-gnu.
struct foo
{
unsigned int i;
unsigned char a[];
};
--
kkojima at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kkojima at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35496
^ permalink raw reply [flat|nested] 28+ messages in thread
* [Bug target/35496] [4.4 Regression] test failures between revs. 132950 and 132974
2008-03-07 13:37 [Bug target/35496] New: [4.4 Regression] test failures between revs. 132950 and 132974 dominiq at lps dot ens dot fr
` (24 preceding siblings ...)
2008-03-23 0:03 ` kkojima at gcc dot gnu dot org
@ 2008-03-23 12:09 ` uros at gcc dot gnu dot org
2008-03-23 20:52 ` hjl at gcc dot gnu dot org
26 siblings, 0 replies; 28+ messages in thread
From: uros at gcc dot gnu dot org @ 2008-03-23 12:09 UTC (permalink / raw)
To: gcc-bugs
------- Comment #24 from uros at gcc dot gnu dot org 2008-03-23 12:08 -------
Subject: Bug 35496
Author: uros
Date: Sun Mar 23 12:07:34 2008
New Revision: 133461
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133461
Log:
Revert:
2008-03-05 H.J. Lu <hongjiu.lu@intel.com>
* config/i386/i386-modes.def: Use 4 byte alignment on DI for
32bit host.
2008-03-19 Uros Bizjak <ubizjak@gmail.com>
PR target/35496
* stor-layout.c (update_alignment_for_field): Set minimum alignment
of the underlying type of a MS bitfield layout to the natural
alignment of the type.
2008-03-22 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386.c (assign_386_stack_local): Align DImode slots
to their natural alignment to avoid store forwarding stalls.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/i386-modes.def
trunk/gcc/config/i386/i386.c
trunk/gcc/stor-layout.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35496
^ permalink raw reply [flat|nested] 28+ messages in thread
* [Bug target/35496] [4.4 Regression] test failures between revs. 132950 and 132974
2008-03-07 13:37 [Bug target/35496] New: [4.4 Regression] test failures between revs. 132950 and 132974 dominiq at lps dot ens dot fr
` (25 preceding siblings ...)
2008-03-23 12:09 ` uros at gcc dot gnu dot org
@ 2008-03-23 20:52 ` hjl at gcc dot gnu dot org
26 siblings, 0 replies; 28+ messages in thread
From: hjl at gcc dot gnu dot org @ 2008-03-23 20:52 UTC (permalink / raw)
To: gcc-bugs
------- Comment #25 from hjl at gcc dot gnu dot org 2008-03-23 20:52 -------
Subject: Bug 35496
Author: hjl
Date: Sun Mar 23 20:51:29 2008
New Revision: 133466
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133466
Log:
2008-03-23 Uros Bizjak <ubizjak@gmail.com>
Revert:
2008-03-05 H.J. Lu <hongjiu.lu@intel.com>
* config/i386/i386-modes.def: Use 4 byte alignment on DI for
32bit host.
2008-03-19 Uros Bizjak <ubizjak@gmail.com>
PR target/35496
* stor-layout.c (update_alignment_for_field): Set minimum alignment
of the underlying type of a MS bitfield layout to the natural
alignment of the type.
Modified:
branches/stack/gcc/ChangeLog.stackalign
branches/stack/gcc/config/i386/i386-modes.def
branches/stack/gcc/stor-layout.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35496
^ permalink raw reply [flat|nested] 28+ messages in thread
end of thread, other threads:[~2008-03-23 20:52 UTC | newest]
Thread overview: 28+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-07 13:37 [Bug target/35496] New: [4.4 Regression] test failures between revs. 132950 and 132974 dominiq at lps dot ens dot fr
2008-03-08 17:11 ` [Bug target/35496] " dominiq at lps dot ens dot fr
2008-03-08 17:40 ` hjl dot tools at gmail dot com
2008-03-08 17:42 ` hjl dot tools at gmail dot com
2008-03-08 18:16 ` ubizjak at gmail dot com
2008-03-08 18:18 ` ubizjak at gmail dot com
2008-03-08 18:32 ` ubizjak at gmail dot com
2008-03-08 22:32 ` dominiq at lps dot ens dot fr
2008-03-09 11:39 ` ubizjak at gmail dot com
2008-03-09 13:39 ` uros at gcc dot gnu dot org
2008-03-09 14:07 ` hjl dot tools at gmail dot com
2008-03-09 17:10 ` ubizjak at gmail dot com
2008-03-09 19:33 ` dominiq at lps dot ens dot fr
2008-03-09 21:26 ` ubizjak at gmail dot com
2008-03-09 21:49 ` hjl dot tools at gmail dot com
2008-03-09 21:55 ` hjl dot tools at gmail dot com
2008-03-10 12:49 ` ubizjak at gmail dot com
2008-03-10 13:15 ` ubizjak at gmail dot com
2008-03-10 14:15 ` uros at gcc dot gnu dot org
2008-03-10 14:16 ` dominiq at lps dot ens dot fr
2008-03-10 20:46 ` dominiq at lps dot ens dot fr
2008-03-11 11:54 ` pinskia at gcc dot gnu dot org
2008-03-15 19:18 ` rguenth at gcc dot gnu dot org
2008-03-19 14:51 ` uros at gcc dot gnu dot org
2008-03-19 14:58 ` ubizjak at gmail dot com
2008-03-23 0:03 ` kkojima at gcc dot gnu dot org
2008-03-23 12:09 ` uros at gcc dot gnu dot org
2008-03-23 20:52 ` hjl at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).