[Bug c++/59821] __builtin_LINE and __builtin_FILE for new'd objects is wrong
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jan 15 11:47:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59821
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |wrong-debug
Status|UNCONFIRMED |NEW
Last reconfirmed| |2014-01-15
Ever confirmed|0 |1
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
[t.C : 12:3] Foo::Foo ([t.C : 12] &D.2242, 12);
[t.C : 12:42] try
{
[t.C : 12:3] D.2247 = D.2242.line;
[t.C : 12:3] D.2244 = 5;
[t.C : 12:3] D.2243 = operator new (4);
[t.C : 12:3] try
{
[t.C : 12:3] Foo::Foo (D.2243, D.2244);
looks like location info is broken for the new case.
More information about the Gcc-bugs
mailing list