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
b322cdb2
Commit
b322cdb2
authored
Oct 26, 2018
by
Jan Hubicka
Committed by
Jan Hubicka
Oct 26, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* tree.c (free_lang_data_in_type): Only check main variants.
From-SVN: r265520
parent
420672bc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
+2
-1
gcc/ChangeLog
+1
-0
gcc/tree.c
+1
-1
No files found.
gcc/ChangeLog
View file @
b322cdb2
2018-10-26 Jan Hubicka <jh@suse.cz>
2018-10-26 Jan Hubicka <jh@suse.cz>
* tree.c (free_lang_data_in_type): Only check main variants.
* ipa-devirt.c (warn_odr): Make static.
* ipa-devirt.c (warn_odr): Make static.
(types_same_for_odr): Drop strict variant.
(types_same_for_odr): Drop strict variant.
(types_odr_comparable): Likewise.
(types_odr_comparable): Likewise.
gcc/tree.c
View file @
b322cdb2
...
@@ -5174,7 +5174,7 @@ free_lang_data_in_type (tree type)
...
@@ -5174,7 +5174,7 @@ free_lang_data_in_type (tree type)
/* Drop TYPE_DECLs in TYPE_NAME in favor of the identifier in the
/* Drop TYPE_DECLs in TYPE_NAME in favor of the identifier in the
TYPE_DECL if the type doesn't have linkage. */
TYPE_DECL if the type doesn't have linkage. */
if
(
!
type_with_linkage_p
(
type
))
if
(
type
!=
TYPE_MAIN_VARIANT
(
type
)
||
!
type_with_linkage_p
(
type
))
{
{
TYPE_NAME
(
type
)
=
TYPE_IDENTIFIER
(
type
);
TYPE_NAME
(
type
)
=
TYPE_IDENTIFIER
(
type
);
TYPE_STUB_DECL
(
type
)
=
NULL
;
TYPE_STUB_DECL
(
type
)
=
NULL
;
...
...
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