Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
7958a2a6
Commit
7958a2a6
authored
May 11, 2004
by
Fariborz Jahanian
Committed by
Fariborz Jahanian
May 11, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed problem related to vec_ld in c++ mode.
Approved by Aldy Hernandez. From-SVN: r81715
parent
8f0b9daa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
gcc/ChangeLog
+5
-0
gcc/config/rs6000/rs6000.c
+3
-0
No files found.
gcc/ChangeLog
View file @
7958a2a6
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>
* flags.h (flag_short_enums): Update comment.
...
...
gcc/config/rs6000/rs6000.c
View file @
7958a2a6
...
...
@@ -15175,6 +15175,9 @@ rs6000_handle_altivec_attribute (tree *node, tree name, tree args,
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. */
if
(
!
result
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment