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
ce56e6ed
Commit
ce56e6ed
authored
Jun 18, 1998
by
Michael Meissner
Committed by
Michael Meissner
Jun 18, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add bugs corresponding to PRs 16243 and 16245
From-SVN: r20561
parent
bf3ad139
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
86 additions
and
0 deletions
+86
-0
gcc/testsuite/gcc.c-torture/ChangeLog
+4
-0
gcc/testsuite/gcc.c-torture/execute/980618-1.c
+16
-0
gcc/testsuite/gcc.c-torture/execute/980618-2.c
+66
-0
No files found.
gcc/testsuite/gcc.c-torture/ChangeLog
View file @
ce56e6ed
Thu Jun 18 15:12:30 1998 Michael Meissner <meissner@cygnus.com>
* execute/980618-{1,2}.c: New tests that showed up m32r bugs.
Fri Jun 5 21:54:26 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
* execute/980605-1.c: New test.
...
...
gcc/testsuite/gcc.c-torture/execute/980618-1.c
0 → 100644
View file @
ce56e6ed
void
func
(
int
,
int
);
int
main
()
{
int
x
=
7
;
func
(
!
x
,
!
7
);
exit
(
0
);
}
void
func
(
int
x
,
int
y
)
{
if
(
x
==
y
)
return
;
else
abort
();
}
gcc/testsuite/gcc.c-torture/execute/980618-2.c
0 → 100644
View file @
ce56e6ed
typedef
char
CHAR
;
typedef
short
SHORT
;
typedef
int
INT
;
typedef
long
LONG
;
typedef
float
FLOAT
;
typedef
unsigned
char
UCHAR
;
typedef
unsigned
short
USHORT
;
typedef
unsigned
int
UINT
;
typedef
unsigned
long
ULONG
;
typedef
double
DOUBLE
;
#if __STDC__
typedef
signed
char
SCHAR
;
typedef
long
double
LDOUBLE
;
#endif
int
main
()
{
typedef
union
{
CHAR
c
;
SHORT
s
;
INT
i
;
UCHAR
uc
;
USHORT
us
;
UINT
ui
;
LONG
l
;
ULONG
ul
;
FLOAT
f
;
DOUBLE
d
;
#if __STDC__
SCHAR
sc
;
LDOUBLE
ld
;
#endif
}
D
;
auto
D
D1
;
D1
.
c
=
7
;
{
auto
struct
{
CHAR
c
;
SHORT
s
;
INT
i
;
UCHAR
uc
;
USHORT
us
;
UINT
ui
;
LONG
l
;
ULONG
ul
;
FLOAT
f
;
DOUBLE
d
;
#if __STDC__
SCHAR
sc
;
LDOUBLE
ld
;
#endif
}
F
;
F
.
c
=
7
;
if
((
D1
.
c
&&
F
.
c
)
!=
1
)
abort
();
if
((
F
.
c
&&
D1
.
c
)
!=
1
)
abort
();
}
exit
(
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