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
a2d42931
Commit
a2d42931
authored
May 04, 2011
by
Eric Botcazou
Committed by
Eric Botcazou
May 04, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* stor-layout.c (variable_size): Do not issue errors.
From-SVN: r173381
parent
7fc2f86b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
10 deletions
+4
-10
gcc/ChangeLog
+4
-0
gcc/stor-layout.c
+0
-10
No files found.
gcc/ChangeLog
View file @
a2d42931
2011-05-04 Eric Botcazou <ebotcazou@adacore.com>
* stor-layout.c (variable_size): Do not issue errors.
2011-05-04 Richard Guenther <rguenther@suse.de>
* coverage.c (tree_coverage_counter_ref): Use integer_type_node
...
...
gcc/stor-layout.c
View file @
a2d42931
...
...
@@ -152,16 +152,6 @@ variable_size (tree size)
that determine sizes for variable size objects. Trust it. */
return
size
;
if
(
lang_hooks
.
decls
.
global_bindings_p
())
{
if
(
TREE_CONSTANT
(
size
))
error
(
"type size can%'t be explicitly evaluated"
);
else
error
(
"variable-size type declared outside of any function"
);
return
size_one_node
;
}
put_pending_size
(
save
);
return
size
;
...
...
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