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
908ef79b
Commit
908ef79b
authored
Jan 26, 2011
by
Arnaud Charlet
Committed by
Arnaud Charlet
Jan 26, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* c-ada-spec.c (dump_generic_ada_node): Avoid dereferencing null type.
From-SVN: r169278
parent
237e9384
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
gcc/c-family/ChangeLog
+4
-0
gcc/c-family/c-ada-spec.c
+1
-0
No files found.
gcc/c-family/ChangeLog
View file @
908ef79b
2011
-
01
-
26
Arnaud
Charlet
<
charlet
@adacore
.
com
>
*
c
-
ada
-
spec
.
c
(
dump_generic_ada_node
)
:
Avoid
dereferencing
null
type
.
2011
-
01
-
26
Jakub
Jelinek
<
jakub
@redhat
.
com
>
2011
-
01
-
26
Jakub
Jelinek
<
jakub
@redhat
.
com
>
PR
pch
/
47430
PR
pch
/
47430
...
...
gcc/c-family/c-ada-spec.c
View file @
908ef79b
...
@@ -2035,6 +2035,7 @@ dump_generic_ada_node (pretty_printer *buffer, tree node, tree type,
...
@@ -2035,6 +2035,7 @@ dump_generic_ada_node (pretty_printer *buffer, tree node, tree type,
||
!
TYPE_FIELDS
(
TREE_TYPE
(
underlying_type
))))
||
!
TYPE_FIELDS
(
TREE_TYPE
(
underlying_type
))))
/* Pointer to opaque structure. */
/* Pointer to opaque structure. */
||
underlying_type
==
NULL_TREE
||
(
!
typ2
||
(
!
typ2
&&
!
TREE_VISITED
(
underlying_type
)
&&
!
TREE_VISITED
(
underlying_type
)
&&
!
TREE_VISITED
(
type_name
)
&&
!
TREE_VISITED
(
type_name
)
...
...
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