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
0f037763
Commit
0f037763
authored
Jul 21, 1999
by
Jason Merrill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
From-SVN: r28205
parent
9f33663b
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
37 additions
and
9 deletions
+37
-9
gcc/testsuite/g++.old-deja/g++.brendan/crash5.C
+1
-3
gcc/testsuite/g++.old-deja/g++.ext/addrfunc4.C
+24
-0
gcc/testsuite/g++.old-deja/g++.jason/builtin2.C
+1
-1
gcc/testsuite/g++.old-deja/g++.jason/thunk3.C
+1
-1
gcc/testsuite/g++.old-deja/g++.mike/net5.C
+1
-1
gcc/testsuite/g++.old-deja/g++.other/overcnv2.C
+7
-2
gcc/testsuite/g++.old-deja/g++.pt/parms1.C
+1
-0
gcc/testsuite/g++.old-deja/g++.pt/static3.C
+1
-1
No files found.
gcc/testsuite/g++.old-deja/g++.brendan/crash5.C
View file @
0f037763
...
...
@@ -7,8 +7,6 @@
// * cp-cvt.c (build_default_binary_type_conversion): Look deeper into
// what ARG1 and ARG2 are if they're POINTER_TYPEs.
volatile
void
exit
(
int
);
class
CountableSet
{
public
:
...
...
@@ -71,7 +69,7 @@ class SimpleSet : virtual public MutSet<T>
SimpleSet
()
{
size
=
0
;
array
=
((
void
*
)
0
)
;
// ERROR - implicit conversion
array
=
0
;
}
int
Get
(
int
p
,
T
&
t
)
{
...
...
gcc/testsuite/g++.old-deja/g++.ext/addrfunc4.C
0 → 100644
View file @
0f037763
// Test that an object-dependent reference to a member function can be
// used to produce a pointer to member function, as in VC++.
// Contributed by Jason Merrill <jason@cygnus.com>
// Special g++ Options: -fpermissive -w
struct
A
{
int
f
(
int
a
)
{
}
void
f
(
int
a
,
int
b
)
{
}
};
typedef
int
(
A
::*
pmf1
)(
int
);
typedef
void
(
A
::*
pmf2
)(
int
,
int
);
int
main
()
{
A
a
;
pmf1
fn1
;
pmf2
fn2
;
fn1
=
a
.
f
;
fn1
=
(
pmf1
)
a
.
f
;
fn2
=
(
pmf2
)
a
.
f
;
};
gcc/testsuite/g++.old-deja/g++.jason/builtin2.C
View file @
0f037763
// Build don't link:
inline
void
strlen
(
const
char
*
)
{
}
static
inline
void
strlen
(
const
char
*
)
{
}
void
f
()
{
...
...
gcc/testsuite/g++.old-deja/g++.jason/thunk3.C
View file @
0f037763
...
...
@@ -3,7 +3,7 @@
// support, because it doesn't support variadic functions.
// Special g++ Options: -fvtable-thunks
// excess errors test - XFAIL mips*-*-* rs6000-*-* powerpc-*-eabi m68k-*-coff m68k-motorola-sysv m88k-motorola-sysv3 mn10300-*-* mn10200-*-* v850-*-* sh-*-*
-*
// excess errors test - XFAIL mips*-*-* rs6000-*-* powerpc-*-eabi m68k-*-coff m68k-motorola-sysv m88k-motorola-sysv3 mn10300-*-* mn10200-*-* v850-*-* sh-*-*
#include <stdarg.h>
...
...
gcc/testsuite/g++.old-deja/g++.mike/net5.C
View file @
0f037763
// Build don't link:
// Special g++ Options:
volatile
void
abort
();
volatile
void
abort
();
// WARNING - mismatch
volatile
void
oink
()
{
abort
()
;
}
// gets bogus error -
gcc/testsuite/g++.old-deja/g++.other/overcnv2.C
View file @
0f037763
...
...
@@ -4,7 +4,7 @@
// the type of the argument -- but because it is non-const.
struct
A
{
operator
const
char
*
()
const
;
operator
const
char
*
()
const
{
return
""
;
}
};
struct
B
:
public
A
{
...
...
@@ -14,5 +14,10 @@ struct B : public A {
int
main
()
{
B
b
;
(
const
char
*
)
b
;
// WARNING - surprising overload resolution
if
((
const
char
*
)
b
!=
0
)
// WARNING - surprising overload resolution
return
1
;
if
((
const
char
*
)(
const
B
)
b
==
0
)
return
2
;
if
((
const
char
*
)(
const
B
&
)
b
==
0
)
return
3
;
}
gcc/testsuite/g++.old-deja/g++.
jason/tpt-1.cc
→
gcc/testsuite/g++.old-deja/g++.
pt/parms1.C
View file @
0f037763
...
...
@@ -18,6 +18,7 @@ public:
operator
S
()
{
return
a
*
20
;
}
};
int
main
()
{
A
<
int
,
5
>
a
;
...
...
gcc/testsuite/g++.old-deja/g++.pt/static3.C
View file @
0f037763
// On targets that don't support weak symbols, we require an explicit
// instantiation of arr.
// excess errors test - XFAIL *-*-aout *-*-coff *-*-hpux*
// excess errors test - XFAIL *-*-aout *-*-coff *-*-hpux*
alpha-dec-osf*
template
<
class
T
>
struct
A
{
...
...
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