diff options
author | Gaius Mulley <gaius.mulley@southwales.ac.uk> | 2022-04-28 22:09:12 +0100 |
---|---|---|
committer | Gaius Mulley <gaius.mulley@southwales.ac.uk> | 2022-04-28 22:09:12 +0100 |
commit | f3673984ea20937d1057f1d92841c88fdcd1e9be (patch) | |
tree | 3aa8845d1938056b3257019e2aeb137ffbcd9780 | |
parent | 9348eb1ddb17e8b59a4b54cb341bd7641f67dc58 (diff) | |
download | gcc-f3673984ea20937d1057f1d92841c88fdcd1e9be.zip gcc-f3673984ea20937d1057f1d92841c88fdcd1e9be.tar.gz gcc-f3673984ea20937d1057f1d92841c88fdcd1e9be.tar.bz2 |
PR-105388 Fix mc to avoid the name sigfpe.
2022-04-28 Gaius Mulley <gaius.mulley@southwales.ac.uk>
gcc/m2/ChangeLog:
* mc-boot/Gkeyc.c: Rebuilt.
* mc/keyc.mod (initMacros): Add sigfpe to the list of names to be
avoided.
Signed-off-by: Gaius Mulley <gaius.mulley@southwales.ac.uk>
-rw-r--r-- | gcc/m2/mc-boot/Gkeyc.c | 1 | ||||
-rw-r--r-- | gcc/m2/mc/keyc.mod | 3 | ||||
-rw-r--r-- | gm2tools/Makefile.in | 2 |
3 files changed, 4 insertions, 2 deletions
diff --git a/gcc/m2/mc-boot/Gkeyc.c b/gcc/m2/mc-boot/Gkeyc.c index d1deb22..319c4dd 100644 --- a/gcc/m2/mc-boot/Gkeyc.c +++ b/gcc/m2/mc-boot/Gkeyc.c @@ -993,6 +993,7 @@ static void initMacros (void) add (macros, (const char *) "main", 4); add (macros, (const char *) "true", 4); add (macros, (const char *) "false", 5); + add (macros, (const char *) "sigfpe", 6); } diff --git a/gcc/m2/mc/keyc.mod b/gcc/m2/mc/keyc.mod index a6584f4..7b1273d 100644 --- a/gcc/m2/mc/keyc.mod +++ b/gcc/m2/mc/keyc.mod @@ -1043,7 +1043,8 @@ BEGIN add (macros, 'time') ; add (macros, 'main') ; add (macros, 'true') ; - add (macros, 'false') + add (macros, 'false') ; + add (macros, 'sigfpe') END initMacros ; diff --git a/gm2tools/Makefile.in b/gm2tools/Makefile.in index 386f2e4..d228a6a 100644 --- a/gm2tools/Makefile.in +++ b/gm2tools/Makefile.in @@ -639,8 +639,8 @@ distclean-generic: maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." -@NATIVE_FALSE@uninstall-local: @NATIVE_FALSE@install-exec-local: +@NATIVE_FALSE@uninstall-local: clean: clean-am clean-am: clean-binPROGRAMS clean-generic mostlyclean-am |