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
b75ab88b
Commit
b75ab88b
authored
Oct 05, 1998
by
Nick Clifton
Committed by
Nick Clifton
Oct 05, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
If errorcount nonzero, don't call abort if the function is already defined.
From-SVN: r22836
parent
6a992214
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
1 deletions
+16
-1
gcc/ChangeLog
+5
-0
gcc/dwarf2out.c
+11
-1
No files found.
gcc/ChangeLog
View file @
b75ab88b
Mon
Oct
5
10
:
11
:
28
1998
Nick
Clifton
<
nickc
@cygnus
.
com
>
*
dwarf2out
.
c
(
gen_subprogram_die
)
:
If
errorcount
nonzero
,
don
'
t
call
abort
if
the
function
is
already
defined
.
Mon
Oct
5
10
:
02
:
36
1998
Jeffrey
A
Law
(
law
@cygnus
.
com
)
*
combine
.
c
(
simplify_rtx
)
:
Do
not
replace
TRUNCATE
with
a
SUBREG
if
...
...
gcc/dwarf2out.c
View file @
b75ab88b
...
...
@@ -8179,7 +8179,17 @@ gen_subprogram_die (decl, context_die)
=
lookup_filename
(
DECL_SOURCE_FILE
(
decl
));
if
(
get_AT_flag
(
old_die
,
DW_AT_declaration
)
!=
1
)
abort
();
{
/* ??? This can happen if there is a bug in the program, for
instance, if it has duplicate function definitions. Ideally,
we should detect this case and ignore it. For now, if we have
already reported an error, any error at all, then assume that
we got here because of a input error, not a dwarf2 bug. */
extern
int
errorcount
;
if
(
errorcount
)
return
;
abort
();
}
/* If the definition comes from the same place as the declaration,
maybe use the old DIE. We always want the DIE for this function
...
...
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