public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-5494] s390: Fix generation of s390-gen-builtins.h
@ 2023-11-15 13:43 Stefan Schulze Frielinghaus
0 siblings, 0 replies; only message in thread
From: Stefan Schulze Frielinghaus @ 2023-11-15 13:43 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:8747ef47134a5cd251371c204ecaffe0139835f6
commit r14-5494-g8747ef47134a5cd251371c204ecaffe0139835f6
Author: Stefan Schulze Frielinghaus <stefansf@linux.ibm.com>
Date: Wed Nov 15 14:42:22 2023 +0100
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.
Diff:
---
gcc/config/s390/t-s390 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/config/s390/t-s390 b/gcc/config/s390/t-s390
index 4ab9718f6e2..2e884c367de 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) $< > $@
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-11-15 13:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-15 13:43 [gcc r14-5494] s390: Fix generation of s390-gen-builtins.h Stefan Schulze Frielinghaus
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).