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
7e7a6ed7
Commit
7e7a6ed7
authored
Sep 12, 2018
by
Martin Liska
Committed by
Martin Liska
Sep 12, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add quotes for -fconstexpr-depth= in an error message.
From-SVN: r264233
parent
6cd4c66e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletions
+6
-1
gcc/cp/ChangeLog
+5
-0
gcc/cp/constexpr.c
+1
-1
No files found.
gcc/cp/ChangeLog
View file @
7e7a6ed7
2018-08-28 Martin Liska <mliska@suse.cz>
* constexpr.c (cxx_eval_call_expression): Add quotes
to -fconstexpr-depth=.
2018-09-10 Marek Polacek <polacek@redhat.com>
* class.c (build_vtbl_ref): Remove.
...
...
gcc/cp/constexpr.c
View file @
7e7a6ed7
...
...
@@ -1669,7 +1669,7 @@ cxx_eval_call_expression (const constexpr_ctx *ctx, tree t,
{
if
(
!
ctx
->
quiet
)
error
(
"%<constexpr%> evaluation depth exceeds maximum of %d (use "
"
-fconstexpr-depth=
to increase the maximum)"
,
"
%<-fconstexpr-depth=%>
to increase the maximum)"
,
max_constexpr_depth
);
*
non_constant_p
=
true
;
result
=
error_mark_node
;
...
...
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