public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug driver/48071] New: Blank line after 'all warnings being treated as errors'
@ 2011-03-11 13:27 dnovillo at gcc dot gnu.org
2012-02-01 19:42 ` [Bug middle-end/48071] [4.6/4.7 Regression] " pinskia at gcc dot gnu.org
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: dnovillo at gcc dot gnu.org @ 2011-03-11 13:27 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48071
Summary: Blank line after 'all warnings being treated as
errors'
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: driver
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: dnovillo@gcc.gnu.org
After -Werror is triggered, we are now emitting an extra blank line
that we were not emitting before.
$ cat a.cc
char c = 257;
$ g++-4.4.3 -c -o /dev/null -Werror a.cc
cc1plus: warnings being treated as errors
a.cc:1: error: overflow in implicit constant conversion
$
But with trunk, I get:
$ ~/gcc-trunk/native/bin/g++ -c -o /dev/null -Werror a.cc
a.cc:1:10: error: overflow in implicit constant conversion [-Werror=overflow]
cc1plus: all warnings being treated as errors
[... extra blank line ...]
$
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug middle-end/48071] [4.6/4.7 Regression] Blank line after 'all warnings being treated as errors'
2011-03-11 13:27 [Bug driver/48071] New: Blank line after 'all warnings being treated as errors' dnovillo at gcc dot gnu.org
@ 2012-02-01 19:42 ` pinskia at gcc dot gnu.org
2012-02-02 15:19 ` jakub at gcc dot gnu.org
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-02-01 19:42 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48071
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |diagnostic
Status|UNCONFIRMED |NEW
Last reconfirmed| |2012-02-01
Component|driver |middle-end
Target Milestone|--- |4.6.3
Summary|Blank line after 'all |[4.6/4.7 Regression] Blank
|warnings being treated as |line after 'all warnings
|errors' |being treated as errors'
Ever Confirmed|0 |1
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-02-01 19:41:49 UTC ---
Confirmed.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug middle-end/48071] [4.6/4.7 Regression] Blank line after 'all warnings being treated as errors'
2011-03-11 13:27 [Bug driver/48071] New: Blank line after 'all warnings being treated as errors' dnovillo at gcc dot gnu.org
2012-02-01 19:42 ` [Bug middle-end/48071] [4.6/4.7 Regression] " pinskia at gcc dot gnu.org
@ 2012-02-02 15:19 ` jakub at gcc dot gnu.org
2012-02-02 15:20 ` jakub at gcc dot gnu.org
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-02-02 15:19 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48071
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-02-02 15:18:59 UTC ---
Caused by http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158168
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug middle-end/48071] [4.6/4.7 Regression] Blank line after 'all warnings being treated as errors'
2011-03-11 13:27 [Bug driver/48071] New: Blank line after 'all warnings being treated as errors' dnovillo at gcc dot gnu.org
2012-02-01 19:42 ` [Bug middle-end/48071] [4.6/4.7 Regression] " pinskia at gcc dot gnu.org
2012-02-02 15:19 ` jakub at gcc dot gnu.org
@ 2012-02-02 15:20 ` jakub at gcc dot gnu.org
2012-02-02 20:47 ` jakub at gcc dot gnu.org
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-02-02 15:20 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48071
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
AssignedTo|unassigned at gcc dot |jakub at gcc dot gnu.org
|gnu.org |
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-02-02 15:20:15 UTC ---
Created attachment 26554
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26554
gcc47-pr48071.patch
Untested fix.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug middle-end/48071] [4.6/4.7 Regression] Blank line after 'all warnings being treated as errors'
2011-03-11 13:27 [Bug driver/48071] New: Blank line after 'all warnings being treated as errors' dnovillo at gcc dot gnu.org
` (2 preceding siblings ...)
2012-02-02 15:20 ` jakub at gcc dot gnu.org
@ 2012-02-02 20:47 ` jakub at gcc dot gnu.org
2012-02-02 20:48 ` [Bug middle-end/48071] [4.6 " jakub at gcc dot gnu.org
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-02-02 20:47 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48071
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-02-02 20:46:09 UTC ---
Author: jakub
Date: Thu Feb 2 20:46:06 2012
New Revision: 183847
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183847
Log:
PR middle-end/48071
* diagnostic.c (diagnostic_finish): Remove trailing newlines.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/diagnostic.c
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug middle-end/48071] [4.6 Regression] Blank line after 'all warnings being treated as errors'
2011-03-11 13:27 [Bug driver/48071] New: Blank line after 'all warnings being treated as errors' dnovillo at gcc dot gnu.org
` (3 preceding siblings ...)
2012-02-02 20:47 ` jakub at gcc dot gnu.org
@ 2012-02-02 20:48 ` jakub at gcc dot gnu.org
2012-02-09 17:29 ` jakub at gcc dot gnu.org
2012-02-09 17:49 ` jakub at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-02-02 20:48 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48071
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[4.6/4.7 Regression] Blank |[4.6 Regression] Blank line
|line after 'all warnings |after 'all warnings being
|being treated as errors' |treated as errors'
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-02-02 20:48:13 UTC ---
Fixed on the trunk so far.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug middle-end/48071] [4.6 Regression] Blank line after 'all warnings being treated as errors'
2011-03-11 13:27 [Bug driver/48071] New: Blank line after 'all warnings being treated as errors' dnovillo at gcc dot gnu.org
` (4 preceding siblings ...)
2012-02-02 20:48 ` [Bug middle-end/48071] [4.6 " jakub at gcc dot gnu.org
@ 2012-02-09 17:29 ` jakub at gcc dot gnu.org
2012-02-09 17:49 ` jakub at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-02-09 17:29 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48071
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-02-09 17:26:41 UTC ---
Author: jakub
Date: Thu Feb 9 17:26:29 2012
New Revision: 184058
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=184058
Log:
Backported from mainline
2012-02-02 Jakub Jelinek <jakub@redhat.com>
PR middle-end/48071
* diagnostic.c (diagnostic_finish): Remove trailing newlines.
Modified:
branches/gcc-4_6-branch/gcc/ChangeLog
branches/gcc-4_6-branch/gcc/diagnostic.c
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug middle-end/48071] [4.6 Regression] Blank line after 'all warnings being treated as errors'
2011-03-11 13:27 [Bug driver/48071] New: Blank line after 'all warnings being treated as errors' dnovillo at gcc dot gnu.org
` (5 preceding siblings ...)
2012-02-09 17:29 ` jakub at gcc dot gnu.org
@ 2012-02-09 17:49 ` jakub at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-02-09 17:49 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48071
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-02-09 17:49:06 UTC ---
Fixed.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2012-02-09 17:49 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-11 13:27 [Bug driver/48071] New: Blank line after 'all warnings being treated as errors' dnovillo at gcc dot gnu.org
2012-02-01 19:42 ` [Bug middle-end/48071] [4.6/4.7 Regression] " pinskia at gcc dot gnu.org
2012-02-02 15:19 ` jakub at gcc dot gnu.org
2012-02-02 15:20 ` jakub at gcc dot gnu.org
2012-02-02 20:47 ` jakub at gcc dot gnu.org
2012-02-02 20:48 ` [Bug middle-end/48071] [4.6 " jakub at gcc dot gnu.org
2012-02-09 17:29 ` jakub at gcc dot gnu.org
2012-02-09 17:49 ` 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).