[PATCH, c6x] handle unk_isa in TARGET_CPU_CPP_BUILTINS

Bernhard Reutner-Fischer rep.dot.nop@gmail.com
Thu Apr 2 20:49:00 GMT 2015


On Wed, Apr 01, 2015 at 11:37:41PM +0200, Bernhard Reutner-Fischer wrote:
>Bernd,
>
>same for c6x for unk_isa, fwiw.

Attached.

Ok for trunk for the c6x bits?
Ok for trunk for the bfin bits?

thanks,
>
>thanks,
>
>On 1 April 2015 at 23:34, Bernhard Reutner-Fischer
><rep.dot.nop@gmail.com> wrote:
>> Hi,
>>
>> gcc/c-family/c-cppbuiltin.c
>> In file included from ./tm.h:21:0,
>>                  from
>> ../../../../../../home/me/src/gcc-5.0.mine/gcc/c-family/c-cppbuiltin.c:23:
>> ../../../../../../home/me/src/gcc-5.0.mine/gcc/c-family/c-cppbuiltin.c:
>> In function ‘void c_cpp_builtins(cpp_reader*)’:
>> ../../../../../../home/me/src/gcc-5.0.mine/gcc/config/bfin/bfin.h:43:14:
>> error: enumeration value ‘BFIN_CPU_UNKNOWN’ not handled in switch
>> [-Werror=switch]
>>        switch (bfin_cpu_type)   \
>>               ^
>> ../../../../../../home/me/src/gcc-5.0.mine/gcc/c-family/c-cppbuiltin.c:1243:3:
>> note: in expansion of macro ‘TARGET_CPU_CPP_BUILTINS’
>>    TARGET_CPU_CPP_BUILTINS ();
>>    ^
>> cc1plus: all warnings being treated as errors
>> make[2]: *** [c-family/c-cppbuiltin.o] Error 1
>>
>> gcc/ChangeLog:
>>
>> 2015-04-01  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
>>
>>       * config/bfin/bfin.h (TARGET_CPU_CPP_BUILTINS): Add BFIN_CPU_UNKNOWN.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-handle-c6x-unk_isa-in-TARGET_CPU_CPP_BUILTINS.patch
Type: text/x-diff
Size: 871 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20150402/65941144/attachment.bin>


More information about the Gcc-patches mailing list