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
5bc4fa7c
Commit
5bc4fa7c
authored
Jul 02, 2008
by
Mark Shinwell
Committed by
Nathan Sidwell
Jul 02, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* final.c (asm_insn_count): Return zero for an empty asm body.
From-SVN: r137346
parent
5f0d975b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
gcc/ChangeLog
+4
-0
gcc/final.c
+3
-0
No files found.
gcc/ChangeLog
View file @
5bc4fa7c
2008
-
07
-
02
Mark
Shinwell
<
shinwell
@codesourcery
.
com
>
*
final
.
c
(
asm_insn_count
)
:
Return
zero
for
an
empty
asm
body
.
2008
-
07
-
02
Richard
Guenther
<
rguenther
@suse
.
de
>
*
bitmap
.
h
(
bitmap_set_bit
)
:
Return
bool
.
...
...
gcc/final.c
View file @
5bc4fa7c
...
...
@@ -1385,6 +1385,9 @@ asm_insn_count (rtx body)
else
template
=
decode_asm_operands
(
body
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
);
if
(
!*
template
)
return
0
;
for
(;
*
template
;
template
++
)
if
(
IS_ASM_LOGICAL_LINE_SEPARATOR
(
*
template
,
template
)
||
*
template
==
'\n'
)
...
...
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