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
c9b29b25
Commit
c9b29b25
authored
Sep 18, 2013
by
Vladimir Makarov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add missed testsuite/g++.dg/pr58438.C
From-SVN: r202715
parent
080cbf9e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
45 additions
and
0 deletions
+45
-0
gcc/testsuite/g++.dg/pr58438.C
+45
-0
No files found.
gcc/testsuite/g++.dg/pr58438.C
0 → 100644
View file @
c9b29b25
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-options "-march=amdfam10 -O3 -fprofile-generate" } */
enum
gimple_code
{};
struct
A
{
gimple_code
code
;
};
struct
B
{
A
gsbase
;
};
int
**
a
;
int
b
,
d
,
e
,
f
,
g
,
h
,
i
,
j
,
k
,
l
,
m
,
n
,
o
;
gimple_code
c
,
p
;
class
C
{
virtual
unsigned
m_fn1
();
};
B
q
;
static
int
fn1
()
{
int
r
;
if
(
k
)
i
=
0
;
for
(;
i
;
j
++
)
{
b
=
c
<=
0
;
if
(
b
)
n
=
*
a
[
0
];
b
=
p
&&
c
;
if
(
b
)
r
=
*
a
[
0
];
b
=
q
.
gsbase
.
code
&&
c
;
if
(
b
)
o
=
*
a
[
0
];
m
=
o
;
if
(
e
||
1
&
r
||
d
||
l
)
return
0
;
}
}
class
D
:
C
{
unsigned
m_fn1
()
{
fn1
();
for
(;
h
;
g
++
)
for
(;;
f
++
)
;
}
};
void
fn2
()
{
new
D
;
}
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