This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/59821] __builtin_LINE and __builtin_FILE for new'd objects is wrong
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 15 Jan 2014 11:47:23 +0000
- Subject: [Bug c++/59821] __builtin_LINE and __builtin_FILE for new'd objects is wrong
- Auto-submitted: auto-generated
- References: <bug-59821-4 at http dot gcc dot gnu dot org/bugzilla/>
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.