public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/54941] New: do not print line/column numbers for <built-in>:0:0
@ 2012-10-17  0:11 manu at gcc dot gnu.org
  2013-05-03 10:32 ` [Bug c++/54941] " paolo.carlini at oracle dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: manu at gcc dot gnu.org @ 2012-10-17  0:11 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54941

             Bug #: 54941
           Summary: do not print line/column numbers for <built-in>:0:0
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: manu@gcc.gnu.org


/home/manuel/test3/192379M/build/gcc/testsuite/g++2/../../g++
-B/home/manuel/test3/192379M/build/gcc/testsuite/g++2/../../
/home/manuel/test3/src/gcc/testsuite/g++.dg/lookup/new1.C 
-fno-diagnostics-show-caret  -nostdinc++
-I/home/manuel/test3/192379M/build/x86_64-unknown-linux-gnu/32/libstdc++-v3/include/x86_64-unknown-linux-gnu
-I/home/manuel/test3/192379M/build/x86_64-unknown-linux-gnu/32/libstdc++-v3/include
-I/home/manuel/test3/src/libstdc++-v3/libsupc++
-I/home/manuel/test3/src/libstdc++-v3/include/backward
-I/home/manuel/test3/src/libstdc++-v3/testsuite/util -fmessage-length=0
-std=c++11  -pedantic-errors -Wno-long-long  -S  -m32 -o new1.s
/home/manuel/test3/src/gcc/testsuite/g++.dg/lookup/new1.C: In function 'int
main()':
/home/manuel/test3/src/gcc/testsuite/g++.dg/lookup/new1.C:8:20: error: no
matching function for call to 'operator new(sizetype, int*)'
/home/manuel/test3/src/gcc/testsuite/g++.dg/lookup/new1.C:8:20: note: candidate
is:
<built-in>:0:0: note: void* operator new(unsigned int)
<built-in>:0:0: note:   candidate expects 1 argument, 2 provided!


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug c++/54941] do not print line/column numbers for <built-in>:0:0
  2012-10-17  0:11 [Bug c++/54941] New: do not print line/column numbers for <built-in>:0:0 manu at gcc dot gnu.org
@ 2013-05-03 10:32 ` paolo.carlini at oracle dot com
  2013-09-08 12:20 ` paolo.carlini at oracle dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: paolo.carlini at oracle dot com @ 2013-05-03 10:32 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54941

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |paolo.carlini at oracle dot
                   |                            |com

--- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> 2013-05-03 10:32:45 UTC ---
I'm wondering: does it *ever* make sense to print 0 as column? Otherwise we
could just tweak diagnostic_build_prefix.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug c++/54941] do not print line/column numbers for <built-in>:0:0
  2012-10-17  0:11 [Bug c++/54941] New: do not print line/column numbers for <built-in>:0:0 manu at gcc dot gnu.org
  2013-05-03 10:32 ` [Bug c++/54941] " paolo.carlini at oracle dot com
@ 2013-09-08 12:20 ` paolo.carlini at oracle dot com
  2013-09-08 14:30 ` paolo at gcc dot gnu.org
  2013-09-08 14:33 ` paolo.carlini at oracle dot com
  3 siblings, 0 replies; 5+ messages in thread
From: paolo.carlini at oracle dot com @ 2013-09-08 12:20 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54941

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2013-09-08
                 CC|paolo.carlini at oracle dot com    |
           Assignee|unassigned at gcc dot gnu.org      |paolo.carlini at oracle dot com
   Target Milestone|---                         |4.9.0
     Ever confirmed|0                           |1

--- Comment #2 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Mine.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug c++/54941] do not print line/column numbers for <built-in>:0:0
  2012-10-17  0:11 [Bug c++/54941] New: do not print line/column numbers for <built-in>:0:0 manu at gcc dot gnu.org
  2013-05-03 10:32 ` [Bug c++/54941] " paolo.carlini at oracle dot com
  2013-09-08 12:20 ` paolo.carlini at oracle dot com
@ 2013-09-08 14:30 ` paolo at gcc dot gnu.org
  2013-09-08 14:33 ` paolo.carlini at oracle dot com
  3 siblings, 0 replies; 5+ messages in thread
From: paolo at gcc dot gnu.org @ 2013-09-08 14:30 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54941

--- Comment #3 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Sun Sep  8 14:30:27 2013
New Revision: 202366

URL: http://gcc.gnu.org/viewcvs?rev=202366&root=gcc&view=rev
Log:
2013-09-08  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/54941
    * diagnostic.c (diagnostic_build_prefix): When s.file is
    "<built-in>" don't output line and column numbers.

/testsuite
2013-09-08  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/54941
    * g++.dg/overload/new1.C: Adjust.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/cp/ChangeLog
    trunk/gcc/diagnostic.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/overload/new1.C


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug c++/54941] do not print line/column numbers for <built-in>:0:0
  2012-10-17  0:11 [Bug c++/54941] New: do not print line/column numbers for <built-in>:0:0 manu at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2013-09-08 14:30 ` paolo at gcc dot gnu.org
@ 2013-09-08 14:33 ` paolo.carlini at oracle dot com
  3 siblings, 0 replies; 5+ messages in thread
From: paolo.carlini at oracle dot com @ 2013-09-08 14:33 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54941

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Done.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-09-08 14:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-17  0:11 [Bug c++/54941] New: do not print line/column numbers for <built-in>:0:0 manu at gcc dot gnu.org
2013-05-03 10:32 ` [Bug c++/54941] " paolo.carlini at oracle dot com
2013-09-08 12:20 ` paolo.carlini at oracle dot com
2013-09-08 14:30 ` paolo at gcc dot gnu.org
2013-09-08 14:33 ` paolo.carlini at oracle dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).