summaryrefslogtreecommitdiff
path: root/gcc/tradcpp.c
diff options
context:
space:
mode:
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2002-05-16 19:17:11 +0000
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2002-05-16 19:17:11 +0000
commit9aca58010b8ba6ea31bfda8089acd4bd8385dace (patch)
tree1fc66f4be3f138ebe6a1d971f9b0bede6807b239 /gcc/tradcpp.c
parent18aa8a5498ac4e22996116401d60ba31af7bf5e8 (diff)
downloadgcc-9aca58010b8ba6ea31bfda8089acd4bd8385dace.tar.gz
* tradcpp.c (main): Accept -O*.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53527 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tradcpp.c')
-rw-r--r--gcc/tradcpp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/tradcpp.c b/gcc/tradcpp.c
index b58bf9a5f43..e5ed07ef647 100644
--- a/gcc/tradcpp.c
+++ b/gcc/tradcpp.c
@@ -633,8 +633,9 @@ main (argc, argv)
flag_signed_char = 0;
break;
- /* Ignore target-specific flags. */
+ /* Ignore target-specific and optimization flags. */
case 'm':
+ case 'O':
break;
case 'M':