public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/12332] New: ICE in overload resolution
@ 2003-09-18 18:50 nathan at gcc dot gnu dot org
  2003-09-18 18:51 ` [Bug c++/12332] " nathan at gcc dot gnu dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: nathan at gcc dot gnu dot org @ 2003-09-18 18:50 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: ICE in overload resolution
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: nathan at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu

template <unsigned D> class TPL;

template <typename T> struct X {
  int lower ();
  
  template <template <typename> class V>
  V<TPL<V<int>::d> > operator () ();
};

void Foo (X<int> &x) {
  x.lower ();
}

nathan@garibaldi:186>./cc1plus -quiet current/j.ii
current/j.ii: In instantiation of `X<int>':
current/j.ii:12:   instantiated from here
current/j.ii:8: internal compiler error: in lookup_member, at cp/search.c:1237

used to work in 3.2 and 3.3


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

* [Bug c++/12332] ICE in overload resolution
  2003-09-18 18:50 [Bug c++/12332] New: ICE in overload resolution nathan at gcc dot gnu dot org
@ 2003-09-18 18:51 ` nathan at gcc dot gnu dot org
  2003-09-18 19:23 ` nathan at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: nathan at gcc dot gnu dot org @ 2003-09-18 18:51 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


nathan at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |nathan at gcc dot gnu dot
                   |dot org                     |org
             Status|UNCONFIRMED                 |ASSIGNED


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

* [Bug c++/12332] ICE in overload resolution
  2003-09-18 18:50 [Bug c++/12332] New: ICE in overload resolution nathan at gcc dot gnu dot org
  2003-09-18 18:51 ` [Bug c++/12332] " nathan at gcc dot gnu dot org
@ 2003-09-18 19:23 ` nathan at gcc dot gnu dot org
  2003-09-18 19:43 ` nathan at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: nathan at gcc dot gnu dot org @ 2003-09-18 19:23 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From nathan at gcc dot gnu dot org  2003-09-18 18:51 -------
Here is a related bug, extern inlines are not processed correctly

extern inline void Foo () {}
static void Baz () { Foo (); }

We emit the body of Foo when using cc1plus, but not when using cc1


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

* [Bug c++/12332] ICE in overload resolution
  2003-09-18 18:50 [Bug c++/12332] New: ICE in overload resolution nathan at gcc dot gnu dot org
  2003-09-18 18:51 ` [Bug c++/12332] " nathan at gcc dot gnu dot org
  2003-09-18 19:23 ` nathan at gcc dot gnu dot org
@ 2003-09-18 19:43 ` nathan at gcc dot gnu dot org
  2003-09-19 13:49 ` nathan at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: nathan at gcc dot gnu dot org @ 2003-09-18 19:43 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From nathan at gcc dot gnu dot org  2003-09-18 19:09 -------
sorry, that previous comment was for PR 12291


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

* [Bug c++/12332] ICE in overload resolution
  2003-09-18 18:50 [Bug c++/12332] New: ICE in overload resolution nathan at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2003-09-18 19:43 ` nathan at gcc dot gnu dot org
@ 2003-09-19 13:49 ` nathan at gcc dot gnu dot org
  2003-09-19 14:08 ` nathan at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: nathan at gcc dot gnu dot org @ 2003-09-19 13:49 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From nathan at gcc dot gnu dot org  2003-09-19 09:52 -------
2003-09-19  Nathan Sidwell  <nathan@codesourcery.com>

	PR c++/12232
	* pt.c (instantiate_class_template): Increment
	processing_template_decl around the tsubst of a template member
	function.


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

* [Bug c++/12332] ICE in overload resolution
  2003-09-18 18:50 [Bug c++/12332] New: ICE in overload resolution nathan at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2003-09-19 13:49 ` nathan at gcc dot gnu dot org
@ 2003-09-19 14:08 ` nathan at gcc dot gnu dot org
  2003-09-20 16:44 ` [Bug c++/12332] [3.4 Regression] " pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: nathan at gcc dot gnu dot org @ 2003-09-19 14:08 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


nathan at gcc dot gnu dot org changed:

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


------- Additional Comments From nathan at gcc dot gnu dot org  2003-09-19 09:52 -------
fixed


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

* [Bug c++/12332] [3.4 Regression] ICE in overload resolution
  2003-09-18 18:50 [Bug c++/12332] New: ICE in overload resolution nathan at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2003-09-19 14:08 ` nathan at gcc dot gnu dot org
@ 2003-09-20 16:44 ` pinskia at gcc dot gnu dot org
  2003-09-20 16:45 ` lerdsuwa at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-09-20 16:44 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
           Severity|normal                      |critical
             Status|RESOLVED                    |UNCONFIRMED
           Keywords|                            |ice-on-valid-code
         Resolution|FIXED                       |
            Summary|ICE in overload resolution  |[3.4 Regression] ICE in
                   |                            |overload resolution
   Target Milestone|---                         |3.4


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-09-20 16:32 -------
Reopening since the patch to pt.c was not applied.


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

* [Bug c++/12332] [3.4 Regression] ICE in overload resolution
  2003-09-18 18:50 [Bug c++/12332] New: ICE in overload resolution nathan at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2003-09-20 16:44 ` [Bug c++/12332] [3.4 Regression] " pinskia at gcc dot gnu dot org
@ 2003-09-20 16:45 ` lerdsuwa at gcc dot gnu dot org
  2003-09-20 18:06 ` lerdsuwa at gcc dot gnu dot org
  2003-09-20 22:32 ` pinskia at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: lerdsuwa at gcc dot gnu dot org @ 2003-09-20 16:45 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


lerdsuwa at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bbaetz at student dot usyd
                   |                            |dot edu dot au


------- Additional Comments From lerdsuwa at gcc dot gnu dot org  2003-09-20 16:44 -------
*** Bug 6730 has been marked as a duplicate of this bug. ***


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

* [Bug c++/12332] [3.4 Regression] ICE in overload resolution
  2003-09-18 18:50 [Bug c++/12332] New: ICE in overload resolution nathan at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2003-09-20 16:45 ` lerdsuwa at gcc dot gnu dot org
@ 2003-09-20 18:06 ` lerdsuwa at gcc dot gnu dot org
  2003-09-20 22:32 ` pinskia at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: lerdsuwa at gcc dot gnu dot org @ 2003-09-20 18:06 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


lerdsuwa at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hg211 at ural2 dot hszk dot
                   |                            |bme dot hu


------- Additional Comments From lerdsuwa at gcc dot gnu dot org  2003-09-20 16:44 -------
*** Bug 10223 has been marked as a duplicate of this bug. ***


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

* [Bug c++/12332] [3.4 Regression] ICE in overload resolution
  2003-09-18 18:50 [Bug c++/12332] New: ICE in overload resolution nathan at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2003-09-20 18:06 ` lerdsuwa at gcc dot gnu dot org
@ 2003-09-20 22:32 ` pinskia at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-09-20 22:32 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at gcc dot gnu dot org changed:

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


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-09-20 19:54 -------
Fixed commited this time.


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

end of thread, other threads:[~2003-09-20 19:54 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-18 18:50 [Bug c++/12332] New: ICE in overload resolution nathan at gcc dot gnu dot org
2003-09-18 18:51 ` [Bug c++/12332] " nathan at gcc dot gnu dot org
2003-09-18 19:23 ` nathan at gcc dot gnu dot org
2003-09-18 19:43 ` nathan at gcc dot gnu dot org
2003-09-19 13:49 ` nathan at gcc dot gnu dot org
2003-09-19 14:08 ` nathan at gcc dot gnu dot org
2003-09-20 16:44 ` [Bug c++/12332] [3.4 Regression] " pinskia at gcc dot gnu dot org
2003-09-20 16:45 ` lerdsuwa at gcc dot gnu dot org
2003-09-20 18:06 ` lerdsuwa at gcc dot gnu dot org
2003-09-20 22:32 ` pinskia 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).