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
e106e1b0
Commit
e106e1b0
authored
Mar 07, 2002
by
Richard Sandiford
Committed by
Richard Sandiford
Mar 07, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gcc.dg/unordered-1.c: New test.
From-SVN: r50402
parent
71925bc0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
0 deletions
+22
-0
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/gcc.dg/unordered-1.c
+18
-0
No files found.
gcc/testsuite/ChangeLog
View file @
e106e1b0
2002-03-07 Richard Sandiford <rsandifo@redhat.com>
* gcc.dg/unordered-1.c: New test.
2002-03-07 Richard Earnshaw <rearnsha@arm.com>
* gcc.c-torture/execute/20020307-1.c: New test.
...
...
gcc/testsuite/gcc.dg/unordered-1.c
0 → 100644
View file @
e106e1b0
/* { dg-do compile } */
void
bar
(
int
);
void
foo
(
int
i
,
float
f
)
{
bar
(
__builtin_isgreater
(
i
,
i
));
/* { dg-error "non-floating-point" } */
bar
(
__builtin_isgreater
(
f
,
i
));
bar
(
__builtin_isgreater
(
i
,
f
));
bar
(
__builtin_isgreater
(
f
,
2
));
bar
(
__builtin_isgreater
(
f
,
2
.
0
f
));
bar
(
__builtin_isgreater
(
f
,
2
.
0
));
bar
(
__builtin_isgreater
(
2
,
f
));
bar
(
__builtin_isgreater
(
2
.
0
f
,
f
));
bar
(
__builtin_isgreater
(
2
.
0
,
f
));
bar
(
__builtin_isgreater
(
&
f
,
i
));
/* { dg-error "non-floating-point" } */
bar
(
__builtin_isgreater
(
f
,
&
i
));
/* { dg-error "non-floating-point" } */
}
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