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
479aecf1
Commit
479aecf1
authored
Aug 24, 1998
by
Jason Merrill
Committed by
Jason Merrill
Aug 24, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* parse.y (primary): Fix up the type of string constants.
From-SVN: r21939
parent
9700b81f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
0 deletions
+8
-0
gcc/cp/ChangeLog
+4
-0
gcc/cp/parse.c
+0
-0
gcc/cp/parse.y
+4
-0
No files found.
gcc/cp/ChangeLog
View file @
479aecf1
1998-08-24 Jason Merrill <jason@yorick.cygnus.com>
* parse.y (primary): Fix up the type of string constants.
1998-08-24 Mark Mitchell <mark@markmitchell.com>
1998-08-24 Mark Mitchell <mark@markmitchell.com>
* typeck.c (convert_for_initialization): Move check for odd uses
* typeck.c (convert_for_initialization): Move check for odd uses
...
...
gcc/cp/parse.c
View file @
479aecf1
This diff is collapsed.
Click to expand it.
gcc/cp/parse.y
View file @
479aecf1
...
@@ -1356,6 +1356,10 @@ primary:
...
@@ -1356,6 +1356,10 @@ primary:
if (processing_template_decl)
if (processing_template_decl)
push_obstacks (&permanent_obstack, &permanent_obstack);
push_obstacks (&permanent_obstack, &permanent_obstack);
$$ = combine_strings ($$);
$$ = combine_strings ($$);
if (flag_const_strings)
TREE_TYPE ($$) = build_cplus_array_type
(TREE_TYPE (TREE_TYPE ($$)),
TYPE_DOMAIN (TREE_TYPE ($$)));
if (processing_template_decl)
if (processing_template_decl)
pop_obstacks ();
pop_obstacks ();
}
}
...
...
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