mirror of git://gcc.gnu.org/git/gcc.git
Fixed problem related to vec_ld in c++ mode.
Approved by Aldy Hernandez. From-SVN: r81715
This commit is contained in:
parent
8f0b9daaa2
commit
7958a2a62b
|
@ -1,3 +1,8 @@
|
||||||
|
2004-05-11 Fariborz Jahanian <fjahanian@apple.com>
|
||||||
|
|
||||||
|
* config/rs6000/rs6000.c (rs6000_handle_altivec_attribute):
|
||||||
|
Add const qualifier to altivec vector type if one is needed.
|
||||||
|
|
||||||
2004-05-11 Paul Brook <paul@codesourcery.com>
|
2004-05-11 Paul Brook <paul@codesourcery.com>
|
||||||
|
|
||||||
* flags.h (flag_short_enums): Update comment.
|
* flags.h (flag_short_enums): Update comment.
|
||||||
|
|
|
@ -15175,6 +15175,9 @@ rs6000_handle_altivec_attribute (tree *node, tree name, tree args,
|
||||||
default: break;
|
default: break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (result && result != type && TYPE_READONLY (type))
|
||||||
|
result = build_qualified_type (result, TYPE_QUAL_CONST);
|
||||||
|
|
||||||
*no_add_attrs = true; /* No need to hang on to the attribute. */
|
*no_add_attrs = true; /* No need to hang on to the attribute. */
|
||||||
|
|
||||||
if (!result)
|
if (!result)
|
||||||
|
|
Loading…
Reference in New Issue