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
afb19ffb
Commit
afb19ffb
authored
May 11, 2003
by
Kriang Lerdsuwanakij
Committed by
Kriang Lerdsuwanakij
May 11, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* method.c (synthesize_method): Call push/pop_deferring_access_checks.
From-SVN: r66694
parent
78d0a54d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
gcc/cp/ChangeLog
+4
-0
gcc/cp/method.c
+6
-0
No files found.
gcc/cp/ChangeLog
View file @
afb19ffb
2003
-
05
-
11
Kriang
Lerdsuwanakij
<
lerdsuwa
@
users.sourceforge.net
>
2003
-
05
-
11
Kriang
Lerdsuwanakij
<
lerdsuwa
@
users.sourceforge.net
>
*
method.c
(
synthesize_method
):
Call
push
/
pop_deferring_access_checks.
2003
-
05
-
11
Kriang
Lerdsuwanakij
<
lerdsuwa
@
users.sourceforge.net
>
PR
c
++/
10230
,
c
++/
10481
PR
c
++/
10230
,
c
++/
10481
*
semantics.c
(
finish_non_static_data_member
):
Handle
when
the
*
semantics.c
(
finish_non_static_data_member
):
Handle
when
the
non
-static
member
is
not
from
a
base
of
the
current
class
type.
non
-static
member
is
not
from
a
base
of
the
current
class
type.
...
...
gcc/cp/method.c
View file @
afb19ffb
...
@@ -741,6 +741,10 @@ synthesize_method (tree fndecl)
...
@@ -741,6 +741,10 @@ synthesize_method (tree fndecl)
return
;
return
;
}
}
/* We may be in the middle of deferred access check. Disable
it now. */
push_deferring_access_checks
(
dk_no_deferred
);
if
(
!
context
)
if
(
!
context
)
push_to_top_level
();
push_to_top_level
();
else
if
(
nested
)
else
if
(
nested
)
...
@@ -790,6 +794,8 @@ synthesize_method (tree fndecl)
...
@@ -790,6 +794,8 @@ synthesize_method (tree fndecl)
pop_from_top_level
();
pop_from_top_level
();
else
if
(
nested
)
else
if
(
nested
)
pop_function_context_from
(
context
);
pop_function_context_from
(
context
);
pop_deferring_access_checks
();
}
}
/* Use EXTRACTOR to locate the relevant function called for each base &
/* Use EXTRACTOR to locate the relevant function called for each base &
...
...
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