On Sep 3, 2002, Martin Pool <[EMAIL PROTECTED]> wrote:
> This has a lot of fairly small bug fixes to try to address the
> problems reported last week.
I was sure I was going to find this patch in 0.9, but as far as I can
tell it didn't make it :-(
--- src/arg.c.S-beats-c 2002-08-15 10:52:41.000000000 -0300
+++ src/arg.c 2002-08-24 20:09:31.000000000 -0300
@@ -200,12 +200,13 @@
/* FIXME: This doesn't handle a.out, but that doesn't matter.
*/
char *ofile;
- if (seen_opt_c) {
- if (dcc_output_from_source(*input_file, ".o", &ofile))
- return -1;
- } else if (seen_opt_s) {
+ /* -S takes precedence over -c. */
+ if (seen_opt_s) {
if (dcc_output_from_source(*input_file, ".s", &ofile))
return -1;
+ } else if (seen_opt_c) {
+ if (dcc_output_from_source(*input_file, ".o", &ofile))
+ return -1;
} else {
rs_log_crit("this can't be happening(%d)!", __LINE__);
return -1;
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist Professional serial bug killer