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
1873d769
Commit
1873d769
authored
Oct 12, 1998
by
Jason Merrill
Committed by
Jason Merrill
Oct 12, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* tinfo.cc (operator==): Always compare names.
From-SVN: r23034
parent
6f87c7d8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
12 deletions
+6
-12
gcc/cp/ChangeLog
+4
-0
gcc/cp/tinfo.cc
+2
-12
No files found.
gcc/cp/ChangeLog
View file @
1873d769
1998-10-12 Jason Merrill <jason@yorick.cygnus.com>
* tinfo.cc (operator==): Always compare names.
1998-10-12 Herman ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1998-10-12 Herman ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
* decl.c (start_function): Fix cut-and-paste error.
* decl.c (start_function): Fix cut-and-paste error.
...
...
gcc/cp/tinfo.cc
View file @
1873d769
...
@@ -39,22 +39,12 @@ std::type_info::
...
@@ -39,22 +39,12 @@ std::type_info::
~
type_info
()
~
type_info
()
{
}
{
}
#ifndef __COMMON_UNRELIABLE
// We can't rely on common symbols being shared between shared objects.
bool
type_info
::
bool
type_info
::
operator
==
(
const
type_info
&
arg
)
const
operator
==
(
const
type_info
&
arg
)
const
{
{
return
&
arg
==
this
;
return
(
&
arg
==
this
)
||
(
fast_compare
(
name
(),
arg
.
name
())
==
0
)
;
}
}
#else
// We can't rely on common symbols being shared between translation units
// under Windows. Sigh.
bool
type_info
::
operator
==
(
const
type_info
&
arg
)
const
{
return
fast_compare
(
name
(),
arg
.
name
())
==
0
;
}
#endif
extern
"C"
void
extern
"C"
void
__rtti_class
(
void
*
addr
,
const
char
*
name
,
__rtti_class
(
void
*
addr
,
const
char
*
name
,
...
...
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