public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/27495]  New: [4.0/4.1/4.2 regression] ICE using "." instead of "->"
@ 2006-05-08 15:34 reichelt at gcc dot gnu dot org
  2006-05-08 15:45 ` [Bug c++/27495] " pinskia at gcc dot gnu dot org
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-05-08 15:34 UTC (permalink / raw)
  To: gcc-bugs

The following invalid code snippet causes an ICE since GCC 3.4.3:

===================================
struct A
{
    template<int> void foo();
    void bar() { this.A::foo<0>(); }
};
===================================

bug.cc: In member function 'void A::bar()':
bug.cc:4: internal compiler error: tree check: expected record_type or
union_type or qual_union_type, have pointer_type in lookup_base, at
cp/search.c:213
Please submit a full bug report, [etc.]


-- 
           Summary: [4.0/4.1/4.2 regression] ICE using "." instead of "->"
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Keywords: ice-on-invalid-code, 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=27495


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

* [Bug c++/27495] [4.0/4.1/4.2 regression] ICE using "." instead of "->"
  2006-05-08 15:34 [Bug c++/27495] New: [4.0/4.1/4.2 regression] ICE using "." instead of "->" reichelt at gcc dot gnu dot org
@ 2006-05-08 15:45 ` pinskia at gcc dot gnu dot org
  2006-05-09  8:00 ` pinskia at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-05-08 15:45 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=27495


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

* [Bug c++/27495] [4.0/4.1/4.2 regression] ICE using "." instead of "->"
  2006-05-08 15:34 [Bug c++/27495] New: [4.0/4.1/4.2 regression] ICE using "." instead of "->" reichelt at gcc dot gnu dot org
  2006-05-08 15:45 ` [Bug c++/27495] " pinskia at gcc dot gnu dot org
@ 2006-05-09  8:00 ` pinskia at gcc dot gnu dot org
  2006-06-04 18:52 ` mmitchel at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-05-09  8:00 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2006-05-09 08:00 -------
Confirmed.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2006-05-09 08:00:06
               date|                            |


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


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

* [Bug c++/27495] [4.0/4.1/4.2 regression] ICE using "." instead of "->"
  2006-05-08 15:34 [Bug c++/27495] New: [4.0/4.1/4.2 regression] ICE using "." instead of "->" reichelt at gcc dot gnu dot org
  2006-05-08 15:45 ` [Bug c++/27495] " pinskia at gcc dot gnu dot org
  2006-05-09  8:00 ` pinskia at gcc dot gnu dot org
@ 2006-06-04 18:52 ` mmitchel at gcc dot gnu dot org
  2006-06-22 16:55 ` sje at cup dot hp dot com
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-06-04 18:52 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=27495


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

* [Bug c++/27495] [4.0/4.1/4.2 regression] ICE using "." instead of "->"
  2006-05-08 15:34 [Bug c++/27495] New: [4.0/4.1/4.2 regression] ICE using "." instead of "->" reichelt at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2006-06-04 18:52 ` mmitchel at gcc dot gnu dot org
@ 2006-06-22 16:55 ` sje at cup dot hp dot com
  2006-07-18 17:01 ` sje at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: sje at cup dot hp dot com @ 2006-06-22 16:55 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from sje at cup dot hp dot com  2006-06-22 16:40 -------
Proposed patch at http://gcc.gnu.org/ml/gcc-patches/2006-06/msg01231.html


-- 

sje at cup dot hp dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sje at cup dot hp dot com


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


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

* [Bug c++/27495] [4.0/4.1/4.2 regression] ICE using "." instead of "->"
  2006-05-08 15:34 [Bug c++/27495] New: [4.0/4.1/4.2 regression] ICE using "." instead of "->" reichelt at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2006-06-22 16:55 ` sje at cup dot hp dot com
@ 2006-07-18 17:01 ` sje at gcc dot gnu dot org
  2006-07-18 17:03 ` sje at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: sje at gcc dot gnu dot org @ 2006-07-18 17:01 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from sje at gcc dot gnu dot org  2006-07-18 17:01 -------
Subject: Bug 27495

Author: sje
Date: Tue Jul 18 17:01:19 2006
New Revision: 115557

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115557
Log:
        PR c++/27495
        * search.c (adjust_result_of_qualified_name_lookup): Change
        assert to part of if statement.

Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/search.c


-- 


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


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

* [Bug c++/27495] [4.0/4.1/4.2 regression] ICE using "." instead of "->"
  2006-05-08 15:34 [Bug c++/27495] New: [4.0/4.1/4.2 regression] ICE using "." instead of "->" reichelt at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2006-07-18 17:01 ` sje at gcc dot gnu dot org
@ 2006-07-18 17:03 ` sje at gcc dot gnu dot org
  2006-07-19  9:51 ` [Bug c++/27495] [4.0/4.1 " reichelt at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: sje at gcc dot gnu dot org @ 2006-07-18 17:03 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from sje at gcc dot gnu dot org  2006-07-18 17:03 -------
Subject: Bug 27495

Author: sje
Date: Tue Jul 18 17:03:38 2006
New Revision: 115558

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115558
Log:
        PR c++/27495
        * g++.dg/other/pr27495.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/other/pr27495.C
Modified:
    trunk/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug c++/27495] [4.0/4.1 regression] ICE using "." instead of "->"
  2006-05-08 15:34 [Bug c++/27495] New: [4.0/4.1/4.2 regression] ICE using "." instead of "->" reichelt at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2006-07-18 17:03 ` sje at gcc dot gnu dot org
@ 2006-07-19  9:51 ` reichelt at gcc dot gnu dot org
  2006-07-20 17:43 ` sje at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-07-19  9:51 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from reichelt at gcc dot gnu dot org  2006-07-19 09:51 -------
Fixed at least 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
                   |using "." instead of "->"   |using "." instead of "->"


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


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

* [Bug c++/27495] [4.0/4.1 regression] ICE using "." instead of "->"
  2006-05-08 15:34 [Bug c++/27495] New: [4.0/4.1/4.2 regression] ICE using "." instead of "->" reichelt at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2006-07-19  9:51 ` [Bug c++/27495] [4.0/4.1 " reichelt at gcc dot gnu dot org
@ 2006-07-20 17:43 ` sje at gcc dot gnu dot org
  2006-07-20 17:47 ` sje at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: sje at gcc dot gnu dot org @ 2006-07-20 17:43 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from sje at gcc dot gnu dot org  2006-07-20 17:43 -------
Subject: Bug 27495

Author: sje
Date: Thu Jul 20 17:43:08 2006
New Revision: 115626

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115626
Log:
        PR c++/27495
        * search.c (adjust_result_of_qualified_name_lookup): Change
        assert to part of if statement.
        * g++.dg/other/pr27495.C: New.

Added:
    branches/gcc-4_1-branch/gcc/testsuite/g++.dg/other/pr27495.C
Modified:
    branches/gcc-4_1-branch/gcc/cp/ChangeLog
    branches/gcc-4_1-branch/gcc/cp/search.c
    branches/gcc-4_1-branch/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug c++/27495] [4.0/4.1 regression] ICE using "." instead of "->"
  2006-05-08 15:34 [Bug c++/27495] New: [4.0/4.1/4.2 regression] ICE using "." instead of "->" reichelt at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2006-07-20 17:43 ` sje at gcc dot gnu dot org
@ 2006-07-20 17:47 ` sje at gcc dot gnu dot org
  2006-07-21 10:11 ` [Bug c++/27495] [4.0/4.1/4.2 " reichelt at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: sje at gcc dot gnu dot org @ 2006-07-20 17:47 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from sje at gcc dot gnu dot org  2006-07-20 17:47 -------
Subject: Bug 27495

Author: sje
Date: Thu Jul 20 17:46:57 2006
New Revision: 115627

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115627
Log:
        PR c++/27495
        * search.c (adjust_result_of_qualified_name_lookup): Change
        assert to part of if statement.
        * g++.dg/other/pr27495.C: New.

Added:
    branches/gcc-4_0-branch/gcc/testsuite/g++.dg/other/pr27495.C
Modified:
    branches/gcc-4_0-branch/gcc/cp/ChangeLog
    branches/gcc-4_0-branch/gcc/cp/search.c
    branches/gcc-4_0-branch/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug c++/27495] [4.0/4.1/4.2 regression] ICE using "." instead of "->"
  2006-05-08 15:34 [Bug c++/27495] New: [4.0/4.1/4.2 regression] ICE using "." instead of "->" reichelt at gcc dot gnu dot org
                   ` (8 preceding siblings ...)
  2006-07-20 17:47 ` sje at gcc dot gnu dot org
@ 2006-07-21 10:11 ` reichelt at gcc dot gnu dot org
  2006-07-21 15:03 ` sje at cup dot hp dot com
  2006-07-21 15:13 ` reichelt at gcc dot gnu dot org
  11 siblings, 0 replies; 13+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-07-21 10:11 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from reichelt at gcc dot gnu dot org  2006-07-21 10:11 -------
Fixed on mainline, 4.1 branch, and 4.0 branch.


-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[4.0/4.1 regression] ICE    |[4.0/4.1/4.2 regression] ICE
                   |using "." instead of "->"   |using "." instead of "->"


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


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

* [Bug c++/27495] [4.0/4.1/4.2 regression] ICE using "." instead of "->"
  2006-05-08 15:34 [Bug c++/27495] New: [4.0/4.1/4.2 regression] ICE using "." instead of "->" reichelt at gcc dot gnu dot org
                   ` (9 preceding siblings ...)
  2006-07-21 10:11 ` [Bug c++/27495] [4.0/4.1/4.2 " reichelt at gcc dot gnu dot org
@ 2006-07-21 15:03 ` sje at cup dot hp dot com
  2006-07-21 15:13 ` reichelt at gcc dot gnu dot org
  11 siblings, 0 replies; 13+ messages in thread
From: sje at cup dot hp dot com @ 2006-07-21 15:03 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from sje at cup dot hp dot com  2006-07-21 15:03 -------
Not sure why Volker didn't mark it as resolved, but since it is, I will.


-- 

sje at cup dot hp dot com changed:

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


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


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

* [Bug c++/27495] [4.0/4.1/4.2 regression] ICE using "." instead of "->"
  2006-05-08 15:34 [Bug c++/27495] New: [4.0/4.1/4.2 regression] ICE using "." instead of "->" reichelt at gcc dot gnu dot org
                   ` (10 preceding siblings ...)
  2006-07-21 15:03 ` sje at cup dot hp dot com
@ 2006-07-21 15:13 ` reichelt at gcc dot gnu dot org
  11 siblings, 0 replies; 13+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-07-21 15:13 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from reichelt at gcc dot gnu dot org  2006-07-21 15:12 -------
> Not sure why Volker didn't mark it as resolved, but since it is, I will.

Just forgot to push the button.

Btw, assigning the PR to you if you are working on it (or posted a patch)
and closing it if you fixed it would be nice. Thanks!


-- 


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


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

end of thread, other threads:[~2006-07-21 15:13 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-08 15:34 [Bug c++/27495] New: [4.0/4.1/4.2 regression] ICE using "." instead of "->" reichelt at gcc dot gnu dot org
2006-05-08 15:45 ` [Bug c++/27495] " pinskia at gcc dot gnu dot org
2006-05-09  8:00 ` pinskia at gcc dot gnu dot org
2006-06-04 18:52 ` mmitchel at gcc dot gnu dot org
2006-06-22 16:55 ` sje at cup dot hp dot com
2006-07-18 17:01 ` sje at gcc dot gnu dot org
2006-07-18 17:03 ` sje at gcc dot gnu dot org
2006-07-19  9:51 ` [Bug c++/27495] [4.0/4.1 " reichelt at gcc dot gnu dot org
2006-07-20 17:43 ` sje at gcc dot gnu dot org
2006-07-20 17:47 ` sje at gcc dot gnu dot org
2006-07-21 10:11 ` [Bug c++/27495] [4.0/4.1/4.2 " reichelt at gcc dot gnu dot org
2006-07-21 15:03 ` sje at cup dot hp dot com
2006-07-21 15:13 ` 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).