public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug driver/64737] New: [5 Regression] gcc -v print extra blank line
@ 2015-01-22 23:06 hjl.tools at gmail dot com
  2015-01-22 23:09 ` [Bug driver/64737] " hjl.tools at gmail dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: hjl.tools at gmail dot com @ 2015-01-22 23:06 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64737

            Bug ID: 64737
           Summary: [5 Regression] gcc -v print extra blank line
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: driver
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hjl.tools at gmail dot com

[hjl@gnu-mic-2 gcc-regression]$
/export/project/git/gcc-regression/master/215799/usr/bin/gcc -v
Using built-in specs.
COLLECT_GCC=/export/project/git/gcc-regression/master/215799/usr/bin/gcc
COLLECT_LTO_WRAPPER=/export/project/git/gcc-regression/master/215799/usr/libexec/gcc/x86_64-unknown-linux-gnu/5.0.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../../../gcc/configure
--prefix=/export/project/git/gcc-regression/master/215799/usr
--enable-clocale=gnu --with-system-zlib --with-demangler-in-ld
MAKEINFO=/usr/bin/false --enable-languages=c,c++,fortran --disable-bootstrap
Thread model: posix
gcc version 5.0.0 20141002 (experimental) [trunk revision 215799] (GCC) 

[hjl@gnu-mic-2 gcc-regression]$
/export/project/git/gcc-regression/master/215284/usr/bin/gcc -v
Using built-in specs.
COLLECT_GCC=/export/project/git/gcc-regression/master/215284/usr/bin/gcc
COLLECT_LTO_WRAPPER=/export/project/git/gcc-regression/master/215284/usr/libexec/gcc/x86_64-unknown-linux-gnu/5.0.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../../../gcc/configure
--prefix=/export/project/git/gcc-regression/master/215284/usr
--enable-clocale=gnu --with-system-zlib --with-demangler-in-ld
MAKEINFO=/usr/bin/false --enable-languages=c,c++,fortran --disable-bootstrap
Thread model: posix
gcc version 5.0.0 20140916 (experimental) [trunk revision 215284] (GCC) 
[hjl@gnu-mic-2 gcc-regression]$


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

* [Bug driver/64737] [5 Regression] gcc -v print extra blank line
  2015-01-22 23:06 [Bug driver/64737] New: [5 Regression] gcc -v print extra blank line hjl.tools at gmail dot com
@ 2015-01-22 23:09 ` hjl.tools at gmail dot com
  2015-01-23  7:33 ` mpolacek at gcc dot gnu.org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: hjl.tools at gmail dot com @ 2015-01-22 23:09 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64737

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-01-22
                 CC|                            |jakub at redhat dot com
     Ever confirmed|0                           |1

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
It was caused by r215633.


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

* [Bug driver/64737] [5 Regression] gcc -v print extra blank line
  2015-01-22 23:06 [Bug driver/64737] New: [5 Regression] gcc -v print extra blank line hjl.tools at gmail dot com
  2015-01-22 23:09 ` [Bug driver/64737] " hjl.tools at gmail dot com
@ 2015-01-23  7:33 ` mpolacek at gcc dot gnu.org
  2015-01-23  9:26 ` rguenth at gcc dot gnu.org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2015-01-23  7:33 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64737

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mpolacek at gcc dot gnu.org

--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
If the addition of \n to fnotice wasn't desirable, then

diff --git a/gcc/gcc.c b/gcc/gcc.c
index 71c1f72..6b1f68d 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -6330,10 +6330,10 @@ print_configuration (FILE *file)

   if (! strncmp (version_string, compiler_version, n)
       && compiler_version[n] == 0)
-    fnotice (file, "gcc version %s %s\n\n", version_string,
+    fnotice (file, "gcc version %s %s\n", version_string,
             pkgversion_string);
   else
-    fnotice (file, "gcc driver version %s %sexecuting gcc version %s\n\n",
+    fnotice (file, "gcc driver version %s %sexecuting gcc version %s\n",
             version_string, pkgversion_string, compiler_version);

 }


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

* [Bug driver/64737] [5 Regression] gcc -v print extra blank line
  2015-01-22 23:06 [Bug driver/64737] New: [5 Regression] gcc -v print extra blank line hjl.tools at gmail dot com
  2015-01-22 23:09 ` [Bug driver/64737] " hjl.tools at gmail dot com
  2015-01-23  7:33 ` mpolacek at gcc dot gnu.org
@ 2015-01-23  9:26 ` rguenth at gcc dot gnu.org
  2015-01-23 10:32 ` jakub at gcc dot gnu.org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-01-23  9:26 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64737

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |5.0


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

* [Bug driver/64737] [5 Regression] gcc -v print extra blank line
  2015-01-22 23:06 [Bug driver/64737] New: [5 Regression] gcc -v print extra blank line hjl.tools at gmail dot com
                   ` (2 preceding siblings ...)
  2015-01-23  9:26 ` rguenth at gcc dot gnu.org
@ 2015-01-23 10:32 ` jakub at gcc dot gnu.org
  2015-01-23 18:35 ` jakub at gcc dot gnu.org
  2015-01-23 20:03 ` jakub at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-01-23 10:32 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64737

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 34543
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34543&action=edit
gcc5-pr64737.patch

I think we need this.  The extra blank line is desirable in the -freport-bug
dumps.


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

* [Bug driver/64737] [5 Regression] gcc -v print extra blank line
  2015-01-22 23:06 [Bug driver/64737] New: [5 Regression] gcc -v print extra blank line hjl.tools at gmail dot com
                   ` (3 preceding siblings ...)
  2015-01-23 10:32 ` jakub at gcc dot gnu.org
@ 2015-01-23 18:35 ` jakub at gcc dot gnu.org
  2015-01-23 20:03 ` jakub at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-01-23 18:35 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64737

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Jan 23 18:33:31 2015
New Revision: 220055

URL: https://gcc.gnu.org/viewcvs?rev=220055&root=gcc&view=rev
Log:
    PR driver/64737
    * gcc.c (print_configuration): Don't print a blank line at the end
    here...
    (run_attempt): ... but here unstead.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/gcc.c


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

* [Bug driver/64737] [5 Regression] gcc -v print extra blank line
  2015-01-22 23:06 [Bug driver/64737] New: [5 Regression] gcc -v print extra blank line hjl.tools at gmail dot com
                   ` (4 preceding siblings ...)
  2015-01-23 18:35 ` jakub at gcc dot gnu.org
@ 2015-01-23 20:03 ` jakub at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-01-23 20:03 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64737

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

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

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed.


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

end of thread, other threads:[~2015-01-23 20:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-22 23:06 [Bug driver/64737] New: [5 Regression] gcc -v print extra blank line hjl.tools at gmail dot com
2015-01-22 23:09 ` [Bug driver/64737] " hjl.tools at gmail dot com
2015-01-23  7:33 ` mpolacek at gcc dot gnu.org
2015-01-23  9:26 ` rguenth at gcc dot gnu.org
2015-01-23 10:32 ` jakub at gcc dot gnu.org
2015-01-23 18:35 ` jakub at gcc dot gnu.org
2015-01-23 20:03 ` jakub at gcc dot gnu.org

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