re PR other/17594 (GCC does not error about unknown options which starts with a valid...
authorMatt Kraai <kraai@alumni.cmu.edu>
Mon, 29 Nov 2004 00:37:54 +0000 (00:37 +0000)
committerMatt Kraai <kraai@gcc.gnu.org>
Mon, 29 Nov 2004 00:37:54 +0000 (00:37 +0000)
commita2163d83a300310199ae507af05691166a8287dd
treec7bfd8aba2f8ca93263b770a18023dfb54d9a4c1
parent77109b506986bd02bd9ba811e270407bf3b9470c
re PR other/17594 (GCC does not error about unknown options which starts with a valid option)

(gcc)

PR diagnostic/17594
* opts.c (find_opt): Require that the input match a switch exactly
or that the switch take a joined option to be interpreted as a
match for another language.

(gcc/testsuite)

* gcc.dg/funroll-loops-all.c: New.

From-SVN: r91444
gcc/ChangeLog
gcc/opts.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/funroll-loops-all.c [new file with mode: 0644]