summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/opts-3.c
Commit message (Collapse)AuthorAgeFilesLines
* * gcc.c (n_switches_alloc, n_infiles_alloc, alloc_infile,jsm282010-06-261-0/+7
add_infile, alloc_switch): New. (process_command): Remove variable lang_n_infiles. Process options in a single pass. Use new functions for allocating infiles and switches arrays. Properly skip operands of -Xpreprocessor and -Xassembler. testsuite: * gcc.dg/opts-3.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@161430 138bc75d-0d04-0410-961f-82ee72b054a4