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
9887f1dc
Commit
9887f1dc
authored
Oct 18, 2010
by
Richard Henderson
Committed by
Richard Henderson
Oct 18, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gcc.target/ia64/20101014.c: Fix double-paste of test case.
From-SVN: r165653
parent
e1d4e035
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
67 deletions
+5
-67
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/gcc.target/ia64/20101014.c
+1
-67
No files found.
gcc/testsuite/ChangeLog
View file @
9887f1dc
2010-10-18 Richard Henderson <rth@redhat.com>
* gcc.target/ia64/20101014.c: Fix double-paste of test case.
2010-10-18 Jakub Jelinek <jakub@redhat.com>
PR c/46015
...
...
gcc/testsuite/gcc.target/ia64/20101014.c
View file @
9887f1dc
/* { dg-do compile } */
/* { dg-options "-O2 -g -fselective-scheduling2" } */
typedef
long
unsigned
int
size_t
;
struct
fileloc
{
const
char
*
file
;
};
typedef
struct
type
*
type_p
;
typedef
const
struct
type
*
const_type_p
;
enum
typekind
{
TYPE_STRUCT
,
TYPE_UNION
,
TYPE_POINTER
,
TYPE_LANG_STRUCT
,
TYPE_PARAM_STRUCT
};
struct
type
{
enum
typekind
kind
;
union
{
struct
{
struct
fileloc
line
;
}
s
;
struct
{
struct
fileloc
line
;
}
param_struct
;
}
u
;
};
struct
outf
{
size_t
bufused
;
char
*
buf
;
};
typedef
struct
outf
*
outf_p
;
oprintf
(
outf_p
o
,
const
char
*
format
,
...)
{
char
*
s
;
size_t
slength
;
memcpy
(
o
->
buf
+
o
->
bufused
,
s
,
slength
);
}
output_mangled_typename
(
outf_p
of
,
const_type_p
t
)
{
switch
(
t
->
kind
)
{
case
TYPE_POINTER
:
(
fancy_abort
(
"/gcc/gengtype.c"
,
1988
,
__FUNCTION__
));
}
}
output_type_enum
(
outf_p
of
,
type_p
s
)
{
if
(
s
->
kind
==
TYPE_PARAM_STRUCT
&&
s
->
u
.
param_struct
.
line
.
file
!=
((
void
*
)
0
))
{
oprintf
(
of
,
", gt_e_"
);
}
else
if
(((
s
)
->
kind
==
TYPE_UNION
||
(
s
)
->
kind
==
TYPE_STRUCT
||
(
s
)
->
kind
==
TYPE_LANG_STRUCT
)
&&
s
->
u
.
s
.
line
.
file
!=
((
void
*
)
0
))
{
oprintf
(
of
,
", gt_ggc_e_"
);
output_mangled_typename
(
of
,
s
);
}
else
oprintf
(
of
,
", gt_types_enum_last"
);
}
/* { dg-do compile } */
/* { dg-options "-O2 -g -fselective-scheduling2" } */
/* { dg-options "-w -O2 -g -fselective-scheduling2" } */
typedef
long
unsigned
int
size_t
;
struct
fileloc
...
...
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