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
a01ebdf5
Commit
a01ebdf5
authored
May 01, 2017
by
Eric Botcazou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gcc-interface/decl.c (components_to_record): Add missing guard.
From-SVN: r247427
parent
0a69d9bd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
7 deletions
+14
-7
gcc/ada/gcc-interface/decl.c
+14
-7
No files found.
gcc/ada/gcc-interface/decl.c
View file @
a01ebdf5
...
...
@@ -8150,13 +8150,20 @@ components_to_record (Node_Id gnat_component_list, Entity_Id gnat_record_type,
5) the variant part,
within the record and within each variant recursively. */
if
(
w_reorder
&&
last_reorder_field_type
==
2
&&
tmp_last_reorder_field_type
<
2
)
warn_on_field_placement
(
gnu_tmp_bitp_list
?
gnu_tmp_bitp_list
:
gnu_field_list
,
gnat_component_list
,
gnat_record_type
,
in_variant
,
do_reorder
);
if
(
w_reorder
)
{
/* If we have pending bit-packed fields, warn if they would be moved
to after regular fields. */
if
(
last_reorder_field_type
==
2
&&
tmp_bitp_size
!=
0
&&
tmp_last_reorder_field_type
<
2
)
warn_on_field_placement
(
gnu_tmp_bitp_list
?
gnu_tmp_bitp_list
:
gnu_field_list
,
gnat_component_list
,
gnat_record_type
,
in_variant
,
do_reorder
);
}
if
(
do_reorder
)
{
/* If we have pending bit-packed fields on the temporary list, we put
...
...
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