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
12374876
Commit
12374876
authored
Jan 12, 2005
by
Ulrich Weigand
Committed by
Ulrich Weigand
Jan 12, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gcc.dg/ftrapv-2.c (labsv): Call labs instead of abs.
From-SVN: r93223
parent
ef6f5655
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletions
+6
-1
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/gcc.dg/ftrapv-2.c
+2
-1
No files found.
gcc/testsuite/ChangeLog
View file @
12374876
2005
-
01
-
12
Ulrich
Weigand
<
uweigand
@de
.
ibm
.
com
>
*
gcc
.
dg
/
ftrapv
-
2
.
c
(
labsv
)
:
Call
labs
instead
of
abs
.
2005
-
01
-
12
Ben
Elliston
<
bje
@au
.
ibm
.
com
>
*
g
++
.
dg
/
warn
/
Wunused
-
9
.
C
:
Don
'
t
XFAIL
the
+
f
()
case
.
...
...
gcc/testsuite/gcc.dg/ftrapv-2.c
View file @
12374876
...
...
@@ -10,6 +10,7 @@
/* { dg-options "-ftrapv" } */
extern
void
abort
(
void
);
extern
long
labs
(
long
);
int
__attribute__
((
noinline
))
iabsv
(
int
a
)
...
...
@@ -44,7 +45,7 @@ inegv(int a)
long
__attribute__
((
noinline
))
labsv
(
long
a
)
{
return
abs
(
a
);
return
l
abs
(
a
);
}
long
__attribute__
((
noinline
))
...
...
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