public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/18596] [4.0 regression] ICE in make_decl_rtl
  2004-11-21 15:10 [Bug middle-end/18596] New: [4.0 regression] ICE in make_decl_rtl pinskia at gcc dot gnu dot org
@ 2004-11-21 15:10 ` pinskia at gcc dot gnu dot org
  2004-11-22  0:51 ` giovannibajo at libero dot it
                   ` (19 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-21 15:10 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.0.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18596


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug middle-end/18596] New: [4.0 regression] ICE in make_decl_rtl
@ 2004-11-21 15:10 pinskia at gcc dot gnu dot org
  2004-11-21 15:10 ` [Bug middle-end/18596] " pinskia at gcc dot gnu dot org
                   ` (20 more replies)
  0 siblings, 21 replies; 22+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-21 15:10 UTC (permalink / raw)
  To: gcc-bugs

With the testcase in 12322, we get an ICE after errors because of nested functions.
Reduced testcase:
int f(int i)
{
  static int g();
  static int g() { return i; }
  return g();
}

: Search converges between 2004-07-27-trunk (#496) and 2004-07-28-trunk (#497).

-- 
           Summary: [4.0 regression] ICE in make_decl_rtl
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Keywords: ice-on-invalid-code, error-recovery
          Severity: minor
          Priority: P2
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18596


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug middle-end/18596] [4.0 regression] ICE in make_decl_rtl
  2004-11-21 15:10 [Bug middle-end/18596] New: [4.0 regression] ICE in make_decl_rtl pinskia at gcc dot gnu dot org
  2004-11-21 15:10 ` [Bug middle-end/18596] " pinskia at gcc dot gnu dot org
@ 2004-11-22  0:51 ` giovannibajo at libero dot it
  2004-11-27  2:16 ` pinskia at gcc dot gnu dot org
                   ` (18 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: giovannibajo at libero dot it @ 2004-11-22  0:51 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From giovannibajo at libero dot it  2004-11-22 00:51 -------
Confirmed:

18596.c: In function 'f':
18596.c:3: error: invalid storage class for function 'g'
18596.c:4: error: invalid storage class for function 'g'


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-11-22 00:51:13
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18596


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug middle-end/18596] [4.0 regression] ICE in make_decl_rtl
  2004-11-21 15:10 [Bug middle-end/18596] New: [4.0 regression] ICE in make_decl_rtl pinskia at gcc dot gnu dot org
  2004-11-21 15:10 ` [Bug middle-end/18596] " pinskia at gcc dot gnu dot org
  2004-11-22  0:51 ` giovannibajo at libero dot it
@ 2004-11-27  2:16 ` pinskia at gcc dot gnu dot org
  2004-11-30  0:32 ` cvs-commit 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 @ 2004-11-27  2:16 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-11-27 02:16 -------
Patch here: <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg02350.html>.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18596


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug middle-end/18596] [4.0 regression] ICE in make_decl_rtl
  2004-11-21 15:10 [Bug middle-end/18596] New: [4.0 regression] ICE in make_decl_rtl pinskia at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2004-11-27  2:16 ` pinskia at gcc dot gnu dot org
@ 2004-11-30  0:32 ` cvs-commit at gcc dot gnu dot org
  2004-11-30  0:41 ` phython at gcc dot gnu dot org
                   ` (16 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-11-30  0:32 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-11-30 00:32 -------
Subject: Bug 18596

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	phython@gcc.gnu.org	2004-11-30 00:32:34

Modified files:
	gcc            : c-decl.c ChangeLog 
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/gcc.dg: pr18596-1.c 

Log message:
	2004-11-26  James A. Morrison  <phython@gcc.gnu.org>
	
	PR middle-end/18596
	* c-decl.c (grokdeclarator): Reset DECL_INTIAL to error_mark_node
	on errors.
	
	testsuite:
	* gcc.dg/pr18596-1.c: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-decl.c.diff?cvsroot=gcc&r1=1.611&r2=1.612
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.6634&r2=2.6635
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.4687&r2=1.4688
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/pr18596-1.c.diff?cvsroot=gcc&r1=NONE&r2=1.1



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18596


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug middle-end/18596] [4.0 regression] ICE in make_decl_rtl
  2004-11-21 15:10 [Bug middle-end/18596] New: [4.0 regression] ICE in make_decl_rtl pinskia at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2004-11-30  0:32 ` cvs-commit at gcc dot gnu dot org
@ 2004-11-30  0:41 ` phython at gcc dot gnu dot org
  2004-11-30 20:01 ` hp at gcc dot gnu dot org
                   ` (15 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: phython at gcc dot gnu dot org @ 2004-11-30  0:41 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From phython at gcc dot gnu dot org  2004-11-30 00:40 -------
Fixed the the previous commit.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18596


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug middle-end/18596] [4.0 regression] ICE in make_decl_rtl
  2004-11-21 15:10 [Bug middle-end/18596] New: [4.0 regression] ICE in make_decl_rtl pinskia at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2004-11-30  0:41 ` phython at gcc dot gnu dot org
@ 2004-11-30 20:01 ` hp at gcc dot gnu dot org
  2004-11-30 20:02 ` hp at gcc dot gnu dot org
                   ` (14 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: hp at gcc dot gnu dot org @ 2004-11-30 20:01 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From hp at gcc dot gnu dot org  2004-11-30 20:01 -------
I'm reopening this bug, because with LAST_UPDATED "Tue Nov 30 11:22:00 UTC 2004"
(with a local patch to work around the mklibgcc.in breakage at that time, later
fixed) I get the same error this PR is supposed to have fixed:
/gcc/testsuite/gcc.dg/pr18596-1.c: In function 'f':
/gcc/testsuite/gcc.dg/pr18596-1.c:4: error: invalid storage class for function
'g'
/gcc/testsuite/gcc.dg/pr18596-1.c:5: error: ISO C forbids nested functions
/gcc/testsuite/gcc.dg/pr18596-1.c:5: error: invalid storage class for function
'g'
/gcc/testsuite/gcc.dg/pr18596-1.c: In function 'g':
/gcc/testsuite/gcc.dg/pr18596-1.c:5: internal compiler error: in make_decl_rtl,
at varasm.c:867

Note also that the test-case needs a dg-options "" to avoid the automatically
added -ansi.  (How was the test-case tested?)

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hp at gcc dot gnu dot org
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18596


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug middle-end/18596] [4.0 regression] ICE in make_decl_rtl
  2004-11-21 15:10 [Bug middle-end/18596] New: [4.0 regression] ICE in make_decl_rtl pinskia at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2004-11-30 20:01 ` hp at gcc dot gnu dot org
@ 2004-11-30 20:02 ` hp at gcc dot gnu dot org
  2004-11-30 20:12 ` pinskia at gcc dot gnu dot org
                   ` (13 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: hp at gcc dot gnu dot org @ 2004-11-30 20:02 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From hp at gcc dot gnu dot org  2004-11-30 20:02 -------
... on mmix-knuth-mmixware, I forgot to say.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18596


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug middle-end/18596] [4.0 regression] ICE in make_decl_rtl
  2004-11-21 15:10 [Bug middle-end/18596] New: [4.0 regression] ICE in make_decl_rtl pinskia at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2004-11-30 20:02 ` hp at gcc dot gnu dot org
@ 2004-11-30 20:12 ` pinskia at gcc dot gnu dot org
  2004-11-30 20:45 ` phython at gcc dot gnu dot org
                   ` (12 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-30 20:12 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-11-30 20:12 -------
Note even without -pedantic we get an ICE still.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |NEW


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18596


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug middle-end/18596] [4.0 regression] ICE in make_decl_rtl
  2004-11-21 15:10 [Bug middle-end/18596] New: [4.0 regression] ICE in make_decl_rtl pinskia at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2004-11-30 20:12 ` pinskia at gcc dot gnu dot org
@ 2004-11-30 20:45 ` phython at gcc dot gnu dot org
  2004-12-01  5:05 ` bje at gcc dot gnu dot org
                   ` (11 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: phython at gcc dot gnu dot org @ 2004-11-30 20:45 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From phython at gcc dot gnu dot org  2004-11-30 20:45 -------
 I probably should be shot for this one.  I'm looking into it.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2004-11-22 00:51:13         |2004-11-30 20:45:07
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18596


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug middle-end/18596] [4.0 regression] ICE in make_decl_rtl
  2004-11-21 15:10 [Bug middle-end/18596] New: [4.0 regression] ICE in make_decl_rtl pinskia at gcc dot gnu dot org
                   ` (8 preceding siblings ...)
  2004-11-30 20:45 ` phython at gcc dot gnu dot org
@ 2004-12-01  5:05 ` bje at gcc dot gnu dot org
  2004-12-01  5:34 ` phython at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: bje at gcc dot gnu dot org @ 2004-12-01  5:05 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bje at gcc dot gnu dot org  2004-12-01 05:05 -------
This patch still causes a regression:

FAIL: gcc.dg/funcdef-storage-1.c (test for excess errors)

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18596


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug middle-end/18596] [4.0 regression] ICE in make_decl_rtl
  2004-11-21 15:10 [Bug middle-end/18596] New: [4.0 regression] ICE in make_decl_rtl pinskia at gcc dot gnu dot org
                   ` (9 preceding siblings ...)
  2004-12-01  5:05 ` bje at gcc dot gnu dot org
@ 2004-12-01  5:34 ` phython at gcc dot gnu dot org
  2004-12-01  5:38 ` phython at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: phython at gcc dot gnu dot org @ 2004-12-01  5:34 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From phython at gcc dot gnu dot org  2004-12-01 05:34 -------
 Strange that it didn't fail on sparc or sparc64 linux.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18596


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug middle-end/18596] [4.0 regression] ICE in make_decl_rtl
  2004-11-21 15:10 [Bug middle-end/18596] New: [4.0 regression] ICE in make_decl_rtl pinskia at gcc dot gnu dot org
                   ` (10 preceding siblings ...)
  2004-12-01  5:34 ` phython at gcc dot gnu dot org
@ 2004-12-01  5:38 ` phython at gcc dot gnu dot org
  2004-12-01  7:03 ` phython at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: phython at gcc dot gnu dot org @ 2004-12-01  5:38 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From phython at gcc dot gnu dot org  2004-12-01 05:38 -------
 Sorry, did you mean static.nested3.patch ?

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18596


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug middle-end/18596] [4.0 regression] ICE in make_decl_rtl
  2004-11-21 15:10 [Bug middle-end/18596] New: [4.0 regression] ICE in make_decl_rtl pinskia at gcc dot gnu dot org
                   ` (11 preceding siblings ...)
  2004-12-01  5:38 ` phython at gcc dot gnu dot org
@ 2004-12-01  7:03 ` phython at gcc dot gnu dot org
  2004-12-01 12:42 ` pinskia at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: phython at gcc dot gnu dot org @ 2004-12-01  7:03 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From phython at gcc dot gnu dot org  2004-12-01 07:03 -------
Andrew's patch for 17807 stops funcdef-storage.c from ICEing, but it causes an
extra error in that testcase because it thinks foo should be a nested function.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18596


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug middle-end/18596] [4.0 regression] ICE in make_decl_rtl
  2004-11-21 15:10 [Bug middle-end/18596] New: [4.0 regression] ICE in make_decl_rtl pinskia at gcc dot gnu dot org
                   ` (12 preceding siblings ...)
  2004-12-01  7:03 ` phython at gcc dot gnu dot org
@ 2004-12-01 12:42 ` pinskia at gcc dot gnu dot org
  2004-12-08  5:49 ` phython at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-01 12:42 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-12-01 12:42 -------
Maybe unsetting the DECL's context will fix the ICE, I don't know for sure.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18596


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug middle-end/18596] [4.0 regression] ICE in make_decl_rtl
  2004-11-21 15:10 [Bug middle-end/18596] New: [4.0 regression] ICE in make_decl_rtl pinskia at gcc dot gnu dot org
                   ` (13 preceding siblings ...)
  2004-12-01 12:42 ` pinskia at gcc dot gnu dot org
@ 2004-12-08  5:49 ` phython at gcc dot gnu dot org
  2004-12-10  3:59 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: phython at gcc dot gnu dot org @ 2004-12-08  5:49 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From phython at gcc dot gnu dot org  2004-12-08 05:49 -------
 The round 4 patch causes lots of regressions.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18596


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug middle-end/18596] [4.0 regression] ICE in make_decl_rtl
  2004-11-21 15:10 [Bug middle-end/18596] New: [4.0 regression] ICE in make_decl_rtl pinskia at gcc dot gnu dot org
                   ` (14 preceding siblings ...)
  2004-12-08  5:49 ` phython at gcc dot gnu dot org
@ 2004-12-10  3:59 ` pinskia at gcc dot gnu dot org
  2004-12-10 11:09 ` steven at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-10  3:59 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-12-10 03:59 -------
Removing patch keyword as the non of the current patches work.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|patch                       |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18596


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug middle-end/18596] [4.0 regression] ICE in make_decl_rtl
  2004-11-21 15:10 [Bug middle-end/18596] New: [4.0 regression] ICE in make_decl_rtl pinskia at gcc dot gnu dot org
                   ` (15 preceding siblings ...)
  2004-12-10  3:59 ` pinskia at gcc dot gnu dot org
@ 2004-12-10 11:09 ` steven at gcc dot gnu dot org
  2004-12-10 14:23 ` phython at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: steven at gcc dot gnu dot org @ 2004-12-10 11:09 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From steven at gcc dot gnu dot org  2004-12-10 11:09 -------
Ehm, maybe this is a stupid question - but why are we generating a DECL_RTL
to begin with, given that we have errors?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18596


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug middle-end/18596] [4.0 regression] ICE in make_decl_rtl
  2004-11-21 15:10 [Bug middle-end/18596] New: [4.0 regression] ICE in make_decl_rtl pinskia at gcc dot gnu dot org
                   ` (16 preceding siblings ...)
  2004-12-10 11:09 ` steven at gcc dot gnu dot org
@ 2004-12-10 14:23 ` phython at gcc dot gnu dot org
  2004-12-19 19:59 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: phython at gcc dot gnu dot org @ 2004-12-10 14:23 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From phython at gcc dot gnu dot org  2004-12-10 14:23 -------
 The problem occurs in no-unit-at-a-time mode, so the nested functions are
expanded, and that is where the problems start.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18596


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug middle-end/18596] [4.0 regression] ICE in make_decl_rtl
  2004-11-21 15:10 [Bug middle-end/18596] New: [4.0 regression] ICE in make_decl_rtl pinskia at gcc dot gnu dot org
                   ` (17 preceding siblings ...)
  2004-12-10 14:23 ` phython at gcc dot gnu dot org
@ 2004-12-19 19:59 ` pinskia at gcc dot gnu dot org
  2004-12-21 17:01 ` [Bug c/18596] " cvs-commit at gcc dot gnu dot org
  2004-12-21 17:09 ` phython at gcc dot gnu dot org
  20 siblings, 0 replies; 22+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-19 19:59 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-12-19 19:59 -------
Patch here: <http://gcc.gnu.org/ml/gcc-patches/2004-12/msg01411.html>.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18596


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug c/18596] [4.0 regression] ICE in make_decl_rtl
  2004-11-21 15:10 [Bug middle-end/18596] New: [4.0 regression] ICE in make_decl_rtl pinskia at gcc dot gnu dot org
                   ` (18 preceding siblings ...)
  2004-12-19 19:59 ` pinskia at gcc dot gnu dot org
@ 2004-12-21 17:01 ` cvs-commit at gcc dot gnu dot org
  2004-12-21 17:09 ` phython at gcc dot gnu dot org
  20 siblings, 0 replies; 22+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-12-21 17:01 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-12-21 17:01 -------
Subject: Bug 18596

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	phython@gcc.gnu.org	2004-12-21 17:01:08

Modified files:
	gcc            : ChangeLog c-decl.c c-parse.in c-typeck.c 
	gcc/testsuite  : ChangeLog 
	gcc/testsuite/gcc.dg: funcdef-storage-1.c pr18596-1.c 
Added files:
	gcc/testsuite/gcc.dg: pr18596-2.c pr18596-3.c 

Log message:
	2004-12-19  James A. Morrison  <phython@gcc.gnu.org>
	
	PR c/18596
	* c-parse.in (initdcl): Don't process a declaration if start_decl fails.
	(notype_initdcl):  Don't process a declaration if start_decl fails.
	* c-decl.c (start_decl): Fail if grokdeclarator fails.
	(grokdeclarator): Fail if a function definition has an invalid storage
	class.
	* c-typeck.c (start_init): Treat error_mark_node the same as 0.
	
	testsuite:
	PR c/18596
	* gcc.dg/funcdef-storage-1.c (foo): Remove.
	* gcc.dg/pr18596-1.c: Use dg-error.
	(dg-options): Use -fno-unit-at-a-time.
	* gcc.dg/pr18596-2.c: New test.
	* gcc.dg/pr18596-3.c: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.6910&r2=2.6911
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-decl.c.diff?cvsroot=gcc&r1=1.617&r2=1.618
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-parse.in.diff?cvsroot=gcc&r1=1.255&r2=1.256
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-typeck.c.diff?cvsroot=gcc&r1=1.404&r2=1.405
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.4788&r2=1.4789
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/pr18596-2.c.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/pr18596-3.c.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/funcdef-storage-1.c.diff?cvsroot=gcc&r1=1.2&r2=1.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/pr18596-1.c.diff?cvsroot=gcc&r1=1.1&r2=1.2



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18596


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug c/18596] [4.0 regression] ICE in make_decl_rtl
  2004-11-21 15:10 [Bug middle-end/18596] New: [4.0 regression] ICE in make_decl_rtl pinskia at gcc dot gnu dot org
                   ` (19 preceding siblings ...)
  2004-12-21 17:01 ` [Bug c/18596] " cvs-commit at gcc dot gnu dot org
@ 2004-12-21 17:09 ` phython at gcc dot gnu dot org
  20 siblings, 0 replies; 22+ messages in thread
From: phython at gcc dot gnu dot org @ 2004-12-21 17:09 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From phython at gcc dot gnu dot org  2004-12-21 17:09 -------
 Lets see if I did it right this time.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18596


^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2004-12-21 17:09 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-21 15:10 [Bug middle-end/18596] New: [4.0 regression] ICE in make_decl_rtl pinskia at gcc dot gnu dot org
2004-11-21 15:10 ` [Bug middle-end/18596] " pinskia at gcc dot gnu dot org
2004-11-22  0:51 ` giovannibajo at libero dot it
2004-11-27  2:16 ` pinskia at gcc dot gnu dot org
2004-11-30  0:32 ` cvs-commit at gcc dot gnu dot org
2004-11-30  0:41 ` phython at gcc dot gnu dot org
2004-11-30 20:01 ` hp at gcc dot gnu dot org
2004-11-30 20:02 ` hp at gcc dot gnu dot org
2004-11-30 20:12 ` pinskia at gcc dot gnu dot org
2004-11-30 20:45 ` phython at gcc dot gnu dot org
2004-12-01  5:05 ` bje at gcc dot gnu dot org
2004-12-01  5:34 ` phython at gcc dot gnu dot org
2004-12-01  5:38 ` phython at gcc dot gnu dot org
2004-12-01  7:03 ` phython at gcc dot gnu dot org
2004-12-01 12:42 ` pinskia at gcc dot gnu dot org
2004-12-08  5:49 ` phython at gcc dot gnu dot org
2004-12-10  3:59 ` pinskia at gcc dot gnu dot org
2004-12-10 11:09 ` steven at gcc dot gnu dot org
2004-12-10 14:23 ` phython at gcc dot gnu dot org
2004-12-19 19:59 ` pinskia at gcc dot gnu dot org
2004-12-21 17:01 ` [Bug c/18596] " cvs-commit at gcc dot gnu dot org
2004-12-21 17:09 ` phython 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).