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
792089b3
Commit
792089b3
authored
31 years ago
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(pop_init_level): Don't abort if have incomplete array type inside
some other type. From-SVN: r6295
parent
2f95ebc2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
gcc/c-typeck.c
+0
-5
No files found.
gcc/c-typeck.c
View file @
792089b3
...
...
@@ -5374,11 +5374,6 @@ pop_init_level (implicit)
TYPE_DOMAIN
(
constructor_type
)
=
build_index_type
(
maxindex
);
TREE_TYPE
(
maxindex
)
=
TYPE_DOMAIN
(
constructor_type
);
/* We shouldn't have an incomplete array type within
some other type. */
if
(
constructor_stack
->
next
)
abort
();
if
(
pedantic
&&
tree_int_cst_lt
(
TYPE_MAX_VALUE
(
TYPE_DOMAIN
(
constructor_type
)),
integer_zero_node
))
...
...
This diff is collapsed.
Click to expand it.
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