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++/59821] __builtin_LINE and __builtin_FILE for new'd objects is wrong


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.


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