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
b205f1f7
Commit
b205f1f7
authored
Aug 09, 2011
by
Ulrich Weigand
Committed by
Ulrich Weigand
Aug 09, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gcc.dg/lto/20110201-1_0.c: Provide dummy sqrt.
From-SVN: r177593
parent
bbb20f2f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
0 deletions
+14
-0
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/gcc.dg/lto/20110201-1_0.c
+10
-0
No files found.
gcc/testsuite/ChangeLog
View file @
b205f1f7
2011-08-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gcc.dg/lto/20110201-1_0.c: Provide dummy sqrt.
2011-08-09 Uros Bizjak <ubizjak@gmail.com>
* gcc.target/i386/sse-22a.c: New test.
...
...
gcc/testsuite/gcc.dg/lto/20110201-1_0.c
View file @
b205f1f7
...
...
@@ -16,4 +16,14 @@ foo (_Complex double x, int b)
x
=
0
;
return
cabs
(
x
);
}
/* We provide a dummy sqrt to avoid link failures on targets that do not
expand sqrt inline. Note that we do not link against libm in order
to ensure cabs is not satisfied by the library, but must be folded. */
double
__attribute__
((
used
))
sqrt
(
double
x
)
{
return
x
;
}
int
main
()
{
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