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
5ded5b76
Commit
5ded5b76
authored
Nov 27, 1993
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(pop_init_level): Ensure never on momentary_obstack when calling
complete_array_type. From-SVN: r6169
parent
9080bb7f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
gcc/c-typeck.c
+4
-0
No files found.
gcc/c-typeck.c
View file @
5ded5b76
...
@@ -5235,11 +5235,14 @@ pop_init_level (implicit)
...
@@ -5235,11 +5235,14 @@ pop_init_level (implicit)
&&
TYPE_DOMAIN
(
constructor_type
)
==
0
)
&&
TYPE_DOMAIN
(
constructor_type
)
==
0
)
{
{
int
failure
;
int
failure
;
int
momentary_p
;
push_obstacks_nochange
();
push_obstacks_nochange
();
if
(
TREE_PERMANENT
(
constructor_type
))
if
(
TREE_PERMANENT
(
constructor_type
))
end_temporary_allocation
();
end_temporary_allocation
();
momentary_p
=
suspend_momentary
();
/* We shouldn't have an incomplete array type within
/* We shouldn't have an incomplete array type within
some other type. */
some other type. */
if
(
constructor_stack
->
next
)
if
(
constructor_stack
->
next
)
...
@@ -5252,6 +5255,7 @@ pop_init_level (implicit)
...
@@ -5252,6 +5255,7 @@ pop_init_level (implicit)
abort
();
abort
();
size
=
int_size_in_bytes
(
constructor_type
);
size
=
int_size_in_bytes
(
constructor_type
);
resume_momentary
(
momentary_p
);
pop_obstacks
();
pop_obstacks
();
}
}
...
...
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