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
863d3dfb
Commit
863d3dfb
authored
Jul 26, 2003
by
Geoffrey Keating
Committed by
Geoffrey Keating
Jul 26, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* c-decl.c (c_static_assembler_name): Remove TREE_STATIC test.
From-SVN: r69808
parent
49f60a1a
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
32 additions
and
1 deletions
+32
-1
gcc/ChangeLog
+4
-0
gcc/c-decl.c
+1
-1
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/gcc.dg/intermod-1.c
+23
-0
No files found.
gcc/ChangeLog
View file @
863d3dfb
2003-07-25 Geoffrey Keating <geoffk@apple.com>
* c-decl.c (c_static_assembler_name): Remove TREE_STATIC test.
2003-07-25 Aldy Hernandez <aldyh@redhat.com>
* config/rs6000/rs6000.c (is_ev64_opaque_type): Only check pointer
...
...
gcc/c-decl.c
View file @
863d3dfb
...
...
@@ -6790,7 +6790,7 @@ void
c_static_assembler_name
(
tree
decl
)
{
if
(
num_in_fnames
==
1
&&
TREE_STATIC
(
decl
)
&&
!
TREE_PUBLIC
(
decl
)
&&
DECL_CONTEXT
(
decl
)
&&
!
TREE_PUBLIC
(
decl
)
&&
DECL_CONTEXT
(
decl
)
&&
TREE_CODE
(
DECL_CONTEXT
(
decl
))
==
TRANSLATION_UNIT_DECL
)
SET_DECL_ASSEMBLER_NAME
(
decl
,
DECL_NAME
(
decl
));
else
...
...
gcc/testsuite/ChangeLog
View file @
863d3dfb
2003-07-25 Geoffrey Keating <geoffk@apple.com>
* gcc.dg/intermod-1.c: New test.
2003-07-25 Nathan Sidwell <nathan@codesourcery.com>
PR c++/11617
...
...
gcc/testsuite/gcc.dg/intermod-1.c
0 → 100644
View file @
863d3dfb
/* { dg-do compile } */
/* { dg-final { scan-assembler-not {foo[1-9]\.} } } */
/* Check that we don't get .0 suffixes on static variables when not using
intermodule analysis. */
static
int
foo1
;
static
int
foo2
=
1
;
static
void
foo5
(
void
)
{
}
static
void
foo6
(
void
);
static
void
foo6
(
void
)
{
}
static
void
foo7
(
void
);
void
foo7
(
void
)
{
}
void
foo9
(
void
)
{
foo1
=
2
;
foo2
=
3
;
foo5
();
foo6
();
foo7
();
}
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