diff options
author | Andrew Pinski <pinskia@gmail.com> | 2006-12-19 00:28:46 -0800 |
---|---|---|
committer | Andrew Pinski <pinskia@gcc.gnu.org> | 2006-12-19 00:28:46 -0800 |
commit | 61210b72911913f201aa6476a13921bc43cc050c (patch) | |
tree | d5780f3a09906d9eba9e7ff2896bf7f04670e5b1 /gcc | |
parent | f839548fc7279f813bebeca759f0a04dae5b4f62 (diff) | |
download | gcc-61210b72911913f201aa6476a13921bc43cc050c.zip gcc-61210b72911913f201aa6476a13921bc43cc050c.tar.gz gcc-61210b72911913f201aa6476a13921bc43cc050c.tar.bz2 |
re PR fortran/29779 (vectorizer fortran testcases failing)
2006-12-18 Andrew Pinski <pinskia@gmail.com>
PR target/29779
* config/rs6000/rs6000.c (altivec_init_builtins): Change to set
READONLY on __builtin_altivec_mask_for_load instead of adding
the attribute.
From-SVN: r120045
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/config/rs6000/rs6000.c | 5 |
2 files changed, 9 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a76a75a..d6c71fb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2006-12-18 Andrew Pinski <pinskia@gmail.com> + + PR target/29779 + * config/rs6000/rs6000.c (altivec_init_builtins): Change to set + READONLY on __builtin_altivec_mask_for_load instead of adding + the attribute. + 2006-12-18 Roger Sayle <roger@eyesopen.com> Eric Christopher <echristo@apple.com> diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 3b175e3..3d4b19c 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -8802,9 +8802,8 @@ altivec_init_builtins (void) decl = add_builtin_function ("__builtin_altivec_mask_for_load", v16qi_ftype_long_pcvoid, ALTIVEC_BUILTIN_MASK_FOR_LOAD, - BUILT_IN_MD, NULL, - tree_cons (get_identifier ("const"), - NULL_TREE, NULL_TREE)); + BUILT_IN_MD, NULL, NULL_TREE); + TREE_READONLY (decl) = 1; /* Record the decl. Will be used by rs6000_builtin_mask_for_load. */ altivec_builtin_mask_for_load = decl; } |