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
5ba280da
Commit
5ba280da
authored
Dec 16, 1999
by
Bernd Schmidt
Committed by
Bernd Schmidt
Dec 16, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix an older test
From-SVN: r30975
parent
3d62d651
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletions
+9
-1
gcc/testsuite/ChangeLog
+5
-0
gcc/testsuite/gcc.dg/991214-1.c
+4
-1
No files found.
gcc/testsuite/ChangeLog
View file @
5ba280da
1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
* gcc.dg/991214-1.c: Use "__asm__", not "asm".
Actually make the test fail by using "-O2" for compilation.
1999-12-15 Nathan Sidwell <nathan@acm.org>
* g++.old-deja/g++.warn/cast-align1.C: New test.
...
...
gcc/testsuite/gcc.dg/991214-1.c
View file @
5ba280da
/* { dg-do compile { target i?86-*-* } } */
/* { dg-options "-O2" } */
/* Test against a problem with the combiner substituting explicit hard reg
references when it shouldn't. */
int
foo
(
int
,
int
)
__attribute__
((
regparm
(
3
)));
int
foo
(
int
x
,
int
y
)
{
asm
volatile
(
""
:
:
"d"
(
x
),
"r"
(
y
));
__asm__
__volatile__
(
""
:
:
"d"
(
x
),
"r"
(
y
));
}
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