public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/30425]  New: [3.4/4.0/4.1 Regression] ICE in type_dependent_expression_p, at cp/pt.c:12739
@ 2007-01-10 15:22 tbm at cyrius dot com
  2007-01-21  5:35 ` [Bug c++/30425] [4.0/4.1 " bangerth at dealii dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: tbm at cyrius dot com @ 2007-01-10 15:22 UTC (permalink / raw)
  To: gcc-bugs

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

[ Forwarded from http://bugs.debian.org/406324 ]

Alexei Sheplyakov reports that gcc 3.4, 4.0 and 4.1 produces an ICE on the
following invalid code:

namespace A {
        class ex;
        struct f { f(const ex& x); };
}

namespace B {
        template<typename T> inline A::f g(const T& p) {
                return f(A::ex(p)); }
}


(sid)648:tbm@em64t: ~] gcc-4.1 -c -O t.cc
t.cc: In function ‘A::f B::g(const T&)’:
t.cc:8: internal compiler error: in type_dependent_expression_p, at
cp/pt.c:12745
Please submit a full bug report,

GCC 3.3 accepts this invalid code, and 4.2 rejects it with:

t.cc: In function 'A::f B::g(const T&)':
t.cc:3: error: argument dependent lookup finds 'struct A::f'
t.cc:8: error:   in call to 'f'


-- 
           Summary: [3.4/4.0/4.1 Regression] ICE in
                    type_dependent_expression_p, at cp/pt.c:12739
           Product: gcc
           Version: 4.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tbm at cyrius dot com


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


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

* [Bug c++/30425] [4.0/4.1 Regression] ICE in type_dependent_expression_p, at cp/pt.c:12739
  2007-01-10 15:22 [Bug c++/30425] New: [3.4/4.0/4.1 Regression] ICE in type_dependent_expression_p, at cp/pt.c:12739 tbm at cyrius dot com
@ 2007-01-21  5:35 ` bangerth at dealii dot org
  2007-01-21 22:02 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: bangerth at dealii dot org @ 2007-01-21  5:35 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from bangerth at dealii dot org  2007-01-21 05:34 -------
Confirmed.


-- 

bangerth at dealii dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bangerth at dealii dot org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2007-01-21 05:34:50
               date|                            |


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


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

* [Bug c++/30425] [4.0/4.1 Regression] ICE in type_dependent_expression_p, at cp/pt.c:12739
  2007-01-10 15:22 [Bug c++/30425] New: [3.4/4.0/4.1 Regression] ICE in type_dependent_expression_p, at cp/pt.c:12739 tbm at cyrius dot com
  2007-01-21  5:35 ` [Bug c++/30425] [4.0/4.1 " bangerth at dealii dot org
@ 2007-01-21 22:02 ` pinskia at gcc dot gnu dot org
  2007-01-25  6:06 ` mmitchel at gcc dot gnu dot org
  2007-02-09  1:31 ` reichelt at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-01-21 22:02 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

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


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


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

* [Bug c++/30425] [4.0/4.1 Regression] ICE in type_dependent_expression_p, at cp/pt.c:12739
  2007-01-10 15:22 [Bug c++/30425] New: [3.4/4.0/4.1 Regression] ICE in type_dependent_expression_p, at cp/pt.c:12739 tbm at cyrius dot com
  2007-01-21  5:35 ` [Bug c++/30425] [4.0/4.1 " bangerth at dealii dot org
  2007-01-21 22:02 ` pinskia at gcc dot gnu dot org
@ 2007-01-25  6:06 ` mmitchel at gcc dot gnu dot org
  2007-02-09  1:31 ` reichelt at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-01-25  6:06 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=30425


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

* [Bug c++/30425] [4.0/4.1 Regression] ICE in type_dependent_expression_p, at cp/pt.c:12739
  2007-01-10 15:22 [Bug c++/30425] New: [3.4/4.0/4.1 Regression] ICE in type_dependent_expression_p, at cp/pt.c:12739 tbm at cyrius dot com
                   ` (2 preceding siblings ...)
  2007-01-25  6:06 ` mmitchel at gcc dot gnu dot org
@ 2007-02-09  1:31 ` reichelt at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2007-02-09  1:31 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from reichelt at gcc dot gnu dot org  2007-02-09 01:31 -------


*** This bug has been marked as a duplicate of 28705 ***


-- 

reichelt at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2007-02-09  1:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-10 15:22 [Bug c++/30425] New: [3.4/4.0/4.1 Regression] ICE in type_dependent_expression_p, at cp/pt.c:12739 tbm at cyrius dot com
2007-01-21  5:35 ` [Bug c++/30425] [4.0/4.1 " bangerth at dealii dot org
2007-01-21 22:02 ` pinskia at gcc dot gnu dot org
2007-01-25  6:06 ` mmitchel at gcc dot gnu dot org
2007-02-09  1:31 ` 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).