OSDN Git Service

PR target/36904
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 10 Sep 2008 21:06:25 +0000 (21:06 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 10 Sep 2008 21:06:25 +0000 (21:06 +0000)
commit0241311057c44fdbc8dc095824d46edc2d5196e4
tree089a54f99fe72026286048a049f61df57d71ec60
parent722e1a0d14e8ad74d4cc610af770860e96ff1636
PR target/36904
* config/rs6000/rs6000-c.c (rs6000_macro_to_expand): Return NULL
instead of tok->val.node if not expanding to something else.  Handle
intervening CPP_PADDING tokens.
(altivec_categorize_keyword): Remove unneeded comparisons.

* gcc.target/powerpc/altivec-27.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@140247 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/rs6000/rs6000-c.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/altivec-27.c [new file with mode: 0644]