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
ca2e264d
Commit
ca2e264d
authored
Mar 16, 2013
by
Jason Merrill
Committed by
Jason Merrill
Mar 16, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* search.c (lookup_base): Handle NULL_TREE.
From-SVN: r196738
parent
b7df43cd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
gcc/cp/ChangeLog
+2
-0
gcc/cp/search.c
+8
-0
No files found.
gcc/cp/ChangeLog
View file @
ca2e264d
2013-03-16 Jason Merrill <jason@redhat.com>
* search.c (lookup_base): Handle NULL_TREE.
PR c++/56481
* semantics.c (potential_constant_expression_1): Use of 'this' in
a non-constexpr function makes the expression not potentially
...
...
gcc/cp/search.c
View file @
ca2e264d
...
...
@@ -188,6 +188,14 @@ lookup_base (tree t, tree base, base_access access,
tree
t_binfo
;
base_kind
bk
;
/* "Nothing" is definitely not derived from Base. */
if
(
t
==
NULL_TREE
)
{
if
(
kind_ptr
)
*
kind_ptr
=
bk_not_base
;
return
NULL_TREE
;
}
if
(
t
==
error_mark_node
||
base
==
error_mark_node
)
{
if
(
kind_ptr
)
...
...
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