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
bc4c8d89
Commit
bc4c8d89
authored
Oct 26, 2007
by
Eric Botcazou
Committed by
Eric Botcazou
Oct 26, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tree-nested.c (get_trampoline_type): Fix thinko.
* tree-nested.c (get_trampoline_type): Fix thinko. From-SVN: r129661
parent
91a77d68
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
6 deletions
+10
-6
gcc/ChangeLog
+4
-0
gcc/tree-nested.c
+6
-6
No files found.
gcc/ChangeLog
View file @
bc4c8d89
2007
-
10
-
26
Eric
Botcazou
<
ebotcazou
@
adacore
.
com
>
*
tree
-
nested
.
c
(
get_trampoline_type
):
Fix
thinko
.
2007
-
10
-
26
Douglas
Gregor
<
doug
.
gregor
@
gmail
.
com
>
2007
-
10
-
26
Douglas
Gregor
<
doug
.
gregor
@
gmail
.
com
>
PR
c
++/
33601
PR
c
++/
33601
gcc/tree-nested.c
View file @
bc4c8d89
...
@@ -402,8 +402,8 @@ static GTY(()) tree trampoline_type;
...
@@ -402,8 +402,8 @@ static GTY(()) tree trampoline_type;
static
tree
static
tree
get_trampoline_type
(
void
)
get_trampoline_type
(
void
)
{
{
tree
record
,
t
;
unsigned
align
,
size
;
unsigned
align
,
size
;
tree
t
;
if
(
trampoline_type
)
if
(
trampoline_type
)
return
trampoline_type
;
return
trampoline_type
;
...
@@ -425,12 +425,12 @@ get_trampoline_type (void)
...
@@ -425,12 +425,12 @@ get_trampoline_type (void)
DECL_ALIGN
(
t
)
=
align
;
DECL_ALIGN
(
t
)
=
align
;
DECL_USER_ALIGN
(
t
)
=
1
;
DECL_USER_ALIGN
(
t
)
=
1
;
record
=
make_node
(
RECORD_TYPE
);
trampoline_type
=
make_node
(
RECORD_TYPE
);
TYPE_NAME
(
record
)
=
get_identifier
(
"__builtin_trampoline"
);
TYPE_NAME
(
trampoline_type
)
=
get_identifier
(
"__builtin_trampoline"
);
TYPE_FIELDS
(
record
)
=
t
;
TYPE_FIELDS
(
trampoline_type
)
=
t
;
layout_type
(
record
);
layout_type
(
trampoline_type
);
return
record
;
return
trampoline_type
;
}
}
/* Given DECL, a nested function, find or create a field in the non-local
/* Given DECL, a nested function, find or create a field in the non-local
...
...
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