This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi, The support -combine was removed a while back but cc1 still accepts more than one file if directly invoked. The support for multiple files has bit-rotten inside the C front-end now too. This patch now errors out when invoked with more than one file instead of crashing later. OK? Bootstrapped and tested on aarch64-linux-gnu with no regressions. Thanks, Andrew Pinski c-family/ChangeLog: * c-opts.c (c_common_post_options): Move the error message about "two or more source files" such that it is unconditional.
Attachment:
fix67665.diff.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |