Bug 133808

Summary: Duplicate warning messages with 'gcc4 -Wall'
Product: [Fedora] Fedora Reporter: Valdis Kletnieks <valdis.kletnieks>
Component: gcc4Assignee: Jakub Jelinek <jakub>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 3   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-10-03 22:53:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Sample program - compile with 'gcc4 -c -Wall' none

Description Valdis Kletnieks 2004-09-27 17:15:31 UTC
Description of problem:
Unused variable generate two warnings (one set in reverse order, no less)


Version-Release number of selected component (if applicable):
gcc4-4.0.0-0.2


How reproducible:
Compile the sample program with 'gcc4 -c -Wall'

Steps to Reproduce:
1.
2.
3.
  
Actual results:
Two sets of warning messages, one in reverse order

Expected results:
One set, as gcc 3.4.2 produces

Additional info:

Comment 1 Valdis Kletnieks 2004-09-27 17:17:03 UTC
Created attachment 104383 [details]
Sample program - compile with 'gcc4 -c -Wall'

Comment 2 Jakub Jelinek 2004-10-03 22:53:40 UTC
Moved upstream:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17820