c-common.c (get_flag_spec, [...]): Use strchr () instead of index ().
authorJoseph Myers <jsm28@cam.ac.uk>
Thu, 2 Nov 2000 18:59:16 +0000 (18:59 +0000)
committerJoseph Myers <jsm28@gcc.gnu.org>
Thu, 2 Nov 2000 18:59:16 +0000 (18:59 +0000)
commit0304bbad379d530d08ca2aa11289875e71a44aa6
treefc9135b52de3f1b54b681cae69ddde68883c4b76
parent0ad35392f46ddaba1057e59b5790c237afca9bfd
c-common.c (get_flag_spec, [...]): Use strchr () instead of index ().

* c-common.c (get_flag_spec, check_format_info_main,
check_format_types): Use strchr () instead of index ().  Compare
against error_mark_node instead of comparing the TREE_CODE against
ERROR_MARK.

From-SVN: r37205
gcc/ChangeLog
gcc/c-common.c