public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/31747]  New: [4.2/4.3 regression] ICE combining static and extern
@ 2007-04-29 10:46 reichelt at gcc dot gnu dot org
  2007-04-29 10:46 ` [Bug c++/31747] " reichelt at gcc dot gnu dot org
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2007-04-29 10:46 UTC (permalink / raw)
  To: gcc-bugs

The following invalid code snippet triggers an ICE on mainline and the
4.2 branch::

========================
static extern int i;
========================

bug.cc:1: error: conflicting specifiers in declaration of 'i'
bug.cc:1: internal compiler error: in start_decl, at cp/decl.c:3985
Please submit a full bug report, [etc.]


-- 
           Summary: [4.2/4.3 regression] ICE combining static and extern
           Product: gcc
           Version: 4.3.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=31747


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

* [Bug c++/31747] [4.2/4.3 regression] ICE combining static and extern
  2007-04-29 10:46 [Bug c++/31747] New: [4.2/4.3 regression] ICE combining static and extern reichelt at gcc dot gnu dot org
@ 2007-04-29 10:46 ` reichelt at gcc dot gnu dot org
  2007-04-30 18:53 ` mmitchel at gcc dot gnu dot org
                   ` (12 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2007-04-29 10:46 UTC (permalink / raw)
  To: gcc-bugs



-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.2.0


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


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

* [Bug c++/31747] [4.2/4.3 regression] ICE combining static and extern
  2007-04-29 10:46 [Bug c++/31747] New: [4.2/4.3 regression] ICE combining static and extern reichelt at gcc dot gnu dot org
  2007-04-29 10:46 ` [Bug c++/31747] " reichelt at gcc dot gnu dot org
@ 2007-04-30 18:53 ` mmitchel at gcc dot gnu dot org
  2007-05-14 21:30 ` mmitchel at gcc dot gnu dot org
                   ` (11 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-04-30 18:53 UTC (permalink / raw)
  To: gcc-bugs



-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P4


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


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

* [Bug c++/31747] [4.2/4.3 regression] ICE combining static and extern
  2007-04-29 10:46 [Bug c++/31747] New: [4.2/4.3 regression] ICE combining static and extern reichelt at gcc dot gnu dot org
  2007-04-29 10:46 ` [Bug c++/31747] " reichelt at gcc dot gnu dot org
  2007-04-30 18:53 ` mmitchel at gcc dot gnu dot org
@ 2007-05-14 21:30 ` mmitchel at gcc dot gnu dot org
  2007-07-20  3:50 ` mmitchel at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-05-14 21:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from mmitchel at gcc dot gnu dot org  2007-05-14 22:27 -------
Will not be fixed in 4.2.0; retargeting at 4.2.1.


-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.2.0                       |4.2.1


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


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

* [Bug c++/31747] [4.2/4.3 regression] ICE combining static and extern
  2007-04-29 10:46 [Bug c++/31747] New: [4.2/4.3 regression] ICE combining static and extern reichelt at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2007-05-14 21:30 ` mmitchel at gcc dot gnu dot org
@ 2007-07-20  3:50 ` mmitchel at gcc dot gnu dot org
  2007-09-19 12:14 ` pcarlini at suse dot de
                   ` (9 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-07-20  3:50 UTC (permalink / raw)
  To: gcc-bugs



-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.2.1                       |4.2.2


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


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

* [Bug c++/31747] [4.2/4.3 regression] ICE combining static and extern
  2007-04-29 10:46 [Bug c++/31747] New: [4.2/4.3 regression] ICE combining static and extern reichelt at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2007-07-20  3:50 ` mmitchel at gcc dot gnu dot org
@ 2007-09-19 12:14 ` pcarlini at suse dot de
  2007-09-28 15:46 ` pcarlini at suse dot de
                   ` (8 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: pcarlini at suse dot de @ 2007-09-19 12:14 UTC (permalink / raw)
  To: gcc-bugs



-- 

pcarlini at suse dot de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |pcarlini at suse dot de
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2007-09-19 12:13:49
               date|                            |


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


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

* [Bug c++/31747] [4.2/4.3 regression] ICE combining static and extern
  2007-04-29 10:46 [Bug c++/31747] New: [4.2/4.3 regression] ICE combining static and extern reichelt at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2007-09-19 12:14 ` pcarlini at suse dot de
@ 2007-09-28 15:46 ` pcarlini at suse dot de
  2007-10-09 19:29 ` mmitchel at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: pcarlini at suse dot de @ 2007-09-28 15:46 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pcarlini at suse dot de  2007-09-28 15:46 -------
Patch at:

  http://gcc.gnu.org/ml/gcc-patches/2007-09/msg01551.html


-- 


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


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

* [Bug c++/31747] [4.2/4.3 regression] ICE combining static and extern
  2007-04-29 10:46 [Bug c++/31747] New: [4.2/4.3 regression] ICE combining static and extern reichelt at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2007-09-28 15:46 ` pcarlini at suse dot de
@ 2007-10-09 19:29 ` mmitchel at gcc dot gnu dot org
  2007-10-20 12:33 ` pcarlini at suse dot de
                   ` (6 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-10-09 19:29 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from mmitchel at gcc dot gnu dot org  2007-10-09 19:22 -------
Change target milestone to 4.2.3, as 4.2.2 has been released.


-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.2.2                       |4.2.3


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


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

* [Bug c++/31747] [4.2/4.3 regression] ICE combining static and extern
  2007-04-29 10:46 [Bug c++/31747] New: [4.2/4.3 regression] ICE combining static and extern reichelt at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2007-10-09 19:29 ` mmitchel at gcc dot gnu dot org
@ 2007-10-20 12:33 ` pcarlini at suse dot de
  2007-10-26  9:57 ` paolo at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: pcarlini at suse dot de @ 2007-10-20 12:33 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pcarlini at suse dot de  2007-10-20 12:33 -------
*** Bug 33729 has been marked as a duplicate of this bug. ***


-- 

pcarlini at suse dot de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dcb314 at hotmail dot com


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


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

* [Bug c++/31747] [4.2/4.3 regression] ICE combining static and extern
  2007-04-29 10:46 [Bug c++/31747] New: [4.2/4.3 regression] ICE combining static and extern reichelt at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2007-10-20 12:33 ` pcarlini at suse dot de
@ 2007-10-26  9:57 ` paolo at gcc dot gnu dot org
  2007-10-26  9:59 ` [Bug c++/31747] [4.2 " pcarlini at suse dot de
                   ` (4 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: paolo at gcc dot gnu dot org @ 2007-10-26  9:57 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from paolo at gcc dot gnu dot org  2007-10-26 09:57 -------
Subject: Bug 31747

Author: paolo
Date: Fri Oct 26 09:57:12 2007
New Revision: 129647

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129647
Log:
cp/
2007-10-26  Paolo Carlini  <pcarlini@suse.de>

        PR c++/31747
        * decl.c (grokdeclarator): In case of conflicting specifiers
        just return error_mark_node.

testsuite/
2007-10-26  Paolo Carlini  <pcarlini@suse.de>

        PR c++/31747
        * g++.dg/parse/crash39.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/parse/crash39.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug c++/31747] [4.2 regression] ICE combining static and extern
  2007-04-29 10:46 [Bug c++/31747] New: [4.2/4.3 regression] ICE combining static and extern reichelt at gcc dot gnu dot org
                   ` (8 preceding siblings ...)
  2007-10-26  9:57 ` paolo at gcc dot gnu dot org
@ 2007-10-26  9:59 ` pcarlini at suse dot de
  2008-02-01 16:59 ` jsm28 at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: pcarlini at suse dot de @ 2007-10-26  9:59 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from pcarlini at suse dot de  2007-10-26 09:59 -------
Fixed in mainline.


-- 

pcarlini at suse dot de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|pcarlini at suse dot de     |unassigned at gcc dot gnu
                   |                            |dot org
             Status|ASSIGNED                    |NEW
            Summary|[4.2/4.3 regression] ICE    |[4.2 regression] ICE
                   |combining static and extern |combining static and extern


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


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

* [Bug c++/31747] [4.2 regression] ICE combining static and extern
  2007-04-29 10:46 [Bug c++/31747] New: [4.2/4.3 regression] ICE combining static and extern reichelt at gcc dot gnu dot org
                   ` (9 preceding siblings ...)
  2007-10-26  9:59 ` [Bug c++/31747] [4.2 " pcarlini at suse dot de
@ 2008-02-01 16:59 ` jsm28 at gcc dot gnu dot org
  2008-03-16 17:20 ` [Bug c++/31747] [4.2 Regression] " rguenth at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-02-01 16:59 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from jsm28 at gcc dot gnu dot org  2008-02-01 16:54 -------
4.2.3 is being released now, changing milestones of open bugs to 4.2.4.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.2.3                       |4.2.4


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


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

* [Bug c++/31747] [4.2 Regression] ICE combining static and extern
  2007-04-29 10:46 [Bug c++/31747] New: [4.2/4.3 regression] ICE combining static and extern reichelt at gcc dot gnu dot org
                   ` (10 preceding siblings ...)
  2008-02-01 16:59 ` jsm28 at gcc dot gnu dot org
@ 2008-03-16 17:20 ` rguenth at gcc dot gnu dot org
  2008-05-19 20:26 ` jsm28 at gcc dot gnu dot org
  2009-03-30 21:45 ` jsm28 at gcc dot gnu dot org
  13 siblings, 0 replies; 15+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-03-16 17:20 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |4.3.0
           Priority|P4                          |P5
            Summary|[4.2 regression] ICE        |[4.2 Regression] ICE
                   |combining static and extern |combining static and extern


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


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

* [Bug c++/31747] [4.2 Regression] ICE combining static and extern
  2007-04-29 10:46 [Bug c++/31747] New: [4.2/4.3 regression] ICE combining static and extern reichelt at gcc dot gnu dot org
                   ` (11 preceding siblings ...)
  2008-03-16 17:20 ` [Bug c++/31747] [4.2 Regression] " rguenth at gcc dot gnu dot org
@ 2008-05-19 20:26 ` jsm28 at gcc dot gnu dot org
  2009-03-30 21:45 ` jsm28 at gcc dot gnu dot org
  13 siblings, 0 replies; 15+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-05-19 20:26 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from jsm28 at gcc dot gnu dot org  2008-05-19 20:23 -------
4.2.4 is being released, changing milestones to 4.2.5.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.2.4                       |4.2.5


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


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

* [Bug c++/31747] [4.2 Regression] ICE combining static and extern
  2007-04-29 10:46 [Bug c++/31747] New: [4.2/4.3 regression] ICE combining static and extern reichelt at gcc dot gnu dot org
                   ` (12 preceding siblings ...)
  2008-05-19 20:26 ` jsm28 at gcc dot gnu dot org
@ 2009-03-30 21:45 ` jsm28 at gcc dot gnu dot org
  13 siblings, 0 replies; 15+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2009-03-30 21:45 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from jsm28 at gcc dot gnu dot org  2009-03-30 21:44 -------
Closing 4.2 branch, fixed in 4.3.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
      Known to fail|                            |4.2.5
         Resolution|                            |FIXED
   Target Milestone|4.2.5                       |4.3.0


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


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

end of thread, other threads:[~2009-03-30 21:45 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-29 10:46 [Bug c++/31747] New: [4.2/4.3 regression] ICE combining static and extern reichelt at gcc dot gnu dot org
2007-04-29 10:46 ` [Bug c++/31747] " reichelt at gcc dot gnu dot org
2007-04-30 18:53 ` mmitchel at gcc dot gnu dot org
2007-05-14 21:30 ` mmitchel at gcc dot gnu dot org
2007-07-20  3:50 ` mmitchel at gcc dot gnu dot org
2007-09-19 12:14 ` pcarlini at suse dot de
2007-09-28 15:46 ` pcarlini at suse dot de
2007-10-09 19:29 ` mmitchel at gcc dot gnu dot org
2007-10-20 12:33 ` pcarlini at suse dot de
2007-10-26  9:57 ` paolo at gcc dot gnu dot org
2007-10-26  9:59 ` [Bug c++/31747] [4.2 " pcarlini at suse dot de
2008-02-01 16:59 ` jsm28 at gcc dot gnu dot org
2008-03-16 17:20 ` [Bug c++/31747] [4.2 Regression] " rguenth at gcc dot gnu dot org
2008-05-19 20:26 ` jsm28 at gcc dot gnu dot org
2009-03-30 21:45 ` jsm28 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).