Skip to content
Snippets Groups Projects
Commit 4df47bca authored by Joseph Myers's avatar Joseph Myers Committed by Joseph Myers
Browse files

re PR driver/47678 (missing error message for -I)

	PR driver/47678
	* gcc.c (main): Do not compile inputs if there were errors in
	option handling.
	* opts-common.c (read_cmdline_option): Check for wrong language
	after other error checks.

testsuite:
	* gcc.dg/opts-6.c: New test.

From-SVN: r170056
parent 1c31ca71
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment