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
e3a12f0c
Commit
e3a12f0c
authored
Sep 07, 1993
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(digest_init): Fix error message text.
From-SVN: r5277
parent
943cc242
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
10 deletions
+6
-10
gcc/c-typeck.c
+6
-10
No files found.
gcc/c-typeck.c
View file @
e3a12f0c
...
@@ -5002,16 +5002,12 @@ digest_init (type, init, require_constant, constructor_constant)
...
@@ -5002,16 +5002,12 @@ digest_init (type, init, require_constant, constructor_constant)
if
(
code
==
INTEGER_TYPE
||
code
==
REAL_TYPE
||
code
==
POINTER_TYPE
if
(
code
==
INTEGER_TYPE
||
code
==
REAL_TYPE
||
code
==
POINTER_TYPE
||
code
==
ENUMERAL_TYPE
||
code
==
COMPLEX_TYPE
)
||
code
==
ENUMERAL_TYPE
||
code
==
COMPLEX_TYPE
)
{
{
SAVE_SPELLING_DEPTH
/* Note that convert_for_assignment calls default_conversion
({
for arrays and functions. We must not call it in the
/* Note that convert_for_assignment calls default_conversion
case where inside_init is a null pointer constant. */
for arrays and functions. We must not call it in the
inside_init
case where inside_init is a null pointer constant. */
=
convert_for_assignment
(
type
,
init
,
"initialization"
,
inside_init
NULL_TREE
,
NULL_TREE
,
0
);
=
convert_for_assignment
(
type
,
init
,
&
initialization_message
,
NULL_TREE
,
NULL_TREE
,
0
);
});
if
(
require_constant
&&
!
TREE_CONSTANT
(
inside_init
))
if
(
require_constant
&&
!
TREE_CONSTANT
(
inside_init
))
{
{
...
...
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