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
a27b516f
Commit
a27b516f
authored
Jan 22, 2006
by
Gabriel Dos Reis
Committed by
Gabriel Dos Reis
Jan 22, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix comment
From-SVN: r110094
parent
9384e67e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
gcc/cp/ChangeLog
+4
-0
gcc/cp/rtti.c
+1
-2
No files found.
gcc/cp/ChangeLog
View file @
a27b516f
2006-01-22 Gabriel Dos Reis <gdr@integrable-solutions.net>
* rtti.c (build_dynamic_cast): Fix comment.
2006-01-22 Gabriel Dos Reis <gdr@integrable-solutions.net>
PR c++/10891
* rtti.c (build_dynamic_cast): Reject dynamic_cast use if
-fno-rtti.
...
...
gcc/cp/rtti.c
View file @
a27b516f
...
...
@@ -699,8 +699,7 @@ build_dynamic_cast (tree type, tree expr)
if
(
type
==
error_mark_node
||
expr
==
error_mark_node
)
return
error_mark_node
;
/* Use of dynamic_cast when -fno-rtti is a disaster waiting to happen.
See PR C++/10891. Reject. */
/* Use of dynamic_cast when -fno-rtti is prohibited. */
if
(
!
flag_rtti
)
{
error
(
"%<dynamic_cast%> not permitted with -fno-rtti"
);
...
...
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