Skip to content

Commit c83004f

Browse files
committed
Change unrecognized optimization flag to warning
1 parent 9858889 commit c83004f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cmdline.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -603,8 +603,7 @@ int ParseOptimizeString(AST *line, const char *str, int *flag_ptr)
603603
}
604604
}
605605
if (!bits) {
606-
ERROR(line, "Unrecognized optimization flag: %s", buf);
607-
return 0;
606+
WARNING(line, "Unrecognized optimization flag: %s", buf);
608607
}
609608
if (notflag) {
610609
flags &= ~bits;

0 commit comments

Comments
 (0)