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
543df66a
Commit
543df66a
authored
Dec 04, 1998
by
Benjamin Kosnik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
�
nortel regressions since 97r1 From-SVN: r24093
parent
faa9eb19
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
53 additions
and
0 deletions
+53
-0
gcc/testsuite/g++.old-deja/g++.benjamin/16077.C
+28
-0
gcc/testsuite/g++.old-deja/g++.benjamin/18208.C
+25
-0
No files found.
gcc/testsuite/g++.old-deja/g++.benjamin/16077.C
0 → 100644
View file @
543df66a
// 981203 bkoz
// g++/16077
// Build don't link:
class
nicaragua
;
struct
colombia
{
colombia
();
colombia
(
const
colombia
&
);
colombia
(
const
nicaragua
&
);
colombia
&
operator
=
(
const
colombia
&
);
};
struct
nicaragua
{
public
:
nicaragua
();
nicaragua
(
const
nicaragua
&
);
operator
colombia
();
};
void
peace
(
const
colombia
&
);
// WARNING - // WARNING -
void
foo
(
nicaragua
&
b
)
{
peace
(
b
);
// WARNING - // WARNING -
}
gcc/testsuite/g++.old-deja/g++.benjamin/18208.C
0 → 100644
View file @
543df66a
// 981204 bkoz
// g++/18208
// Build don't link:
typedef
unsigned
int
uint_32
;
class
puertorico
{
public
:
void
*
f
();
private
:
uint_32
member
;
};
void
foo
(
)
{
uint_32
ui
;
puertorico
obj
;
// Bug using static_cast<>
ui
=
static_cast
<
uint_32
>
(
obj
);
// ERROR - // ERROR -
// Bug when missing the pair of braces
ui
=
(
uint_32
)
obj
.
f
;
// ERROR - // ERROR -
}
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