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
99fada40
Commit
99fada40
authored
Sep 21, 2000
by
Jason Merrill
Committed by
Jason Merrill
Sep 21, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* decl2.c (get_guard): Check DECL_FUNCTION_SCOPE_P.
From-SVN: r36566
parent
1bfb5f8f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
+5
-1
gcc/cp/ChangeLog
+4
-0
gcc/cp/decl2.c
+1
-1
No files found.
gcc/cp/ChangeLog
View file @
99fada40
2000-09-20 Jason Merrill <jason@redhat.com>
* decl2.c (get_guard): Check DECL_FUNCTION_SCOPE_P.
2000-09-21 Andreas Jaeger <aj@suse.de>
* errfn.c: Move declaration of cp_printer and cp_printers to ...
...
...
gcc/cp/decl2.c
View file @
99fada40
...
...
@@ -2868,7 +2868,7 @@ get_guard (decl)
/* For a local variable, under the old ABI, we do not try to get a
unique mangled name for the DECL. */
if
(
!
flag_new_abi
&&
!
DECL_NAMESPACE
_SCOPE_P
(
decl
))
if
(
!
flag_new_abi
&&
DECL_FUNCTION
_SCOPE_P
(
decl
))
{
guard
=
get_temp_name
(
integer_type_node
);
cp_finish_decl
(
guard
,
NULL_TREE
,
NULL_TREE
,
0
);
...
...
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