OSDN Git Service

gcc:
authorbonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 21 Jul 2005 07:30:00 +0000 (07:30 +0000)
committerbonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 21 Jul 2005 07:30:00 +0000 (07:30 +0000)
commit02e6a8e199332eb50a0cf5b310493ae3d5a0f8bd
treeb5e2a441ba704232c2a1736b96888dfec5ff6890
parent7e3cc6817ae6be36340eb0c1978c1b3210cab69e
gcc:
2005-07-21  Paolo Bonzini  <bonzini@gnu.org>

PR target/22085
* config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Do not
initialize targetm.resolve_overloaded_builtin here.
(altivec_expand_overloaded_builtin): Make it non-static.
* config/rs6000/rs6000-protos.h
(altivec_expand_overloaded_builtin): New prototype.
* config/rs6000/rs6000.h (REGISTER_TARGET_PRAGMAS): Initialize
targetm.resolve_overloaded_builtin here.
* config/rs6000/darwin.h (REGISTER_TARGET_PRAGMAS): Likewise.

testsuite:
2005-07-21  Paolo Bonzini  <bonzini@gnu.org>

PR target/22085
* gcc.dg/altivec-pr22085.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@102226 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/rs6000/darwin.h
gcc/config/rs6000/rs6000-c.c
gcc/config/rs6000/rs6000-protos.h
gcc/config/rs6000/rs6000.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/altivec-pr22085.c [new file with mode: 0644]