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
e7c33f54
Commit
e7c33f54
authored
Mar 31, 1992
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
From-SVN: r652
parent
b18135da
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
gcc/expr.c
+0
-0
gcc/genattrtab.c
+2
-2
gcc/stor-layout.c
+2
-1
No files found.
gcc/expr.c
View file @
e7c33f54
This diff is collapsed.
Click to expand it.
gcc/genattrtab.c
View file @
e7c33f54
...
@@ -769,7 +769,7 @@ check_attr_value (exp, attr)
...
@@ -769,7 +769,7 @@ check_attr_value (exp, attr)
for
(
p
=
XSTR
(
exp
,
0
);
*
p
;
p
++
)
for
(
p
=
XSTR
(
exp
,
0
);
*
p
;
p
++
)
if
(
*
p
>
'9'
||
*
p
<
'0'
)
if
(
*
p
>
'9'
||
*
p
<
'0'
)
fatal
(
"Non-numeric value for numeric `%s' attribute"
,
fatal
(
"Non-numeric value for numeric `%s' attribute"
,
attr
?
"internal"
:
attr
->
name
);
attr
?
attr
->
name
:
"internal"
);
break
;
break
;
}
}
...
@@ -780,7 +780,7 @@ check_attr_value (exp, attr)
...
@@ -780,7 +780,7 @@ check_attr_value (exp, attr)
if
(
av
==
NULL
)
if
(
av
==
NULL
)
fatal
(
"Unknown value `%s' for `%s' attribute"
,
fatal
(
"Unknown value `%s' for `%s' attribute"
,
XSTR
(
exp
,
0
),
attr
?
"internal"
:
attr
->
name
);
XSTR
(
exp
,
0
),
attr
?
attr
->
name
:
"internal"
);
return
;
return
;
...
...
gcc/stor-layout.c
View file @
e7c33f54
...
@@ -342,7 +342,8 @@ layout_record (rec)
...
@@ -342,7 +342,8 @@ layout_record (rec)
else
else
{
{
if
(
const_size
>
0
)
if
(
const_size
>
0
)
var_size
=
size_binop
(
PLUS_EXPR
,
var_size
,
const_size
);
var_size
=
size_binop
(
PLUS_EXPR
,
var_size
,
size_int
(
const_size
));
const_size
=
0
;
const_size
=
0
;
var_size
=
round_up
(
var_size
,
desired_align
);
var_size
=
round_up
(
var_size
,
desired_align
);
var_align
=
MIN
(
var_align
,
desired_align
);
var_align
=
MIN
(
var_align
,
desired_align
);
...
...
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