http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52503

Oleg Endo <olegendo at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kkojima at gcc dot gnu.org,
                   |                            |olegendo at gcc dot gnu.org

--- Comment #1 from Oleg Endo <olegendo at gcc dot gnu.org> 2012-03-06 20:11:43 
UTC ---
(In reply to comment #0)
> gcc -c   -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wno-narrowing
> -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes
> -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros
> -Wno-overlength-strings -Werror -Wold-style-definition -Wc++-compat 
> -fno-common
>  -DHAVE_CONFIG_H -I. -I. -I../../../gcc/gcc -I../../../gcc/gcc/.
> -I../../../gcc/gcc/../include -I../../../gcc/gcc/../libcpp/include
> -I/opt/cfarm/mpc/include  -I../../../gcc/gcc/../libdecnumber
> -I../../../gcc/gcc/../libdecnumber/dpd -I../libdecnumber   
> ../../../gcc/gcc/lto-wrapper.c -o lto-wrapper.o
> In file included from ../../../gcc/gcc/lto-wrapper.c:47:0:
> ./options.h:3697:2: error: #error too many target masks

This is probably due to the recently added -msoft-atomic option.  When I was
adding another option (-menable-tas) afterwards I also hit the limit there and
went for a Var instead of a Mask to avoid the problem.
Could you please try the following?


Index: gcc/config/sh/sh.opt
===================================================================
--- gcc/config/sh/sh.opt    (revision 184966)
+++ gcc/config/sh/sh.opt    (working copy)
@@ -320,7 +320,7 @@
 Follow Renesas (formerly Hitachi) / SuperH calling conventions

 msoft-atomic
-Target Report Mask(SOFT_ATOMIC)
+Target Report Var(TARGET_SOFT_ATOMIC)
 Use software atomic sequences supported by kernel

 menable-tas


I also would like to add Kaz to the CC list.

Reply via email to