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
15f188a4
Commit
15f188a4
authored
Mar 30, 2005
by
Ian Lance Taylor
Committed by
Ian Lance Taylor
Mar 30, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* parse.y (maybe_yank_clinit): Don't crash if bbody is NULL.
From-SVN: r97264
parent
2d47d84c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
+5
-1
gcc/java/ChangeLog
+4
-0
gcc/java/parse.y
+1
-1
No files found.
gcc/java/ChangeLog
View file @
15f188a4
2005
-
03
-
30
Ian
Lance
Taylor
<
ian
@
airs
.
com
>
*
parse
.
y
(
maybe_yank_clinit
):
Don
't crash if bbody is NULL.
2005-03-30 Tom Tromey <tromey@redhat.com>
* jcf-dump.c (HANDLE_INNERCLASSES_ATTRIBUTE): Handle cases where
...
...
gcc/java/parse.y
View file @
15f188a4
...
...
@@ -8091,7 +8091,7 @@ maybe_yank_clinit (tree mdecl)
/* Now we analyze the method body and look for something that
isn'
t
a
MODIFY_EXPR
*/
if
(
!IS_EMPTY_STMT (bbody) && analyze_clinit_body (type, bbody))
if
(
bbody
&&
!IS_EMPTY_STMT (bbody) && analyze_clinit_body (type, bbody))
return
0
;
/*
Get
rid
of
<
clinit
>
in
the
class
' list of methods */
...
...
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