[Bug c++/20164] [4.0 Regression] Wrong line number in diagnostic with gcc 4.0
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Feb 23 18:36:00 GMT 2005
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-02-23 14:50 -------
Here is another testcase where the lines lines look wrong and can be shown to be a regression from
3.4.0:
struct temp
{
temp(){}
temp(const temp&){}
};
struct Parm
{
temp filename;
};
void Foo(Parm x);
void Bar1()
{
Parm p;
Foo(p);
}
void Bar2()
{
temp a;
Parm p(a);
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20164
More information about the Gcc-bugs
mailing list