public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/32529] New: ICE, typedef of function taking VLA
@ 2007-06-28 1:12 pa at panix dot com
2007-06-28 1:15 ` [Bug c/32529] " pa at panix dot com
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: pa at panix dot com @ 2007-06-28 1:12 UTC (permalink / raw)
To: gcc-bugs
cat ice99.c
typedef int (*matrix_handler)(int n, double M[restrict n][n]);
gcc -c -std=c99 ice99.c
ice99.c:1: internal compiler error: Segmentation fault
--
Summary: ICE, typedef of function taking VLA
Product: gcc
Version: 4.1.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pa at panix dot com
GCC host triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32529
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c/32529] ICE, typedef of function taking VLA
2007-06-28 1:12 [Bug c/32529] New: ICE, typedef of function taking VLA pa at panix dot com
@ 2007-06-28 1:15 ` pa at panix dot com
2007-06-28 1:26 ` pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pa at panix dot com @ 2007-06-28 1:15 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pa at panix dot com 2007-06-28 01:15 -------
Created an attachment (id=13798)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13798&action=view)
preprocessed input
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32529
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c/32529] ICE, typedef of function taking VLA
2007-06-28 1:12 [Bug c/32529] New: ICE, typedef of function taking VLA pa at panix dot com
2007-06-28 1:15 ` [Bug c/32529] " pa at panix dot com
@ 2007-06-28 1:26 ` pinskia at gcc dot gnu dot org
2007-06-28 2:09 ` pa at panix dot com
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-06-28 1:26 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from pinskia at gcc dot gnu dot org 2007-06-28 01:26 -------
*** This bug has been marked as a duplicate of 28504 ***
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32529
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c/32529] ICE, typedef of function taking VLA
2007-06-28 1:12 [Bug c/32529] New: ICE, typedef of function taking VLA pa at panix dot com
2007-06-28 1:15 ` [Bug c/32529] " pa at panix dot com
2007-06-28 1:26 ` pinskia at gcc dot gnu dot org
@ 2007-06-28 2:09 ` pa at panix dot com
2007-06-28 6:52 ` bangerth at dealii dot org
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pa at panix dot com @ 2007-06-28 2:09 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from pa at panix dot com 2007-06-28 02:09 -------
Not sure this is a duplicate. 28504 is fixed on my box, I need the 2-D VLA to
trigger the ICE.
void foo(void (*p)(int n, int x[n])) {} /* from 28504, ok */
typedef void (*foop)(int n, int x[n]); /* ok */
typedef void (*ice_t)(int n, int M[n][n]); /* ice */
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32529
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c/32529] ICE, typedef of function taking VLA
2007-06-28 1:12 [Bug c/32529] New: ICE, typedef of function taking VLA pa at panix dot com
` (2 preceding siblings ...)
2007-06-28 2:09 ` pa at panix dot com
@ 2007-06-28 6:52 ` bangerth at dealii dot org
2007-06-28 8:34 ` rguenth at gcc dot gnu dot org
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: bangerth at dealii dot org @ 2007-06-28 6:52 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from bangerth at dealii dot org 2007-06-28 06:52 -------
Apparently not a dup.
--
bangerth at dealii dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bangerth at dealii dot org
Status|RESOLVED |UNCONFIRMED
Resolution|DUPLICATE |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32529
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c/32529] ICE, typedef of function taking VLA
2007-06-28 1:12 [Bug c/32529] New: ICE, typedef of function taking VLA pa at panix dot com
` (3 preceding siblings ...)
2007-06-28 6:52 ` bangerth at dealii dot org
@ 2007-06-28 8:34 ` rguenth at gcc dot gnu dot org
2007-06-28 18:01 ` [Bug c/32529] [4.1 only] " pinskia at gcc dot gnu dot org
2007-06-28 18:49 ` pinskia at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-06-28 8:34 UTC (permalink / raw)
To: gcc-bugs
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rguenth at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |rejects-valid
Last reconfirmed|0000-00-00 00:00:00 |2007-06-28 08:34:22
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32529
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c/32529] [4.1 only] ICE, typedef of function taking VLA
2007-06-28 1:12 [Bug c/32529] New: ICE, typedef of function taking VLA pa at panix dot com
` (4 preceding siblings ...)
2007-06-28 8:34 ` rguenth at gcc dot gnu dot org
@ 2007-06-28 18:01 ` pinskia at gcc dot gnu dot org
2007-06-28 18:49 ` pinskia at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-06-28 18:01 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from pinskia at gcc dot gnu dot org 2007-06-28 18:01 -------
This works for me in both 4.2.0 and the trunk.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to fail| |4.0.4
Known to work| |4.2.0 4.3.0
Summary|ICE, typedef of function |[4.1 only] ICE, typedef of
|taking VLA |function taking VLA
Target Milestone|--- |4.1.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32529
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c/32529] [4.1 only] ICE, typedef of function taking VLA
2007-06-28 1:12 [Bug c/32529] New: ICE, typedef of function taking VLA pa at panix dot com
` (5 preceding siblings ...)
2007-06-28 18:01 ` [Bug c/32529] [4.1 only] " pinskia at gcc dot gnu dot org
@ 2007-06-28 18:49 ` pinskia at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-06-28 18:49 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from pinskia at gcc dot gnu dot org 2007-06-28 18:49 -------
No, this is a dup as the bug there still has not been fixed for 4.1.x.
*** This bug has been marked as a duplicate of 28504 ***
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32529
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2007-06-28 18:49 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-28 1:12 [Bug c/32529] New: ICE, typedef of function taking VLA pa at panix dot com
2007-06-28 1:15 ` [Bug c/32529] " pa at panix dot com
2007-06-28 1:26 ` pinskia at gcc dot gnu dot org
2007-06-28 2:09 ` pa at panix dot com
2007-06-28 6:52 ` bangerth at dealii dot org
2007-06-28 8:34 ` rguenth at gcc dot gnu dot org
2007-06-28 18:01 ` [Bug c/32529] [4.1 only] " pinskia at gcc dot gnu dot org
2007-06-28 18:49 ` pinskia 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).