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
59d4a500
Commit
59d4a500
authored
Jun 27, 2004
by
Zack Weinberg
Committed by
Zack Weinberg
Jun 27, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* g++.old-deja/g++.mike/p7325.C: Remove.
From-SVN: r83749
parent
934d729b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
57 deletions
+5
-57
gcc/testsuite/ChangeLog
+5
-1
gcc/testsuite/g++.old-deja/g++.mike/p7325.C
+0
-56
No files found.
gcc/testsuite/ChangeLog
View file @
59d4a500
2004
-
06
-
27
Zack
Weinberg
<
zack
@codesourcery
.
com
>
*
g
++
.
old
-
deja
/
g
++
.
mike
/
p7325
.
C
:
Remove
.
2004
-
06
-
27
Andrew
Pinski
<
pinskia
@physics
.
uc
.
edu
>
2004
-
06
-
27
Andrew
Pinski
<
pinskia
@physics
.
uc
.
edu
>
PR
c
/
14963
PR
c
/
14963
...
@@ -126,7 +130,7 @@
...
@@ -126,7 +130,7 @@
to
fix
type
error
.
to
fix
type
error
.
*
gfortran
.
fortran
-
torture
/
execute
/
intrinsic_associated
.
f90
:
*
gfortran
.
fortran
-
torture
/
execute
/
intrinsic_associated
.
f90
:
Remove
trailing
spaces
.
Remove
trailing
spaces
.
2004
-
06
-
21
Richard
Henderson
<
rth
@redhat
.
com
>
2004
-
06
-
21
Richard
Henderson
<
rth
@redhat
.
com
>
*
gcc
.
dg
/
tree
-
ssa
/
20030714
-
1
.
c
:
Rename
variables
to
avoid
*
gcc
.
dg
/
tree
-
ssa
/
20030714
-
1
.
c
:
Rename
variables
to
avoid
...
...
gcc/testsuite/g++.old-deja/g++.mike/p7325.C
deleted
100644 → 0
View file @
934d729b
// { dg-do run { xfail *-*-* } }
// I hate this type of test case. I'm not sure how to code it better.
// See the PR for what this tests.
// prms-id: 7325
int
fail
=
0
;
struct
A
{
int
i
;
static
const
A
*
match_this
;
static
const
A
*
match_arg
;
A
()
:
i
(
7
)
{
if
(
match_this
)
if
(
match_this
!=
this
)
fail
=
1
;
}
A
*
get_this
()
{
return
this
;
}
A
&
operator
=
(
const
A
&
o
)
{
if
(
match_this
)
if
(
match_this
!=
this
)
fail
=
1
;
if
(
match_arg
)
if
(
match_arg
!=
&
o
)
fail
=
1
;
match_arg
=
&
o
;
return
*
this
;
}
};
const
A
*
A
::
match_this
;
const
A
*
A
::
match_arg
;
A
a
;
A
foo
()
{
return
a
;
}
void
f
()
{
A
a
;
A
::
match_this
=
&
a
;
a
=
foo
();
a
=
foo
();
A
::
match_this
=
0
;
}
void
g
()
{
A
::
match_this
=
A
().
get_this
();
A
();
A
();
A
::
match_this
=
0
;
}
int
main
()
{
f
();
g
();
return
fail
;
}
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