public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/26295]  New: Invalid namespace pointer seg fault
@ 2006-02-15  4:45 gcc-bugzilla at meta-dynamic dot com
  2006-02-15  4:54 ` [Bug c++/26295] " pinskia at gcc dot gnu dot org
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: gcc-bugzilla at meta-dynamic dot com @ 2006-02-15  4:45 UTC (permalink / raw)
  To: gcc-bugs

Compiling this code:
    namespace A { } ;
    int (A::*B)();
With this command:
    g++ --version ; g++ -c test-bug-1.cc
Produces this output:
    g++ (GCC) 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9)
    Copyright (C) 2005 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.  There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

    test-bug-1.cc:3: internal compiler error: Segmentation fault
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See <URL:http://gcc.gnu.org/bugs.html> for instructions.
    For Debian GNU/Linux specific bug reporting instructions,
    see <URL:file:///usr/share/doc/gcc-4.0/README.Bugs>.

NOTE: I don't know if this is the most up-to-date version of the compiler; it
is the one that is distributed with my operating system.  I tried searching
existing bugs but didn't see this one; my apologies if it has already been
reported and/or fixed.


-- 
           Summary: Invalid namespace pointer seg fault
           Product: gcc
           Version: 4.0.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: gcc-bugzilla at meta-dynamic dot com


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


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

* [Bug c++/26295] Invalid namespace pointer seg fault
  2006-02-15  4:45 [Bug c++/26295] New: Invalid namespace pointer seg fault gcc-bugzilla at meta-dynamic dot com
@ 2006-02-15  4:54 ` pinskia at gcc dot gnu dot org
  2006-02-15  4:56 ` [Bug c++/26295] [4.0/4.1/4.2 Regression] " pinskia at gcc dot gnu dot org
                   ` (11 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-02-15  4:54 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 531 bytes --]



------- Comment #1 from pinskia at gcc dot gnu dot org  2006-02-15 04:54 -------
t.cc:2: internal compiler error: tree check: expected class ‘type’, have
‘declaration’ (namespace_decl) in cp_type_quals, at cp/typeck.c:6560


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-invalid-code


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


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

* [Bug c++/26295] [4.0/4.1/4.2 Regression] Invalid namespace pointer seg fault
  2006-02-15  4:45 [Bug c++/26295] New: Invalid namespace pointer seg fault gcc-bugzilla at meta-dynamic dot com
  2006-02-15  4:54 ` [Bug c++/26295] " pinskia at gcc dot gnu dot org
@ 2006-02-15  4:56 ` pinskia at gcc dot gnu dot org
  2006-02-15  4:57 ` pinskia at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-02-15  4:56 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |4.0.0 4.1.0 4.2.0 3.4.0
      Known to work|                            |3.4.0
            Summary|Invalid namespace pointer   |[4.0/4.1/4.2 Regression]
                   |seg fault                   |Invalid namespace pointer
                   |                            |seg fault
   Target Milestone|---                         |4.0.3


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


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

* [Bug c++/26295] [4.0/4.1/4.2 Regression] Invalid namespace pointer seg fault
  2006-02-15  4:45 [Bug c++/26295] New: Invalid namespace pointer seg fault gcc-bugzilla at meta-dynamic dot com
  2006-02-15  4:54 ` [Bug c++/26295] " pinskia at gcc dot gnu dot org
  2006-02-15  4:56 ` [Bug c++/26295] [4.0/4.1/4.2 Regression] " pinskia at gcc dot gnu dot org
@ 2006-02-15  4:57 ` pinskia at gcc dot gnu dot org
  2006-02-18  6:44 ` mmitchel at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-02-15  4:57 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2006-02-15 04:57 -------
Confirmed, a regression from 3.4.x.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
      Known to work|3.4.0                       |3.4.0 3.4.5
   Last reconfirmed|0000-00-00 00:00:00         |2006-02-15 04:57:14
               date|                            |


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


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

* [Bug c++/26295] [4.0/4.1/4.2 Regression] Invalid namespace pointer seg fault
  2006-02-15  4:45 [Bug c++/26295] New: Invalid namespace pointer seg fault gcc-bugzilla at meta-dynamic dot com
                   ` (2 preceding siblings ...)
  2006-02-15  4:57 ` pinskia at gcc dot gnu dot org
@ 2006-02-18  6:44 ` mmitchel at gcc dot gnu dot org
  2006-02-18  9:58 ` mmitchel at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-02-18  6:44 UTC (permalink / raw)
  To: gcc-bugs



-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2


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


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

* [Bug c++/26295] [4.0/4.1/4.2 Regression] Invalid namespace pointer seg fault
  2006-02-15  4:45 [Bug c++/26295] New: Invalid namespace pointer seg fault gcc-bugzilla at meta-dynamic dot com
                   ` (3 preceding siblings ...)
  2006-02-18  6:44 ` mmitchel at gcc dot gnu dot org
@ 2006-02-18  9:58 ` mmitchel at gcc dot gnu dot org
  2006-02-24  0:31 ` mmitchel at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-02-18  9:58 UTC (permalink / raw)
  To: gcc-bugs



-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |mark at codesourcery dot com
                   |dot org                     |
             Status|NEW                         |ASSIGNED


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


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

* [Bug c++/26295] [4.0/4.1/4.2 Regression] Invalid namespace pointer seg fault
  2006-02-15  4:45 [Bug c++/26295] New: Invalid namespace pointer seg fault gcc-bugzilla at meta-dynamic dot com
                   ` (4 preceding siblings ...)
  2006-02-18  9:58 ` mmitchel at gcc dot gnu dot org
@ 2006-02-24  0:31 ` mmitchel at gcc dot gnu dot org
  2006-02-28 23:55 ` pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-02-24  0:31 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from mmitchel at gcc dot gnu dot org  2006-02-24 00:27 -------
This issue will not be resolved in GCC 4.1.0; retargeted at GCC 4.1.1.


-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.0.3                       |4.1.1


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


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

* [Bug c++/26295] [4.0/4.1/4.2 Regression] Invalid namespace pointer seg fault
  2006-02-15  4:45 [Bug c++/26295] New: Invalid namespace pointer seg fault gcc-bugzilla at meta-dynamic dot com
                   ` (5 preceding siblings ...)
  2006-02-24  0:31 ` mmitchel at gcc dot gnu dot org
@ 2006-02-28 23:55 ` pinskia at gcc dot gnu dot org
  2006-04-11 23:00 ` mmitchel at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-02-28 23:55 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pinskia at gcc dot gnu dot org  2006-02-28 23:29 -------
*** Bug 26502 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marc dot mongenet at gmail
                   |                            |dot com


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


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

* [Bug c++/26295] [4.0/4.1/4.2 Regression] Invalid namespace pointer seg fault
  2006-02-15  4:45 [Bug c++/26295] New: Invalid namespace pointer seg fault gcc-bugzilla at meta-dynamic dot com
                   ` (6 preceding siblings ...)
  2006-02-28 23:55 ` pinskia at gcc dot gnu dot org
@ 2006-04-11 23:00 ` mmitchel at gcc dot gnu dot org
  2006-04-12  2:05 ` mmitchel at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-04-11 23:00 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from mmitchel at gcc dot gnu dot org  2006-04-11 23:00 -------
Subject: Bug 26295

Author: mmitchel
Date: Tue Apr 11 22:59:57 2006
New Revision: 112869

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=112869
Log:
        * g++.dg/parse/dtor7.C: New test.
        * g++.dg/parse/new1.C: Add error marker.
        * g++.dg/template/new3.C: New test.

        PR c++/26122
        * g++.dg/template/pure1.C: New test.

        PR c++/26295
        * g++.dg/parse/ptrmem4.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/parse/ptrmem4.C
    trunk/gcc/testsuite/g++.dg/template/new3.C
    trunk/gcc/testsuite/g++.dg/template/pure1.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/call.c
    trunk/gcc/cp/cp-tree.h
    trunk/gcc/cp/decl.c
    trunk/gcc/cp/init.c
    trunk/gcc/cp/parser.c
    trunk/gcc/cp/pt.c
    trunk/gcc/cp/semantics.c
    trunk/gcc/cp/typeck2.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/parse/dtor7.C
    trunk/gcc/testsuite/g++.dg/parse/new1.C


-- 


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


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

* [Bug c++/26295] [4.0/4.1/4.2 Regression] Invalid namespace pointer seg fault
  2006-02-15  4:45 [Bug c++/26295] New: Invalid namespace pointer seg fault gcc-bugzilla at meta-dynamic dot com
                   ` (7 preceding siblings ...)
  2006-04-11 23:00 ` mmitchel at gcc dot gnu dot org
@ 2006-04-12  2:05 ` mmitchel at gcc dot gnu dot org
  2006-04-12  2:06 ` [Bug c++/26295] [4.0 " mmitchel at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-04-12  2:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from mmitchel at gcc dot gnu dot org  2006-04-12 02:05 -------
Subject: Bug 26295

Author: mmitchel
Date: Wed Apr 12 02:05:21 2006
New Revision: 112881

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=112881
Log:
        PR c++/26295
        * decl.c (grokdeclarator): Remove namespace-handling code for
        pointers-to-members.  
        * parser.c (cp_parser_ptr_operator): Check for qualified names
        using namespaces.
        PR c++/26295
        * g++.dg/parse/ptrmem4.C: New test.

Added:
    branches/gcc-4_1-branch/gcc/testsuite/g++.dg/parse/ptrmem4.C
Modified:
    branches/gcc-4_1-branch/gcc/cp/ChangeLog
    branches/gcc-4_1-branch/gcc/cp/parser.c
    branches/gcc-4_1-branch/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug c++/26295] [4.0 Regression] Invalid namespace pointer seg fault
  2006-02-15  4:45 [Bug c++/26295] New: Invalid namespace pointer seg fault gcc-bugzilla at meta-dynamic dot com
                   ` (8 preceding siblings ...)
  2006-04-12  2:05 ` mmitchel at gcc dot gnu dot org
@ 2006-04-12  2:06 ` mmitchel at gcc dot gnu dot org
  2006-05-25  2:38 ` mmitchel at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-04-12  2:06 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from mmitchel at gcc dot gnu dot org  2006-04-12 02:06 -------
Fixed in 4.1.1.


-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|mark at codesourcery dot com|unassigned at gcc dot gnu
                   |                            |dot org
             Status|ASSIGNED                    |NEW
            Summary|[4.0/4.1/4.2 Regression]    |[4.0 Regression] Invalid
                   |Invalid namespace pointer   |namespace pointer seg fault
                   |seg fault                   |


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


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

* [Bug c++/26295] [4.0 Regression] Invalid namespace pointer seg fault
  2006-02-15  4:45 [Bug c++/26295] New: Invalid namespace pointer seg fault gcc-bugzilla at meta-dynamic dot com
                   ` (9 preceding siblings ...)
  2006-04-12  2:06 ` [Bug c++/26295] [4.0 " mmitchel at gcc dot gnu dot org
@ 2006-05-25  2:38 ` mmitchel at gcc dot gnu dot org
  2006-05-25 16:30 ` pinskia at gcc dot gnu dot org
  2007-02-03 16:17 ` gdr at gcc dot gnu dot org
  12 siblings, 0 replies; 14+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-05-25  2:38 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from mmitchel at gcc dot gnu dot org  2006-05-25 02:34 -------
Will not be fixed in 4.1.1; adjust target milestone to 4.1.2.


-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.1.1                       |4.1.2


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


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

* [Bug c++/26295] [4.0 Regression] Invalid namespace pointer seg fault
  2006-02-15  4:45 [Bug c++/26295] New: Invalid namespace pointer seg fault gcc-bugzilla at meta-dynamic dot com
                   ` (10 preceding siblings ...)
  2006-05-25  2:38 ` mmitchel at gcc dot gnu dot org
@ 2006-05-25 16:30 ` pinskia at gcc dot gnu dot org
  2007-02-03 16:17 ` gdr at gcc dot gnu dot org
  12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-05-25 16:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from pinskia at gcc dot gnu dot org  2006-05-25 16:30 -------
Actually this was fixed in 4.1.1 so changing the milestone again.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|4.0.0 4.1.0 4.2.0           |4.0.0 4.1.0
      Known to work|3.4.0 3.4.5                 |3.4.0 3.4.5 4.1.1 4.2.0
   Target Milestone|4.1.2                       |4.0.4


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


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

* [Bug c++/26295] [4.0 Regression] Invalid namespace pointer seg fault
  2006-02-15  4:45 [Bug c++/26295] New: Invalid namespace pointer seg fault gcc-bugzilla at meta-dynamic dot com
                   ` (11 preceding siblings ...)
  2006-05-25 16:30 ` pinskia at gcc dot gnu dot org
@ 2007-02-03 16:17 ` gdr at gcc dot gnu dot org
  12 siblings, 0 replies; 14+ messages in thread
From: gdr at gcc dot gnu dot org @ 2007-02-03 16:17 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from gdr at gcc dot gnu dot org  2007-02-03 16:16 -------
Fixed in GCC-4.1.1.


-- 

gdr at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|4.0.4                       |4.1.1


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


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

end of thread, other threads:[~2007-02-03 16:17 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-15  4:45 [Bug c++/26295] New: Invalid namespace pointer seg fault gcc-bugzilla at meta-dynamic dot com
2006-02-15  4:54 ` [Bug c++/26295] " pinskia at gcc dot gnu dot org
2006-02-15  4:56 ` [Bug c++/26295] [4.0/4.1/4.2 Regression] " pinskia at gcc dot gnu dot org
2006-02-15  4:57 ` pinskia at gcc dot gnu dot org
2006-02-18  6:44 ` mmitchel at gcc dot gnu dot org
2006-02-18  9:58 ` mmitchel at gcc dot gnu dot org
2006-02-24  0:31 ` mmitchel at gcc dot gnu dot org
2006-02-28 23:55 ` pinskia at gcc dot gnu dot org
2006-04-11 23:00 ` mmitchel at gcc dot gnu dot org
2006-04-12  2:05 ` mmitchel at gcc dot gnu dot org
2006-04-12  2:06 ` [Bug c++/26295] [4.0 " mmitchel at gcc dot gnu dot org
2006-05-25  2:38 ` mmitchel at gcc dot gnu dot org
2006-05-25 16:30 ` pinskia at gcc dot gnu dot org
2007-02-03 16:17 ` gdr 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).