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
61fab236
Commit
61fab236
authored
Nov 09, 1992
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(build_message_expr): Don't crash if super_type is 0.
From-SVN: r2723
parent
233c0fef
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
gcc/objc/objc-act.c
+6
-7
No files found.
gcc/objc/objc-act.c
View file @
61fab236
...
@@ -1635,12 +1635,10 @@ check_ivars (inter, imp)
...
@@ -1635,12 +1635,10 @@ check_ivars (inter, imp)
}
}
}
}
/*
/* Set super_type to the data type node for struct objc_super *,
* struct objc_super {
first defining struct objc_super itself.
* id self;
This needs to be done just once per compilation. */
* struct objc_class *class;
* };
*/
static
tree
static
tree
build_super_template
()
build_super_template
()
{
{
...
@@ -2695,7 +2693,8 @@ build_message_expr (mess)
...
@@ -2695,7 +2693,8 @@ build_message_expr (mess)
/* Determine operation return type. */
/* Determine operation return type. */
if
(
TYPE_MAIN_VARIANT
(
rtype
)
==
TYPE_MAIN_VARIANT
(
super_type
))
if
(
super_type
!=
0
&&
TYPE_MAIN_VARIANT
(
rtype
)
==
TYPE_MAIN_VARIANT
(
super_type
))
{
{
tree
iface
;
tree
iface
;
...
...
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