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