aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-family/c-pragma.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/c-family/c-pragma.c')
-rw-r--r--gcc/c-family/c-pragma.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/gcc/c-family/c-pragma.c b/gcc/c-family/c-pragma.c
index 3663eb1..c4ed420 100644
--- a/gcc/c-family/c-pragma.c
+++ b/gcc/c-family/c-pragma.c
@@ -916,10 +916,7 @@ handle_pragma_target(cpp_reader *ARG_UNUSED(dummy))
}
if (token != CPP_STRING)
- {
- GCC_BAD_AT (loc, "%<#pragma GCC option%> is not a string");
- return;
- }
+ GCC_BAD_AT (loc, "%<#pragma GCC option%> is not a string");
/* Strings are user options. */
else
@@ -991,10 +988,7 @@ handle_pragma_optimize (cpp_reader *ARG_UNUSED(dummy))
}
if (token != CPP_STRING && token != CPP_NUMBER)
- {
- GCC_BAD ("%<#pragma GCC optimize%> is not a string or number");
- return;
- }
+ GCC_BAD ("%<#pragma GCC optimize%> is not a string or number");
/* Strings/numbers are user options. */
else