public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/27421] New: [4.0/4.1/4.2 regression] ICE with invalid array in struct
@ 2006-05-04 15:05 reichelt at gcc dot gnu dot org
2006-05-04 15:27 ` [Bug c/27421] " pinskia at gcc dot gnu dot org
` (20 more replies)
0 siblings, 21 replies; 22+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-05-04 15:05 UTC (permalink / raw)
To: gcc-bugs
The C frontend ICEs on the following invalid code snippet:
==============================
struct A
{
int i;
void x[1];
};
void foo(struct A a) {}
==============================
bug.c:4: error: declaration of 'x' as array of voids
bug.c: In function 'foo':
bug.c:7: internal compiler error: tree check: expected class 'type', have
'exceptional' (error_mark) in classify_argument, at config/i386/i386.c:2979
Please submit a full bug report, [etc.]
The ICE happens since GCC 3.1 and in GCC 2.95.3.
In GCC 3.0.x we did not ICE.
--
Summary: [4.0/4.1/4.2 regression] ICE with invalid array in
struct
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Keywords: ice-on-invalid-code, error-recovery, monitored
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: reichelt at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27421
^ permalink raw reply [flat|nested] 22+ messages in thread
* [Bug c/27421] [4.0/4.1/4.2 regression] ICE with invalid array in struct
2006-05-04 15:05 [Bug c/27421] New: [4.0/4.1/4.2 regression] ICE with invalid array in struct reichelt at gcc dot gnu dot org
@ 2006-05-04 15:27 ` pinskia at gcc dot gnu dot org
2006-05-05 0:58 ` [Bug target/27421] " reichelt at gcc dot gnu dot org
` (19 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-05-04 15:27 UTC (permalink / raw)
To: gcc-bugs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.0.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27421
^ permalink raw reply [flat|nested] 22+ messages in thread
* [Bug target/27421] [4.0/4.1/4.2 regression] ICE with invalid array in struct
2006-05-04 15:05 [Bug c/27421] New: [4.0/4.1/4.2 regression] ICE with invalid array in struct reichelt at gcc dot gnu dot org
2006-05-04 15:27 ` [Bug c/27421] " pinskia at gcc dot gnu dot org
@ 2006-05-05 0:58 ` reichelt at gcc dot gnu dot org
2006-05-05 1:02 ` pinskia at gcc dot gnu dot org
` (18 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-05-05 0:58 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from reichelt at gcc dot gnu dot org 2006-05-05 00:58 -------
This is target-specific. Doesn't happen on i686-pc-linux-gnu.
--
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|c |target
GCC build triplet| |x86_64-unknown-linux-gnu
GCC host triplet| |x86_64-unknown-linux-gnu
GCC target triplet| |x86_64-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27421
^ permalink raw reply [flat|nested] 22+ messages in thread
* [Bug target/27421] [4.0/4.1/4.2 regression] ICE with invalid array in struct
2006-05-04 15:05 [Bug c/27421] New: [4.0/4.1/4.2 regression] ICE with invalid array in struct reichelt at gcc dot gnu dot org
2006-05-04 15:27 ` [Bug c/27421] " pinskia at gcc dot gnu dot org
2006-05-05 0:58 ` [Bug target/27421] " reichelt at gcc dot gnu dot org
@ 2006-05-05 1:02 ` pinskia at gcc dot gnu dot org
2006-05-05 20:01 ` reichelt at gcc dot gnu dot org
` (17 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-05-05 1:02 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from pinskia at gcc dot gnu dot org 2006-05-05 01:02 -------
This looks like the same issue as PR 24672.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
OtherBugsDependingO| |24672
nThis| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27421
^ permalink raw reply [flat|nested] 22+ messages in thread
* [Bug target/27421] [4.0/4.1/4.2 regression] ICE with invalid array in struct
2006-05-04 15:05 [Bug c/27421] New: [4.0/4.1/4.2 regression] ICE with invalid array in struct reichelt at gcc dot gnu dot org
` (2 preceding siblings ...)
2006-05-05 1:02 ` pinskia at gcc dot gnu dot org
@ 2006-05-05 20:01 ` reichelt at gcc dot gnu dot org
2006-05-06 0:55 ` patchapp at dberlin dot org
` (16 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-05-05 20:01 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from reichelt at gcc dot gnu dot org 2006-05-05 20:01 -------
It's indeed the same issue as PR 24672.
I knew there was a similar problem, but I couldn't find it.
Testing a patch.
--
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |reichelt at gcc dot gnu dot
|dot org |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27421
^ permalink raw reply [flat|nested] 22+ messages in thread
* [Bug target/27421] [4.0/4.1/4.2 regression] ICE with invalid array in struct
2006-05-04 15:05 [Bug c/27421] New: [4.0/4.1/4.2 regression] ICE with invalid array in struct reichelt at gcc dot gnu dot org
` (3 preceding siblings ...)
2006-05-05 20:01 ` reichelt at gcc dot gnu dot org
@ 2006-05-06 0:55 ` patchapp at dberlin dot org
2006-05-07 3:14 ` pinskia at gcc dot gnu dot org
` (15 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: patchapp at dberlin dot org @ 2006-05-06 0:55 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from patchapp at dberlin dot org 2006-05-06 00:54 -------
Subject: Bug number PR target/27421
A patch for this bug has been added to the patch tracker.
The mailing list url for the patch is
http://gcc.gnu.org/ml/gcc-patches/2006-05/msg00244.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27421
^ permalink raw reply [flat|nested] 22+ messages in thread
* [Bug target/27421] [4.0/4.1/4.2 regression] ICE with invalid array in struct
2006-05-04 15:05 [Bug c/27421] New: [4.0/4.1/4.2 regression] ICE with invalid array in struct reichelt at gcc dot gnu dot org
` (4 preceding siblings ...)
2006-05-06 0:55 ` patchapp at dberlin dot org
@ 2006-05-07 3:14 ` pinskia at gcc dot gnu dot org
2006-05-07 21:15 ` reichelt at gcc dot gnu dot org
` (14 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-05-07 3:14 UTC (permalink / raw)
To: gcc-bugs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2006-05-07 03:13:58
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27421
^ permalink raw reply [flat|nested] 22+ messages in thread
* [Bug target/27421] [4.0/4.1/4.2 regression] ICE with invalid array in struct
2006-05-04 15:05 [Bug c/27421] New: [4.0/4.1/4.2 regression] ICE with invalid array in struct reichelt at gcc dot gnu dot org
` (5 preceding siblings ...)
2006-05-07 3:14 ` pinskia at gcc dot gnu dot org
@ 2006-05-07 21:15 ` reichelt at gcc dot gnu dot org
2006-05-07 21:17 ` [Bug target/27421] [4.0/4.1 " reichelt at gcc dot gnu dot org
` (13 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-05-07 21:15 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from reichelt at gcc dot gnu dot org 2006-05-07 21:15 -------
Subject: Bug 27421
Author: reichelt
Date: Sun May 7 21:15:33 2006
New Revision: 113609
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113609
Log:
PR target/27421
* config/i386/i386.c (classify_argument): Skip fields with invalid
types.
* gcc.dg/array-9.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/array-9.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/i386.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27421
^ permalink raw reply [flat|nested] 22+ messages in thread
* [Bug target/27421] [4.0/4.1 regression] ICE with invalid array in struct
2006-05-04 15:05 [Bug c/27421] New: [4.0/4.1/4.2 regression] ICE with invalid array in struct reichelt at gcc dot gnu dot org
` (6 preceding siblings ...)
2006-05-07 21:15 ` reichelt at gcc dot gnu dot org
@ 2006-05-07 21:17 ` reichelt at gcc dot gnu dot org
2006-05-07 21:22 ` reichelt at gcc dot gnu dot org
` (12 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-05-07 21:17 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from reichelt at gcc dot gnu dot org 2006-05-07 21:17 -------
Fixed on mainline.
--
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[4.0/4.1/4.2 regression] ICE|[4.0/4.1 regression] ICE
|with invalid array in struct|with invalid array in struct
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27421
^ permalink raw reply [flat|nested] 22+ messages in thread
* [Bug target/27421] [4.0/4.1 regression] ICE with invalid array in struct
2006-05-04 15:05 [Bug c/27421] New: [4.0/4.1/4.2 regression] ICE with invalid array in struct reichelt at gcc dot gnu dot org
` (7 preceding siblings ...)
2006-05-07 21:17 ` [Bug target/27421] [4.0/4.1 " reichelt at gcc dot gnu dot org
@ 2006-05-07 21:22 ` reichelt at gcc dot gnu dot org
2006-05-11 16:32 ` reichelt at gcc dot gnu dot org
` (11 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-05-07 21:22 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from reichelt at gcc dot gnu dot org 2006-05-07 21:22 -------
*** Bug 24672 has been marked as a duplicate of this bug. ***
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27421
^ permalink raw reply [flat|nested] 22+ messages in thread
* [Bug target/27421] [4.0/4.1 regression] ICE with invalid array in struct
2006-05-04 15:05 [Bug c/27421] New: [4.0/4.1/4.2 regression] ICE with invalid array in struct reichelt at gcc dot gnu dot org
` (8 preceding siblings ...)
2006-05-07 21:22 ` reichelt at gcc dot gnu dot org
@ 2006-05-11 16:32 ` reichelt at gcc dot gnu dot org
2006-05-11 16:35 ` reichelt at gcc dot gnu dot org
` (10 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-05-11 16:32 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from reichelt at gcc dot gnu dot org 2006-05-11 16:32 -------
Subject: Bug 27421
Author: reichelt
Date: Thu May 11 16:32:20 2006
New Revision: 113705
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113705
Log:
PR target/27421
* config/i386/i386.c (classify_argument): Skip fields with invalid
types.
* gcc.dg/array-9.c: New test.
Added:
branches/gcc-4_1-branch/gcc/testsuite/gcc.dg/array-9.c
Modified:
branches/gcc-4_1-branch/gcc/ChangeLog
branches/gcc-4_1-branch/gcc/config/i386/i386.c
branches/gcc-4_1-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27421
^ permalink raw reply [flat|nested] 22+ messages in thread
* [Bug target/27421] [4.0/4.1 regression] ICE with invalid array in struct
2006-05-04 15:05 [Bug c/27421] New: [4.0/4.1/4.2 regression] ICE with invalid array in struct reichelt at gcc dot gnu dot org
` (9 preceding siblings ...)
2006-05-11 16:32 ` reichelt at gcc dot gnu dot org
@ 2006-05-11 16:35 ` reichelt at gcc dot gnu dot org
2006-05-11 16:35 ` reichelt at gcc dot gnu dot org
` (9 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-05-11 16:35 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from reichelt at gcc dot gnu dot org 2006-05-11 16:35 -------
Now also fixed on 4.1 branch and 4.0 branch.
--
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27421
^ permalink raw reply [flat|nested] 22+ messages in thread
* [Bug target/27421] [4.0/4.1 regression] ICE with invalid array in struct
2006-05-04 15:05 [Bug c/27421] New: [4.0/4.1/4.2 regression] ICE with invalid array in struct reichelt at gcc dot gnu dot org
` (10 preceding siblings ...)
2006-05-11 16:35 ` reichelt at gcc dot gnu dot org
@ 2006-05-11 16:35 ` reichelt at gcc dot gnu dot org
2006-05-15 19:35 ` patchapp at dberlin dot org
` (8 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-05-11 16:35 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from reichelt at gcc dot gnu dot org 2006-05-11 16:34 -------
Subject: Bug 27421
Author: reichelt
Date: Thu May 11 16:34:39 2006
New Revision: 113706
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113706
Log:
PR target/27421
* config/i386/i386.c (classify_argument): Skip fields with invalid
types.
* gcc.dg/array-9.c: New test.
Added:
branches/gcc-4_0-branch/gcc/testsuite/gcc.dg/array-9.c
Modified:
branches/gcc-4_0-branch/gcc/ChangeLog
branches/gcc-4_0-branch/gcc/config/i386/i386.c
branches/gcc-4_0-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27421
^ permalink raw reply [flat|nested] 22+ messages in thread
* [Bug target/27421] [4.0/4.1 regression] ICE with invalid array in struct
2006-05-04 15:05 [Bug c/27421] New: [4.0/4.1/4.2 regression] ICE with invalid array in struct reichelt at gcc dot gnu dot org
` (11 preceding siblings ...)
2006-05-11 16:35 ` reichelt at gcc dot gnu dot org
@ 2006-05-15 19:35 ` patchapp at dberlin dot org
2006-06-08 10:16 ` patchapp at dberlin dot org
` (7 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: patchapp at dberlin dot org @ 2006-05-15 19:35 UTC (permalink / raw)
To: gcc-bugs
------- Comment #11 from patchapp at dberlin dot org 2006-05-15 19:35 -------
Subject: Bug number PR target/27421
A patch for this bug has been added to the patch tracker.
The mailing list url for the patch is
http://gcc.gnu.org/ml/gcc-patches/2006-05/msg00244.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27421
^ permalink raw reply [flat|nested] 22+ messages in thread
* [Bug target/27421] [4.0/4.1 regression] ICE with invalid array in struct
2006-05-04 15:05 [Bug c/27421] New: [4.0/4.1/4.2 regression] ICE with invalid array in struct reichelt at gcc dot gnu dot org
` (12 preceding siblings ...)
2006-05-15 19:35 ` patchapp at dberlin dot org
@ 2006-06-08 10:16 ` patchapp at dberlin dot org
2006-06-08 10:23 ` reichelt at gcc dot gnu dot org
` (6 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: patchapp at dberlin dot org @ 2006-06-08 10:16 UTC (permalink / raw)
To: gcc-bugs
------- Comment #12 from patchapp at dberlin dot org 2006-06-08 10:10 -------
Subject: Bug number PR target/27421
A patch for this bug has been added to the patch tracker.
The mailing list url for the patch is
http://gcc.gnu.org/ml/gcc-patches/2006-06/msg00387.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27421
^ permalink raw reply [flat|nested] 22+ messages in thread
* [Bug target/27421] [4.0/4.1 regression] ICE with invalid array in struct
2006-05-04 15:05 [Bug c/27421] New: [4.0/4.1/4.2 regression] ICE with invalid array in struct reichelt at gcc dot gnu dot org
` (13 preceding siblings ...)
2006-06-08 10:16 ` patchapp at dberlin dot org
@ 2006-06-08 10:23 ` reichelt at gcc dot gnu dot org
2006-06-08 10:29 ` reichelt at gcc dot gnu dot org
` (5 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-06-08 10:23 UTC (permalink / raw)
To: gcc-bugs
------- Comment #13 from reichelt at gcc dot gnu dot org 2006-06-08 10:23 -------
We do have the same problem with unions.
See patch in comment #12.
--
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27421
^ permalink raw reply [flat|nested] 22+ messages in thread
* [Bug target/27421] [4.0/4.1 regression] ICE with invalid array in struct
2006-05-04 15:05 [Bug c/27421] New: [4.0/4.1/4.2 regression] ICE with invalid array in struct reichelt at gcc dot gnu dot org
` (14 preceding siblings ...)
2006-06-08 10:23 ` reichelt at gcc dot gnu dot org
@ 2006-06-08 10:29 ` reichelt at gcc dot gnu dot org
2006-06-08 20:53 ` reichelt at gcc dot gnu dot org
` (4 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-06-08 10:29 UTC (permalink / raw)
To: gcc-bugs
--
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |ASSIGNED
Last reconfirmed|2006-05-07 03:13:58 |2006-06-08 10:23:41
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27421
^ permalink raw reply [flat|nested] 22+ messages in thread
* [Bug target/27421] [4.0/4.1 regression] ICE with invalid array in struct
2006-05-04 15:05 [Bug c/27421] New: [4.0/4.1/4.2 regression] ICE with invalid array in struct reichelt at gcc dot gnu dot org
` (15 preceding siblings ...)
2006-06-08 10:29 ` reichelt at gcc dot gnu dot org
@ 2006-06-08 20:53 ` reichelt at gcc dot gnu dot org
2006-06-08 21:01 ` reichelt at gcc dot gnu dot org
` (3 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-06-08 20:53 UTC (permalink / raw)
To: gcc-bugs
------- Comment #14 from reichelt at gcc dot gnu dot org 2006-06-08 20:50 -------
Subject: Bug 27421
Author: reichelt
Date: Thu Jun 8 20:50:24 2006
New Revision: 114494
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114494
Log:
PR target/27421
* config/i386/i386.c (classify_argument): Skip fields with invalid
types in unions.
* gcc.dg/union-3.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/union-3.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/i386.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27421
^ permalink raw reply [flat|nested] 22+ messages in thread
* [Bug target/27421] [4.0/4.1 regression] ICE with invalid array in struct
2006-05-04 15:05 [Bug c/27421] New: [4.0/4.1/4.2 regression] ICE with invalid array in struct reichelt at gcc dot gnu dot org
` (16 preceding siblings ...)
2006-06-08 20:53 ` reichelt at gcc dot gnu dot org
@ 2006-06-08 21:01 ` reichelt at gcc dot gnu dot org
2006-06-12 21:39 ` reichelt at gcc dot gnu dot org
` (2 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-06-08 21:01 UTC (permalink / raw)
To: gcc-bugs
------- Comment #15 from reichelt at gcc dot gnu dot org 2006-06-08 20:53 -------
The problem with unions is now also fixed on mainline.
Will commit to 4.1 and 4.0 branch in a couple of days.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27421
^ permalink raw reply [flat|nested] 22+ messages in thread
* [Bug target/27421] [4.0/4.1 regression] ICE with invalid array in struct
2006-05-04 15:05 [Bug c/27421] New: [4.0/4.1/4.2 regression] ICE with invalid array in struct reichelt at gcc dot gnu dot org
` (17 preceding siblings ...)
2006-06-08 21:01 ` reichelt at gcc dot gnu dot org
@ 2006-06-12 21:39 ` reichelt at gcc dot gnu dot org
2006-06-12 21:40 ` reichelt at gcc dot gnu dot org
2006-06-12 21:57 ` [Bug target/27421] [4.0/4.1/4.2 " reichelt at gcc dot gnu dot org
20 siblings, 0 replies; 22+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-06-12 21:39 UTC (permalink / raw)
To: gcc-bugs
------- Comment #16 from reichelt at gcc dot gnu dot org 2006-06-12 21:34 -------
Subject: Bug 27421
Author: reichelt
Date: Mon Jun 12 21:34:32 2006
New Revision: 114583
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114583
Log:
PR target/27421
* config/i386/i386.c (classify_argument): Skip fields with invalid
types in unions.
* gcc.dg/union-3.c: New test.
Added:
branches/gcc-4_1-branch/gcc/testsuite/gcc.dg/union-3.c
Modified:
branches/gcc-4_1-branch/gcc/ChangeLog
branches/gcc-4_1-branch/gcc/config/i386/i386.c
branches/gcc-4_1-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27421
^ permalink raw reply [flat|nested] 22+ messages in thread
* [Bug target/27421] [4.0/4.1 regression] ICE with invalid array in struct
2006-05-04 15:05 [Bug c/27421] New: [4.0/4.1/4.2 regression] ICE with invalid array in struct reichelt at gcc dot gnu dot org
` (18 preceding siblings ...)
2006-06-12 21:39 ` reichelt at gcc dot gnu dot org
@ 2006-06-12 21:40 ` reichelt at gcc dot gnu dot org
2006-06-12 21:57 ` [Bug target/27421] [4.0/4.1/4.2 " reichelt at gcc dot gnu dot org
20 siblings, 0 replies; 22+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-06-12 21:40 UTC (permalink / raw)
To: gcc-bugs
------- Comment #17 from reichelt at gcc dot gnu dot org 2006-06-12 21:39 -------
Subject: Bug 27421
Author: reichelt
Date: Mon Jun 12 21:39:10 2006
New Revision: 114584
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114584
Log:
PR target/27421
* config/i386/i386.c (classify_argument): Skip fields with invalid
types in unions.
* gcc.dg/union-3.c: New test.
Added:
branches/gcc-4_0-branch/gcc/testsuite/gcc.dg/union-3.c
Modified:
branches/gcc-4_0-branch/gcc/ChangeLog
branches/gcc-4_0-branch/gcc/config/i386/i386.c
branches/gcc-4_0-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27421
^ permalink raw reply [flat|nested] 22+ messages in thread
* [Bug target/27421] [4.0/4.1/4.2 regression] ICE with invalid array in struct
2006-05-04 15:05 [Bug c/27421] New: [4.0/4.1/4.2 regression] ICE with invalid array in struct reichelt at gcc dot gnu dot org
` (19 preceding siblings ...)
2006-06-12 21:40 ` reichelt at gcc dot gnu dot org
@ 2006-06-12 21:57 ` reichelt at gcc dot gnu dot org
20 siblings, 0 replies; 22+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-06-12 21:57 UTC (permalink / raw)
To: gcc-bugs
------- Comment #18 from reichelt at gcc dot gnu dot org 2006-06-12 21:40 -------
Now also fixed for unions (mainline, 4.1 branch, and 4.0 branch).
--
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Summary|[4.0/4.1 regression] ICE |[4.0/4.1/4.2 regression] ICE
|with invalid array in struct|with invalid array in struct
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27421
^ permalink raw reply [flat|nested] 22+ messages in thread
end of thread, other threads:[~2006-06-12 21:40 UTC | newest]
Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-04 15:05 [Bug c/27421] New: [4.0/4.1/4.2 regression] ICE with invalid array in struct reichelt at gcc dot gnu dot org
2006-05-04 15:27 ` [Bug c/27421] " pinskia at gcc dot gnu dot org
2006-05-05 0:58 ` [Bug target/27421] " reichelt at gcc dot gnu dot org
2006-05-05 1:02 ` pinskia at gcc dot gnu dot org
2006-05-05 20:01 ` reichelt at gcc dot gnu dot org
2006-05-06 0:55 ` patchapp at dberlin dot org
2006-05-07 3:14 ` pinskia at gcc dot gnu dot org
2006-05-07 21:15 ` reichelt at gcc dot gnu dot org
2006-05-07 21:17 ` [Bug target/27421] [4.0/4.1 " reichelt at gcc dot gnu dot org
2006-05-07 21:22 ` reichelt at gcc dot gnu dot org
2006-05-11 16:32 ` reichelt at gcc dot gnu dot org
2006-05-11 16:35 ` reichelt at gcc dot gnu dot org
2006-05-11 16:35 ` reichelt at gcc dot gnu dot org
2006-05-15 19:35 ` patchapp at dberlin dot org
2006-06-08 10:16 ` patchapp at dberlin dot org
2006-06-08 10:23 ` reichelt at gcc dot gnu dot org
2006-06-08 10:29 ` reichelt at gcc dot gnu dot org
2006-06-08 20:53 ` reichelt at gcc dot gnu dot org
2006-06-08 21:01 ` reichelt at gcc dot gnu dot org
2006-06-12 21:39 ` reichelt at gcc dot gnu dot org
2006-06-12 21:40 ` reichelt at gcc dot gnu dot org
2006-06-12 21:57 ` [Bug target/27421] [4.0/4.1/4.2 " reichelt 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).