public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/modula-2] PR-105409 Bugfix add CC1_SPEC to the cc1/cc1plus invocation.
@ 2022-05-05 16:25 Gaius Mulley
  0 siblings, 0 replies; only message in thread
From: Gaius Mulley @ 2022-05-05 16:25 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:ae56a3ce252147379dbfd13e250f728e6504ae2b

commit ae56a3ce252147379dbfd13e250f728e6504ae2b
Author: Gaius Mulley <gaius.mulley@southwales.ac.uk>
Date:   Thu May 5 17:23:03 2022 +0100

    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>

Diff:
---
 gcc/m2/m2-link-support.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/m2/m2-link-support.h b/gcc/m2/m2-link-support.h
index 66a444edbe7..22325968e25 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) " "


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-05-05 16:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-05 16:25 [gcc/devel/modula-2] PR-105409 Bugfix add CC1_SPEC to the cc1/cc1plus invocation Gaius Mulley

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).