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]

Recognize --pass-exit-codes


This fixes a very old bug (introduced Nov 1999) that started as a
misapplied hunk and was later not really fixed by removing the misapplied
line instead of moving it to the right place.  It causes --pass-exit-codes
to be interpreted as -fpass-exit-codes instead of -pass-exit-codes.
Tested on ppc-linux and committed as obvious.

Andreas.

2004-12-02  Andreas Schwab  <schwab@suse.de>

	* gcc.c (struct option_map): Add entry for "--pass-exit-codes".

--- gcc/gcc.c.~1.439.~	2004-11-26 00:23:50.000000000 +0100
+++ gcc/gcc.c	2004-12-02 00:38:21.439693413 +0100
@@ -1094,6 +1094,7 @@ static const struct option_map option_ma
    {"--output", "-o", "a"},
    {"--output-class-directory", "-foutput-class-dir=", "ja"},
    {"--param", "--param", "a"},
+   {"--pass-exit-codes", "-pass-exit-codes", 0},
    {"--pedantic", "-pedantic", 0},
    {"--pedantic-errors", "-pedantic-errors", 0},
    {"--pie", "-pie", 0},

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, MaxfeldstraÃe 5, 90409 NÃrnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]