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
1595ec20
Commit
1595ec20
authored
Aug 16, 2005
by
Ian Lance Taylor
Committed by
Ian Lance Taylor
Aug 16, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* tree.c (build_string): Mark tree CONSTANT and INVARIANT.
From-SVN: r103141
parent
eb5f0c07
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletions
+6
-1
gcc/ChangeLog
+4
-1
gcc/tree.c
+2
-0
No files found.
gcc/ChangeLog
View file @
1595ec20
2005
-
08
-
15
Ian
Lance
Taylor
<
ian
@airs
.
com
>
*
tree
.
c
(
build_string
)
:
Mark
tree
CONSTANT
and
INVARIANT
.
2005
-
08
-
15
DJ
Delorie
<
dj
@redhat
.
com
>
*
config
/
m32c
/
mov
.
md
(
movqi_op
)
:
Immediates
can
'
t
be
moved
to
...
...
@@ -18,7 +22,6 @@
*
configure
,
config
.
in
:
Regenerate
.
2005
-
08
-
15
David
Edelsohn
<
edelsohn
@gnu
.
org
>
*
config
/
rs6000
/
rs6000
.
md
(
QHSI
)
:
New
mode
macro
.
...
...
gcc/tree.c
View file @
1595ec20
...
...
@@ -1053,6 +1053,8 @@ build_string (int len, const char *str)
memset
(
s
,
0
,
sizeof
(
struct
tree_common
));
TREE_SET_CODE
(
s
,
STRING_CST
);
TREE_CONSTANT
(
s
)
=
1
;
TREE_INVARIANT
(
s
)
=
1
;
TREE_STRING_LENGTH
(
s
)
=
len
;
memcpy
((
char
*
)
TREE_STRING_POINTER
(
s
),
str
,
len
);
((
char
*
)
TREE_STRING_POINTER
(
s
))[
len
]
=
'\0'
;
...
...
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