OSDN Git Service

* system.h (HAVE_DESIGNATED_INITIALIZERS): Don't define if
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 10 Jun 2009 02:01:06 +0000 (02:01 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 10 Jun 2009 02:01:06 +0000 (02:01 +0000)
commit423aab86b96cee0e4855395e07f7086ffebea6cd
treedb7cab5db121bc9f4ea32f384356de3085b43d24
parent5741047ef3d6bd21528067e7ff6b0af43efc5614
* system.h (HAVE_DESIGNATED_INITIALIZERS): Don't define if
compiling with C++.
* optabs.c (optab_table): Only use designated initializers if
HAVE_DESIGNATED_INITIALIZERS is defined.
(convert_optab_table): Likewise.
(init_optabs): Always call init_insn_codes if
HAVE_DESIGNATED_INITIALIZERS is not defined.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148336 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/optabs.c
gcc/system.h