This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/17530] [4.0 Regression] failure to emit inline function
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Sep 2004 03:26:57 -0000
- Subject: [Bug c++/17530] [4.0 Regression] failure to emit inline function
- References: <20040917023936.17530.snyder@fnal.gov>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-09-17 03:26 -------
Confirmed, here is a little smaller testcase which shows what is interacting with what:
typedef void (*Func) ();
void f (Func) {}
struct B
{
static void staticfunc () {} // <-- moving the function out from the class
};
template <int> // <-- removing the template fixes it
void C(){ f (B::staticfunc); }
int main ()
{
C<0>();
return 0;
}
using Phil's regresion hunter:
between 20040729 and 20040730 is where the problem started which is when Mark's change to move
to always unit-at-a-time for C++.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |mmitchel at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |wrong-code
Last reconfirmed|0000-00-00 00:00:00 |2004-09-17 03:26:56
date| |
Summary|4.0: failure to emit inline |[4.0 Regression] failure to
|function |emit inline function
Target Milestone|--- |4.0.0
Version|0.0 |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17530