public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/24050] [3.4 Regression] Fails a template instantiation.
       [not found] <bug-24050-11414@http.gcc.gnu.org/bugzilla/>
@ 2005-10-07  4:13 ` gdr at gcc dot gnu dot org
  2005-11-24 16:58 ` reichelt at gcc dot gnu dot org
  2006-03-01  4:49 ` gdr at gcc dot gnu dot org
  2 siblings, 0 replies; 5+ messages in thread
From: gdr at gcc dot gnu dot org @ 2005-10-07  4:13 UTC (permalink / raw)
  To: gcc-bugs



-- 

gdr at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.4.5                       |3.4.6


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


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

* [Bug c++/24050] [3.4 Regression] Fails a template instantiation.
       [not found] <bug-24050-11414@http.gcc.gnu.org/bugzilla/>
  2005-10-07  4:13 ` [Bug c++/24050] [3.4 Regression] Fails a template instantiation gdr at gcc dot gnu dot org
@ 2005-11-24 16:58 ` reichelt at gcc dot gnu dot org
  2006-03-01  4:49 ` gdr at gcc dot gnu dot org
  2 siblings, 0 replies; 5+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-11-24 16:58 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from reichelt at gcc dot gnu dot org  2005-11-24 16:58 -------
Testcase with fewer nesting levels of templates:

========================================
template<int> struct A
{
    static void foo() {}
};

void bar(void (*)()) {}

template<int> struct B
{
    B() { bar(A<0>::foo); }
};

B<0> b;

int main()
{
    return 0;
}
========================================

Compiles with optimization turned on.


-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |reichelt at gcc dot gnu dot
                   |                            |org
           Keywords|                            |monitored


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


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

* [Bug c++/24050] [3.4 Regression] Fails a template instantiation.
       [not found] <bug-24050-11414@http.gcc.gnu.org/bugzilla/>
  2005-10-07  4:13 ` [Bug c++/24050] [3.4 Regression] Fails a template instantiation gdr at gcc dot gnu dot org
  2005-11-24 16:58 ` reichelt at gcc dot gnu dot org
@ 2006-03-01  4:49 ` gdr at gcc dot gnu dot org
  2 siblings, 0 replies; 5+ messages in thread
From: gdr at gcc dot gnu dot org @ 2006-03-01  4:49 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from gdr at gcc dot gnu dot org  2006-03-01 04:49 -------
Fixed in 4.0.0 and up.


-- 

gdr at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|3.4.6                       |4.0.0


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


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

* [Bug c++/24050] [3.4 Regression] Fails a template instantiation.
  2005-09-24 22:06 [Bug c++/24050] New: " bakgab at vnet dot hu
  2005-09-24 22:15 ` [Bug c++/24050] [3.4 Regression] " pinskia at gcc dot gnu dot org
@ 2005-09-24 22:24 ` bakgab at vnet dot hu
  1 sibling, 0 replies; 5+ messages in thread
From: bakgab at vnet dot hu @ 2005-09-24 22:24 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bakgab at vnet dot hu  2005-09-24 22:24 -------
Tested on Debian Sarge with g++-3.3 and g++-3.4.
The former has no problem, but the latter fails to link.
Another man reported to fail (the root problem) on Fedora Core 3. (gcc 3.4 too)

-- 


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


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

* [Bug c++/24050] [3.4 Regression] Fails a template instantiation.
  2005-09-24 22:06 [Bug c++/24050] New: " bakgab at vnet dot hu
@ 2005-09-24 22:15 ` pinskia at gcc dot gnu dot org
  2005-09-24 22:24 ` bakgab at vnet dot hu
  1 sibling, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-24 22:15 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-09-24 22:15 -------
Confirmed, only a 3.4 regression.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |wrong-code
      Known to fail|                            |3.4.0 3.4.4
      Known to work|                            |3.3.3 4.0.0 4.1.0
   Last reconfirmed|0000-00-00 00:00:00         |2005-09-24 22:15:56
               date|                            |
            Summary|Fails a template            |[3.4 Regression] Fails a
                   |instantiation.              |template instantiation.
   Target Milestone|---                         |3.4.5


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


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

end of thread, other threads:[~2006-03-01  4:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-24050-11414@http.gcc.gnu.org/bugzilla/>
2005-10-07  4:13 ` [Bug c++/24050] [3.4 Regression] Fails a template instantiation gdr at gcc dot gnu dot org
2005-11-24 16:58 ` reichelt at gcc dot gnu dot org
2006-03-01  4:49 ` gdr at gcc dot gnu dot org
2005-09-24 22:06 [Bug c++/24050] New: " bakgab at vnet dot hu
2005-09-24 22:15 ` [Bug c++/24050] [3.4 Regression] " pinskia at gcc dot gnu dot org
2005-09-24 22:24 ` bakgab at vnet dot hu

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).