diff options
author | Gaius Mulley <gaius.mulley@southwales.ac.uk> | 2022-05-05 17:23:03 +0100 |
---|---|---|
committer | Gaius Mulley <gaius.mulley@southwales.ac.uk> | 2022-05-05 17:23:03 +0100 |
commit | ae56a3ce252147379dbfd13e250f728e6504ae2b (patch) | |
tree | adfbad2846c6625e714995bf6031dfc52af35c4e | |
parent | b94876d89da4b36e67982d0a402ea021b280c27a (diff) | |
download | gcc-ae56a3ce252147379dbfd13e250f728e6504ae2b.zip gcc-ae56a3ce252147379dbfd13e250f728e6504ae2b.tar.gz gcc-ae56a3ce252147379dbfd13e250f728e6504ae2b.tar.bz2 |
PR-105409 Bugfix add CC1_SPEC to the cc1/cc1plus invocation.
Introducing patch devised by Rainer Orth <ro@CeBiTec.Uni-Bielefeld.de>.
The lack of CC1_SPEC options to cc1plus can cause an ICE.
gcc/m2/ChangeLog:
* m2-link-support.h (GM2CC): Add CC1_SPEC to the cc1/cc1plus
invocation.
Signed-off-by: Gaius Mulley <gaius.mulley@southwales.ac.uk>
-rw-r--r-- | gcc/m2/m2-link-support.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/m2/m2-link-support.h b/gcc/m2/m2-link-support.h index 66a444e..2232596 100644 --- a/gcc/m2/m2-link-support.h +++ b/gcc/m2/m2-link-support.h @@ -56,7 +56,7 @@ along with GCC; see the file COPYING3. If not see compiler. */ #define GM2CC(INPUT,OUTPUT) \ - "%{!fno-exceptions:cc1plus;:cc1} " GM2CC_OPTIONS " " INPUT " \ + "%{!fno-exceptions:cc1plus;:cc1} %1" GM2CC_OPTIONS " " INPUT " \ -o " RM_IF_NOSAVETEMP SCAFFOLDNAME ".s \n\ " AS(SCAFFOLDNAME ".s",OUTPUT) " " |