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
4cfa9223
Commit
4cfa9223
authored
Feb 27, 1999
by
Jason Merrill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
From-SVN: r25491
parent
2faa455b
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
38 additions
and
32 deletions
+38
-32
gcc/testsuite/g++.old-deja/g++.bugs/900121_01.C
+1
-1
gcc/testsuite/g++.old-deja/g++.bugs/900214_01.C
+1
-1
gcc/testsuite/g++.old-deja/g++.bugs/900428_01.C
+21
-21
gcc/testsuite/g++.old-deja/g++.bugs/900519_13.C
+3
-3
gcc/testsuite/g++.old-deja/g++.martin/ambig1.C
+2
-2
gcc/testsuite/g++.old-deja/g++.mike/p7868.C
+2
-2
gcc/testsuite/g++.old-deja/g++.other/null3.C
+6
-0
gcc/testsuite/g++.old-deja/g++.pt/crash5.C
+1
-1
gcc/testsuite/g++.old-deja/g++.pt/typename8.C
+1
-1
No files found.
gcc/testsuite/g++.old-deja/g++.bugs/900121_01.C
View file @
4cfa9223
...
...
@@ -6,7 +6,7 @@
// keywords: abort, incomplete types, reference types, formal parameters
struct
s0
;
struct
s0
;
// ERROR - forward declaration
void
function
(
struct
s0
&
arg1
,
struct
s0
&
arg2
)
{
...
...
gcc/testsuite/g++.old-deja/g++.bugs/900214_01.C
View file @
4cfa9223
...
...
@@ -7,7 +7,7 @@
// keywords: friends, incomplete types, function members
struct
A
;
struct
A
;
// ERROR - forward declaration
struct
B
{
friend
void
A
::
foo
();
// ERROR - type A is incomplete
...
...
gcc/testsuite/g++.old-deja/g++.bugs/900428_01.C
View file @
4cfa9223
...
...
@@ -17,35 +17,35 @@ int i;
void
*
pv
;
volatile
void
*
pvv
;
struct
s
;
extern
struct
s
es
,
*
ps
;
extern
volatile
struct
s
evs
,
*
pvs
;
struct
s
;
// ERROR - forward declaration
extern
struct
s
es
,
*
ps
;
// ERROR - defined here
extern
volatile
struct
s
evs
,
*
pvs
;
// ERROR - defined here
void
pv_test
()
{
*
pv
;
// ERROR -
, XFAIL *-*-*
(
i
?
*
pv
:
*
pv
);
// ERROR -
, XFAIL *-*-*
*
pv
,
*
pv
;
// ERROR -
, XFAIL *-*-*
*
pv
;
// ERROR -
invalid void
(
i
?
*
pv
:
*
pv
);
// ERROR -
invalid void
*
pv
,
*
pv
;
// ERROR -
invalid void
*
pvv
;
// ERROR -
, XFAIL *-*-*
(
i
?
*
pvv
:
*
pvv
);
// ERROR -
, XFAIL *-*-*
*
pvv
,
*
pvv
;
// ERROR -
, XFAIL *-*-*
*
pvv
;
// ERROR -
invalid void
(
i
?
*
pvv
:
*
pvv
);
// ERROR -
invalid void
*
pvv
,
*
pvv
;
// ERROR -
invalid void
es
;
// ERROR -
, XFAIL *-*-*
(
i
?
es
:
es
);
// ERROR -
, XFAIL *-*-*
es
,
es
;
// ERROR -
, XFAIL *-*-*
es
;
// ERROR -
incomplete
(
i
?
es
:
es
);
// ERROR -
undefined type
es
,
es
;
// ERROR -
incomplete
evs
;
// ERROR -
, XFAIL *-*-*
(
i
?
evs
:
evs
);
// ERROR -
, XFAIL *-*-*
evs
,
evs
;
// ERROR -
, XFAIL *-*-*
evs
;
// ERROR -
incomplete
(
i
?
evs
:
evs
);
// ERROR -
undefined type
evs
,
evs
;
// ERROR -
incomplete
*
ps
;
// ERROR -
, XFAIL *-*-*
(
i
?
*
ps
:
*
ps
);
// ERROR -
, XFAIL *-*-*
*
ps
,
*
ps
;
// ERROR -
, XFAIL *-*-*
*
ps
;
// ERROR -
undefined type
(
i
?
*
ps
:
*
ps
);
// ERROR -
undefined type
*
ps
,
*
ps
;
// ERROR -
undefined type
*
pvs
;
// ERROR -
, XFAIL *-*-*
(
i
?
*
pvs
:
*
pvs
);
// ERROR -
, XFAIL *-*-*
*
pvs
,
*
pvs
;
// ERROR -
, XFAIL *-*-*
*
pvs
;
// ERROR -
undefined type
(
i
?
*
pvs
:
*
pvs
);
// ERROR -
undefined type
*
pvs
,
*
pvs
;
// ERROR -
undefined type
}
int
main
()
{
return
0
;
}
gcc/testsuite/g++.old-deja/g++.bugs/900519_13.C
View file @
4cfa9223
...
...
@@ -11,15 +11,15 @@
// keywords: inheritance, ambiguity resolution, members
struct
base_0
{
enum
{
base_member
};
enum
{
base_member
};
// ERROR - candidate (26, 30)
};
struct
base_1
{
int
base_member
;
int
base_member
;
// ERROR - candidate (26, 34)
};
struct
base_2
{
int
base_member
();
int
base_member
();
// ERROR - candidate (30, 34)
};
struct
derived_0
:
public
base_0
,
public
base_1
{
...
...
gcc/testsuite/g++.old-deja/g++.martin/ambig1.C
View file @
4cfa9223
...
...
@@ -2,12 +2,12 @@
//Based on a report by Bill Currie <bcurrie@tssc.co.nz>
struct
foo
{
protected
:
int
x
;
int
x
;
// ERROR - candidate
};
struct
bar
{
public
:
int
x
();
int
x
();
// ERROR - candidate
};
struct
foobar
:
public
foo
,
public
bar
{
...
...
gcc/testsuite/g++.old-deja/g++.mike/p7868.C
View file @
4cfa9223
...
...
@@ -4,13 +4,13 @@
struct
DIAGTYP
{
};
struct
DIAGTYP1
{
struct
DIAGTYP
;
struct
DIAGTYP
;
// ERROR - forward declaration
void
bar
()
{
new
struct
DIAGTYP
;
}
// ERROR - undefined
void
foo
()
{
new
struct
DIAGTYP1
;
}
};
int
main
()
{
struct
DIAGTYP
;
struct
DIAGTYP
;
// ERROR - forward declaration
struct
DIAGTYP
*
lerror_desc
;
lerror_desc
=
new
struct
DIAGTYP
;
// ERROR - undefined
}
...
...
gcc/testsuite/g++.old-deja/g++.other/null3.C
0 → 100644
View file @
4cfa9223
// Build don't link:
void
x
()
{
int
*
p
=
1
==
0
;
}
gcc/testsuite/g++.old-deja/g++.pt/crash5.C
View file @
4cfa9223
...
...
@@ -3,7 +3,7 @@
template
<
class
T
,
int
i
>
struct
K
{
void
f
();
};
};
// ERROR - forward declaration
template
<
class
T
>
void
...
...
gcc/testsuite/g++.old-deja/g++.pt/typename8.C
View file @
4cfa9223
...
...
@@ -16,7 +16,7 @@ public:
}
};
class
B
:
public
A
<
B
>
class
B
:
public
A
<
B
>
// ERROR - forward declaration
{
public
:
typedef
int
myT
;
...
...
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