Skip to content

Commit

Permalink
Change unrecognized optimization flag to warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Wuerfel21 committed Nov 18, 2024
1 parent 9858889 commit c83004f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmdline.c
Original file line number Diff line number Diff line change
Expand Up @@ -603,8 +603,7 @@ int ParseOptimizeString(AST *line, const char *str, int *flag_ptr)
}
}
if (!bits) {
ERROR(line, "Unrecognized optimization flag: %s", buf);
return 0;
WARNING(line, "Unrecognized optimization flag: %s", buf);
}
if (notflag) {
flags &= ~bits;
Expand Down

0 comments on commit c83004f

Please sign in to comment.