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
c5061554
Commit
c5061554
authored
Jan 25, 2003
by
Jan Hubicka
Committed by
Jan Hubicka
Jan 25, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gcc.c-torture/execute/20030125-1.[cx]: New test.
From-SVN: r61771
parent
32d9a5bd
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
68 additions
and
0 deletions
+68
-0
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/gcc.c-torture/execute/20030125-1.c
+61
-0
gcc/testsuite/gcc.c-torture/execute/20030125-1.x
+3
-0
No files found.
gcc/testsuite/ChangeLog
View file @
c5061554
Sat Jan 25 12:32:55 CET 2003 Jan HUbicka <jh@suse.cz>
* gcc.c-torture/execute/20030125-1.[cx]: New test.
2003-01-25 Paolo Carlini <pcarlini@unitus.it>
Tweaks for Bison-1.875. From the NEWS file:
...
...
gcc/testsuite/gcc.c-torture/execute/20030125-1.c
0 → 100644
View file @
c5061554
/* Verify wehther math functions are simplified. */
double
sin
(
double
);
double
floor
(
double
);
float
t
(
float
a
)
{
return
sin
(
a
);
}
float
q
(
float
a
)
{
return
floor
(
a
);
}
double
q1
(
float
a
)
{
return
floor
(
a
);
}
float
q2
(
double
a
)
{
return
floor
(
a
);
}
main
()
{
#ifdef __OPTIMIZE__
if
(
t
(
0
)
!=
0
)
abort
();
if
(
q
(
0
)
!=
0
)
abort
();
if
(
q1
(
0
)
!=
0
)
abort
();
if
(
q2
(
0
)
!=
0
)
abort
();
#endif
return
0
;
}
__attribute__
((
noinline
))
double
floor
(
double
a
)
{
abort
();
}
__attribute__
((
noinline
))
float
floorf
(
float
a
)
{
return
a
;
}
__attribute__
((
noinline
))
double
sin
(
double
a
)
{
abort
();
}
__attribute__
((
noinline
))
float
sinf
(
float
a
)
{
return
a
;
}
gcc/testsuite/gcc.c-torture/execute/20030125-1.x
0 → 100644
View file @
c5061554
# Only Linux does inlclude all c99 functions at the moment.
if { ! [istarget "*linux*"] } { return 1 }
return 0
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