aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schulze Frielinghaus <stefansf@linux.ibm.com>2023-11-15 14:42:22 +0100
committerStefan Schulze Frielinghaus <stefansf@linux.ibm.com>2023-11-15 14:42:22 +0100
commit8747ef47134a5cd251371c204ecaffe0139835f6 (patch)
tree56b739908c372aea709fbc879d4af787b5eca59f
parent5cb8610d3a8f8849a4bb6a0f81a2934484d6a15a (diff)
downloadgcc-8747ef47134a5cd251371c204ecaffe0139835f6.zip
gcc-8747ef47134a5cd251371c204ecaffe0139835f6.tar.gz
gcc-8747ef47134a5cd251371c204ecaffe0139835f6.tar.bz2
s390: Fix generation of s390-gen-builtins.h
By default the preprocessed output includes linemarkers. This leads to an error if -pedantic is used as e.g. during bootstrap: s390-gen-builtins.h:1:3: error: style of line directive is a GCC extension [-Werror] Fixed by omitting linemarkers while generating s390-gen-builtins.h. gcc/ChangeLog: * config/s390/t-s390: Generate s390-gen-builtins.h without linemarkers.
-rw-r--r--gcc/config/s390/t-s3902
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/s390/t-s390 b/gcc/config/s390/t-s390
index 4ab9718..2e884c3 100644
--- a/gcc/config/s390/t-s390
+++ b/gcc/config/s390/t-s390
@@ -33,4 +33,4 @@ s390-d.o: $(srcdir)/config/s390/s390-d.cc
$(POSTCOMPILE)
s390-gen-builtins.h: $(srcdir)/config/s390/s390-builtins.h
- $(COMPILER) -E $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $< > $@
+ $(COMPILER) -E -P $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $< > $@