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
6e92b232
Commit
6e92b232
authored
Sep 06, 2000
by
Nathan Sidwell
Committed by
Nathan Sidwell
Sep 06, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* g++.old-deja/g++.pt/crash58.C: New test.
From-SVN: r36190
parent
c833d2be
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
37 additions
and
0 deletions
+37
-0
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/g++.old-deja/g++.pt/crash58.C
+33
-0
No files found.
gcc/testsuite/ChangeLog
View file @
6e92b232
2000-09-06 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.pt/crash58.C: New test.
2000-09-06 Greg McGary <greg@mcgary.org>
2000-09-06 Greg McGary <greg@mcgary.org>
* gcc.c-torture/20000906.c: New test.
* gcc.c-torture/20000906.c: New test.
...
...
gcc/testsuite/g++.old-deja/g++.pt/crash58.C
0 → 100644
View file @
6e92b232
// Build don't link:
//
// Copyright (C) 2000 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 5 Sept 2000 <nathan@codesourcery.com>
// bug 147. We ICE'd on an unprocessed LOOKUP_EXPR during tsubsting
namespace
EManip
{
template
<
class
T
>
void
do_assign
(
T
*
d
);
// ERROR - candidate
};
template
<
class
T
>
void
do_assign
(
T
*
d
);
// ERROR - candidate
template
<
class
T
>
struct
MatrixC
{
void
foo
()
{
EManip
::
do_assign
<
T
>
(
0
);
&
EManip
::
do_assign
<
T
>
;
&
do_assign
<
T
>
;
EManip
::
do_assign
<
T
>
;
// WARNING - not a call
do_assign
<
T
>
;
// WARNING - not a call
}
};
void
foo
(
MatrixC
<
double
>
*
ptr
)
{
EManip
::
do_assign
<
double
>
;
// WARNING - not a call
&
EManip
::
do_assign
<
double
>
;
ptr
->
foo
();
void
(
*
p1
)
(
int
*
)
=
&
do_assign
<
double
>
;
// ERROR - cannot convert
void
(
*
p2
)
(
int
*
)
=
&
EManip
::
do_assign
<
double
>
;
// ERROR - cannot convert
void
(
*
p3
)
(
int
*
)
=
&
do_assign
;
void
(
*
p4
)
(
int
*
)
=
&
EManip
::
do_assign
;
}
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