This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/20164] [4.0 Regression] Wrong line number in diagnostic with gcc 4.0


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]