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
70502b2c
Commit
70502b2c
authored
Jul 25, 2004
by
Giovanni Bajo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove DOS line endings
From-SVN: r85168
parent
d7afec4b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
59 additions
and
59 deletions
+59
-59
gcc/ChangeLog
+25
-25
gcc/cp/ChangeLog
+21
-21
gcc/testsuite/ChangeLog
+13
-13
No files found.
gcc/ChangeLog
View file @
70502b2c
2004-07-26 Niall Douglas <s_fsfeurope2@nedprod.com>
2004-07-26 Niall Douglas <s_fsfeurope2@nedprod.com>
Brian Ryner <bryner@brianryner.com>
Brian Ryner <bryner@brianryner.com>
PR c++/9283
PR c++/9283
PR c++/15000
PR c++/15000
* c-common.c (c_common_attribute_table): Allow
* c-common.c (c_common_attribute_table): Allow
handle_visibility_attribute to be called for types.
handle_visibility_attribute to be called for types.
(handle_visibility_attribute) When given a type, set the visibility
(handle_visibility_attribute) When given a type, set the visibility
bits on the TYPE_NAME. When given a decl, don't set no_add_attrs
bits on the TYPE_NAME. When given a decl, don't set no_add_attrs
so that we can check later whether the attribute was present. Added
so that we can check later whether the attribute was present. Added
warning if attribute applied to non class type.
warning if attribute applied to non class type.
* c-decl.c (diagnose_mismatched_decls): Updated rules for merging
* c-decl.c (diagnose_mismatched_decls): Updated rules for merging
decls and checking that they are consistent.
decls and checking that they are consistent.
* common.opt: Added -fvisibility.
* common.opt: Added -fvisibility.
* c.opt, c-opts.c: Added -fvisibility-inlines-hidden.
* c.opt, c-opts.c: Added -fvisibility-inlines-hidden.
* c-pragma.h, c-pragma.c: Added handle_pragma_visibility().
* c-pragma.h, c-pragma.c: Added handle_pragma_visibility().
* flags.h, tree.h: Added assorted support defines for overall patch
* flags.h, tree.h: Added assorted support defines for overall patch
* opts.c: Added parsing support for -fvisibility.
* opts.c: Added parsing support for -fvisibility.
* tree.c (build_decl): Set visibility for all decls to be whatever
* tree.c (build_decl): Set visibility for all decls to be whatever
is in force at that time.
is in force at that time.
* varasm.c (default_binds_local_p_1): Reworked logic determining
* varasm.c (default_binds_local_p_1): Reworked logic determining
when to make a symbol locally bound.
when to make a symbol locally bound.
* doc/invoke.texi: Added documentation for -fvisibility and
* doc/invoke.texi: Added documentation for -fvisibility and
-fvisibility-inlines-hidden.
-fvisibility-inlines-hidden.
2004-07-25 Bernardo Innocenti <bernie@develer.com>
2004-07-25 Bernardo Innocenti <bernie@develer.com>
* basic-block.h (reorder_block_def): Rename to reorder_block_def_p.
* basic-block.h (reorder_block_def): Rename to reorder_block_def_p.
...
...
gcc/cp/ChangeLog
View file @
70502b2c
2004-07-26 Niall Douglas <s_fsfeurope2@nedprod.com>
2004-07-26 Niall Douglas <s_fsfeurope2@nedprod.com>
Brian Ryner <bryner@brianryner.com>
Brian Ryner <bryner@brianryner.com>
PR c++/15000
PR c++/15000
PR c++/9283
PR c++/9283
* class.c (check_field_decls): Apply hidden visibility if
* class.c (check_field_decls): Apply hidden visibility if
-fvisibility-inlines-hidden and inlined unless otherwise specified
-fvisibility-inlines-hidden and inlined unless otherwise specified
(build_vtable): Set vtable visibility to class visibility.
(build_vtable): Set vtable visibility to class visibility.
(check_field_decls): Default static member visibility to class
(check_field_decls): Default static member visibility to class
visibility.
visibility.
(check_methods): Default method visibility to class visibility.
(check_methods): Default method visibility to class visibility.
* cp-tree.h: Added CLASSTYPE_VISIBILITY and
* cp-tree.h: Added CLASSTYPE_VISIBILITY and
CLASSTYPE_VISIBILITY_SPECIFIED macro.
CLASSTYPE_VISIBILITY_SPECIFIED macro.
* decl.c (duplicate_decls): New logic for merging definition decls
* decl.c (duplicate_decls): New logic for merging definition decls
with declaration decls. Added ignore & warning when non default
with declaration decls. Added ignore & warning when non default
applied to global operator new or delete.
applied to global operator new or delete.
* method.c, optimize.c, rtti.c: Added setting of VISIBILITY_SPECIFIED
* method.c, optimize.c, rtti.c: Added setting of VISIBILITY_SPECIFIED
wherever VISIBILITY was changed
wherever VISIBILITY was changed
* rtti.c (get_tinfo_decl): Set typeinfo visibility to class
* rtti.c (get_tinfo_decl): Set typeinfo visibility to class
visibility.
visibility.
(tinfo_base_init): Set typeinfo name visibility to class visibility.
(tinfo_base_init): Set typeinfo name visibility to class visibility.
2004-07-25 Bernardo Innocenti <bernie@develer.com>
2004-07-25 Bernardo Innocenti <bernie@develer.com>
...
...
gcc/testsuite/ChangeLog
View file @
70502b2c
2004
-
07
-
26
Niall
Douglas
<
s_fsfeurope2
@nedprod
.
com
>
2004
-
07
-
26
Niall
Douglas
<
s_fsfeurope2
@nedprod
.
com
>
Brian
Ryner
<
bryner
@brianryner
.
com
>
Brian
Ryner
<
bryner
@brianryner
.
com
>
PR
c
++/
9283
PR
c
++/
9283
PR
c
++/
15000
PR
c
++/
15000
*
gcc
.
dg
/
visibility
-
9
.
c
,
gcc
.
dg
/
visibility
-
a
.
c
:
New
tests
.
*
gcc
.
dg
/
visibility
-
9
.
c
,
gcc
.
dg
/
visibility
-
a
.
c
:
New
tests
.
*
g
++
.
dg
/
ext
/
visibility
/:
New
directory
.
*
g
++
.
dg
/
ext
/
visibility
/:
New
directory
.
*
g
++
.
dg
/
ext
/
visibility
-
1
.
C
,
g
++
.
dg
/
ext
/
visibility
-
2
.
C
*
g
++
.
dg
/
ext
/
visibility
-
1
.
C
,
g
++
.
dg
/
ext
/
visibility
-
2
.
C
...
@@ -11,14 +11,14 @@
...
@@ -11,14 +11,14 @@
g
++
.
dg
/
ext
/
visibility
-
7
.
C
:
Move
to
g
++
.
dg
/
ext
/
visibility
/
.
g
++
.
dg
/
ext
/
visibility
-
7
.
C
:
Move
to
g
++
.
dg
/
ext
/
visibility
/
.
*
g
++
.
dg
/
ext
/
visibility
/
fvisibility
.
C
,
*
g
++
.
dg
/
ext
/
visibility
/
fvisibility
.
C
,
g
++
.
dg
/
ext
/
visibility
/
fvisibility
-
inlines
-
hidden
.
C
,
g
++
.
dg
/
ext
/
visibility
/
fvisibility
-
inlines
-
hidden
.
C
,
g
++
.
dg
/
ext
/
visibility
/
fvisibility
-
override1
.
C
g
++
.
dg
/
ext
/
visibility
/
fvisibility
-
override1
.
C
g
++
.
dg
/
ext
/
visibility
/
fvisibility
-
override2
.
C
g
++
.
dg
/
ext
/
visibility
/
fvisibility
-
override2
.
C
g
++
.
dg
/
ext
/
visibility
/
memfuncts
.
C
g
++
.
dg
/
ext
/
visibility
/
memfuncts
.
C
g
++
.
dg
/
ext
/
visibility
/
noPLT
.
C
g
++
.
dg
/
ext
/
visibility
/
noPLT
.
C
g
++
.
dg
/
ext
/
visibility
/
pragma
.
C
g
++
.
dg
/
ext
/
visibility
/
pragma
.
C
g
++
.
dg
/
ext
/
visibility
/
pragma
-
override1
.
C
g
++
.
dg
/
ext
/
visibility
/
pragma
-
override1
.
C
g
++
.
dg
/
ext
/
visibility
/
pragma
-
override2
.
C
g
++
.
dg
/
ext
/
visibility
/
pragma
-
override2
.
C
g
++
.
dg
/
ext
/
visibility
/
staticmemfuncts
.
C
g
++
.
dg
/
ext
/
visibility
/
staticmemfuncts
.
C
g
++
.
dg
/
ext
/
visibility
/
virtual
.
C
:
New
tests
.
g
++
.
dg
/
ext
/
visibility
/
virtual
.
C
:
New
tests
.
2004
-
07
-
25
Joseph
S
.
Myers
<
jsm
@polyomino
.
org
.
uk
>
2004
-
07
-
25
Joseph
S
.
Myers
<
jsm
@polyomino
.
org
.
uk
>
...
...
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