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
1c93d557
Commit
1c93d557
authored
Feb 02, 2008
by
Hans-Peter Nilsson
Committed by
Hans-Peter Nilsson
Feb 02, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gcc.target/cris/torture/pr34773.c: Use __asm__, not asm.
From-SVN: r132064
parent
9a212bb7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/gcc.target/cris/torture/pr34773.c
+5
-5
No files found.
gcc/testsuite/ChangeLog
View file @
1c93d557
2008
-
02
-
02
Hans
-
Peter
Nilsson
<
hp
@axis
.
com
>
*
gcc
.
target
/
cris
/
torture
/
pr34773
.
c
:
Use
__asm__
,
not
asm
.
2008
-
02
-
01
Hans
-
Peter
Nilsson
<
hp
@axis
.
com
>
PR
rtl
-
optimization
/
34773
gcc/testsuite/gcc.target/cris/torture/pr34773.c
View file @
1c93d557
...
...
@@ -25,7 +25,7 @@ _vfprintf_r(double da)
if
(
ffp
!=
0
)
__sprint_r
(
value
==
0
);
asm
(
""
);
__asm__
(
""
);
}
...
...
@@ -39,14 +39,14 @@ void _dtoa_r (double d)
{
if
(
d
!=
ff
)
abort
();
asm
(
""
);
__asm__
(
""
);
}
void
__sprint_r
(
int
i
)
{
if
(
i
!=
0
)
abort
();
asm
(
""
);
__asm__
(
""
);
}
int
clearstack
(
void
)
__attribute__
((
__noinline__
));
...
...
@@ -54,7 +54,7 @@ int clearstack (void)
{
char
doodle
[
128
];
memset
(
doodle
,
0
,
sizeof
doodle
);
asm
volatile
(
""
:
:
"g"
(
doodle
)
:
"memory"
);
__asm__
volatile
(
""
:
:
"g"
(
doodle
)
:
"memory"
);
return
doodle
[
127
];
}
...
...
@@ -63,7 +63,7 @@ void doit (void)
{
_vfprintf_r
(
dd
);
_vfprintf_r
(
ff
);
asm
(
""
);
__asm__
(
""
);
}
int
main
(
void
)
...
...
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