This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/20164] [4.0 Regression] Wrong line number in diagnostic with gcc 4.0
- 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: 23 Feb 2005 14:50:35 -0000
- Subject: [Bug c++/20164] [4.0 Regression] Wrong line number in diagnostic with gcc 4.0
- References: <20050223142226.20164.micis@gmx.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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