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
68de3831
Commit
68de3831
authored
Feb 28, 1994
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(variable_size): If global_bindings_p < 0, don't even make the
SAVE_EXPR. From-SVN: r6674
parent
72ba6556
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
gcc/stor-layout.c
+4
-4
No files found.
gcc/stor-layout.c
View file @
68de3831
/* C-compiler utilities for types and variables storage layout
Copyright (C) 1987, 1988, 1992, 1993 Free Software Foundation, Inc.
Copyright (C) 1987, 1988, 1992, 1993
, 1994
Free Software Foundation, Inc.
This file is part of GNU CC.
...
...
@@ -82,15 +82,15 @@ tree
variable_size
(
size
)
tree
size
;
{
size
=
save_expr
(
size
);
/* If the language-processor is to take responsibility for variable-sized
items (e.g., languages which have elaboration procedures like Ada),
just return SIZE unchanged. */
if
(
global_bindings_p
()
<
0
)
return
size
;
else
if
(
global_bindings_p
())
size
=
save_expr
(
size
);
if
(
global_bindings_p
())
{
if
(
TREE_CONSTANT
(
size
))
error
(
"type size can't be explicitly evaluated"
);
...
...
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