c6x: handle c6x unk_isa in TARGET_CPU_CPP_BUILTINS
authorBernhard Reutner-Fischer <aldot@gcc.gnu.org>
Wed, 22 Apr 2015 08:10:18 +0000 (10:10 +0200)
committerBernhard Reutner-Fischer <aldot@gcc.gnu.org>
Wed, 22 Apr 2015 08:10:18 +0000 (10:10 +0200)
commitbaa59cde376dbd90f95d60f46299f1c4ae5674b2
tree80eeea07ea7e6ee699b238c7e2f9549967ced6da
parent0828c47bb4729348ae44fc555c334ba4f8e4d28b
c6x: handle c6x unk_isa in TARGET_CPU_CPP_BUILTINS

Fixes all-gcc for c6x config-list.mk that complained about

error: enumeration value ‘unk_isa’ not handled in switch

Maybe seeing unk_isa in the cpu switch statement should
__builtin_abort() but be conservative to just allow all-gcc of config-list.mk
to compile

From-SVN: r222308
gcc/ChangeLog
gcc/config/c6x/c6x.h