Bug 58909

Summary: gcc 3.1-0.18 shows no error for illegal command line parameters
Product: [Retired] Red Hat Raw Hide Reporter: Peter Klotz <peter.klotz99>
Component: gcc3Assignee: Jakub Jelinek <jakub>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-01-28 11:23:00 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:

Description Peter Klotz 2002-01-27 18:44:47 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)

Description of problem:
When gcc 3.1-0.18 is invoked with an illegal command line parameter (e.g. -
Wabcde) it shows now error message.

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


How reproducible:
Always

Steps to Reproduce:
1.g++ -W -Wall -Wabcde some_program.cpp
2.
3.
	

Actual Results:  Shows no error message

Expected Results:  Should display something like (taken from gcc 2.95.3)

cc1plus.exe: Invalid option `-Wabcde'

Additional info:

Comment 1 Jakub Jelinek 2002-01-28 11:22:55 UTC
See http://gcc.gnu.org/ml/gcc-patches/2002-01/msg01970.html

Comment 2 Jakub Jelinek 2002-02-01 16:20:35 UTC
Fixed in gcc-3.1-0.19.