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
04be6a22
Commit
04be6a22
authored
Jun 09, 1998
by
Jason Merrill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
From-SVN: r20400
parent
02020185
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
73 additions
and
13 deletions
+73
-13
gcc/testsuite/g++.old-deja/g++.jason/rfg15.C
+0
-6
gcc/testsuite/g++.old-deja/g++.law/operators29.C
+0
-1
gcc/testsuite/g++.old-deja/g++.mike/p1989.C
+2
-2
gcc/testsuite/g++.old-deja/g++.other/delete2.C
+13
-0
gcc/testsuite/g++.old-deja/g++.other/init5.C
+27
-0
gcc/testsuite/g++.old-deja/g++.pt/typename7.C
+20
-0
gcc/testsuite/g++.old-deja/g++.robertl/eb26.C
+1
-0
gcc/testsuite/g++.old-deja/g++.robertl/eb27.C
+1
-0
gcc/testsuite/g++.old-deja/g++.robertl/eb36.C
+1
-1
gcc/testsuite/g++.old-deja/g++.robertl/eb43.C
+2
-0
gcc/testsuite/g++.old-deja/g++.robertl/eb49.C
+2
-1
gcc/testsuite/g++.old-deja/g++.robertl/eb70.C
+1
-0
gcc/testsuite/g++.old-deja/g++.robertl/eb76.C
+2
-1
gcc/testsuite/g++.old-deja/g++.robertl/eb88.C
+1
-1
No files found.
gcc/testsuite/g++.old-deja/g++.jason/rfg15.C
deleted
100644 → 0
View file @
02020185
const
void
*
cvp
;
const
void
func1
()
{
return
*
cvp
;
/* ERROR - returning a value from a void function */
}
gcc/testsuite/g++.old-deja/g++.law/operators29.C
View file @
04be6a22
// Build don't link:
// GROUPS passed operators
// excess errors test - XFAIL *-*-*
// (Message bugs/opr-del:4)
// From: jamshid@ses.com (Jamshid Afshar)
// Date: Fri, 25 Feb 94 18:44:01 CST
...
...
gcc/testsuite/g++.old-deja/g++.mike/p1989.C
View file @
04be6a22
...
...
@@ -336,7 +336,7 @@ struct vertex {
vertex
()
:
item
(),
fanout
()
// gets bogus error
{
};
vertex
(
const
T
&
i
)
:
item
(),
fanout
()
// gets bogus error
- XFAIL *-*-*
vertex
(
const
T
&
i
)
:
item
(),
fanout
()
// gets bogus error
{
};
};
...
...
@@ -458,7 +458,7 @@ void
Graph
<
T
>::
nextV1
(
Pix
vx
,
Pix
&
x
)
const
{
vertex
<
T
>
*
v
=
(
vertex
<
T
>
*
)
vx
;
return
v
->
fanout
.
next
(
x
);
// ERROR - return from void method
return
v
->
fanout
.
next
(
x
);
}
template
<
class
T
>
...
...
gcc/testsuite/g++.old-deja/g++.other/delete2.C
0 → 100644
View file @
04be6a22
// Build don't link:
struct
foo
{
operator
char
*
()
const
;
};
void
bar
(
foo
a
)
{
delete
a
;
// should be accepted - XFAIL *-*-*
delete
[]
a
;
// should be accepted - XFAIL *-*-*
char
b
[
1
];
delete
b
;
// ERROR - expecting pointer type
delete
[]
b
;
// ERROR - expecting pointer type
}
gcc/testsuite/g++.old-deja/g++.other/init5.C
0 → 100644
View file @
04be6a22
// Objects must be destructed in decreasing cnt order
// Original test attributed to James Kanze <jkanze@otelo.ibmmail.com>
// execution test - XFAIL *-*-*
static
int
cnt
;
class
A
{
int
myCnt
;
public
:
A
()
:
myCnt
(
cnt
++
)
{}
~
A
()
{
if
(
--
cnt
!=
myCnt
)
abort
();
}
};
void
f
()
{
static
A
a
;
/* a.myCnt == 1 */
}
class
B
{
int
myCnt
;
public
:
B
()
:
myCnt
(
cnt
+
1
)
{
f
();
++
cnt
;
}
~
B
()
{
if
(
--
cnt
!=
myCnt
)
abort
();
}
};
static
A
a1
;
// a1.myCnt == 0
static
B
b1
;
// b1.myCnt == 2
static
A
a2
;
// a2.myCnt == 3
int
main
()
{}
gcc/testsuite/g++.old-deja/g++.pt/typename7.C
0 → 100644
View file @
04be6a22
// Test for implicit typename
// Build don't link:
// Special g++ Options:
template
<
class
T
>
struct
A
{
protected
:
typedef
struct
B
{
}
B
;
};
template
<
class
T
>
struct
C
{
};
template
<
class
T
>
struct
D
:
public
A
<
C
<
T
>
>
{
void
f
()
{
B
*
new_entries
=
(
B
*
)
0
;
}
};
gcc/testsuite/g++.old-deja/g++.robertl/eb26.C
View file @
04be6a22
...
...
@@ -3,6 +3,7 @@
// cannot declare friend of enclosing class using its scope, works fine
// without scope or for definition of foo::bar::f
//
// excess errors test - XFAIL *-*-*
class
foo
{
...
...
gcc/testsuite/g++.old-deja/g++.robertl/eb27.C
View file @
04be6a22
...
...
@@ -3,6 +3,7 @@
*/
/* (w) 4.9.97 by Kurt Garloff <K.Garloff@ping.de> */
// Special g++ Options:
// excess errors test - XFAIL *-*-*
#include <iostream.h>
...
...
gcc/testsuite/g++.old-deja/g++.robertl/eb36.C
View file @
04be6a22
...
...
@@ -13,7 +13,7 @@ private:
template
<
typename
T
>
foo
<
T
>::
foo
()
:
v
(),
t
()
{}
template
<
typename
T
=
float
>
// ERROR - default parm for member template
template
<
typename
T
=
float
>
// ERROR - default parm for member template
XFAIL *-*-*
foo
<
T
>::
foo
(
vector
<
int
>
v_
)
:
v
(
v_
),
t
()
{}
foo
<
float
>
a
;
gcc/testsuite/g++.old-deja/g++.robertl/eb43.C
View file @
04be6a22
// excess errors test - XFAIL *-*-*
#include <vector.h>
#include <algo.h>
...
...
gcc/testsuite/g++.old-deja/g++.robertl/eb49.C
View file @
04be6a22
// Build don't link:
// Build don't link:
// excess errors test - XFAIL *-*-*
// Here we declare ::S
typedef
struct
s1
*
S
;
...
...
gcc/testsuite/g++.old-deja/g++.robertl/eb70.C
View file @
04be6a22
// conversion ops should be treated as coming from the most derived class
// for overload resolution. See [over.match.funcs].
// Build don't link:
// excess errors test - XFAIL *-*-*
class
X
{
public
:
...
...
gcc/testsuite/g++.old-deja/g++.robertl/eb76.C
View file @
04be6a22
//Build don't link:
// the template operator!= interferes. It should be in a namespace.
// excess errors test - XFAIL *-*-*
#include <utility>
...
...
@@ -13,6 +14,6 @@ struct X {
void
f
(
X
&
v
)
{
if
(
v
.
t
!=
V1
)
{
//
gets bogus error -
address of bitfield
if
(
v
.
t
!=
V1
)
{
//
complains about taking
address of bitfield
}
}
gcc/testsuite/g++.old-deja/g++.robertl/eb88.C
View file @
04be6a22
// Another magic NULL problem.
// Special g++ Options:
// Special g++ Options:
-w
#include <stddef.h>
...
...
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