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
b06df647
Commit
b06df647
authored
Aug 18, 2005
by
Volker Reichelt
Committed by
Volker Reichelt
Aug 18, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* c-typeck.c (designator_errorneous): Rename to designator_erroneous.
From-SVN: r103247
parent
75634129
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
9 deletions
+13
-9
gcc/ChangeLog
+4
-0
gcc/c-typeck.c
+9
-9
No files found.
gcc/ChangeLog
View file @
b06df647
2005
-
08
-
18
Volker
Reichelt
<
reichelt
@igpm
.
rwth
-
aachen
.
de
>
*
c
-
typeck
.
c
(
designator_errorneous
)
:
Rename
to
designator_erroneous
.
2005
-
08
-
18
Andrew
Pinski
<
pinskia
@physics
.
uc
.
edu
>
PR
middle
-
end
/
16045
...
...
gcc/c-typeck.c
View file @
b06df647
...
...
@@ -4642,7 +4642,7 @@ static int constructor_designated;
static
int
designator_depth
;
/* Nonzero if there were diagnosed errors in this designator list. */
static
int
designator_erro
r
neous
;
static
int
designator_erroneous
;
/* This stack has a level for each implicit or explicit level of
...
...
@@ -4856,7 +4856,7 @@ really_start_incremental_init (tree type)
constructor_incremental
=
1
;
constructor_designated
=
0
;
designator_depth
=
0
;
designator_erro
r
neous
=
0
;
designator_erroneous
=
0
;
if
(
TREE_CODE
(
constructor_type
)
==
RECORD_TYPE
||
TREE_CODE
(
constructor_type
)
==
UNION_TYPE
)
...
...
@@ -5000,7 +5000,7 @@ push_init_level (int implicit)
p
->
range_stack
=
constructor_range_stack
;
constructor_range_stack
=
0
;
designator_depth
=
0
;
designator_erro
r
neous
=
0
;
designator_erroneous
=
0
;
}
/* Don't die if an entire brace-pair level is superfluous
...
...
@@ -5294,7 +5294,7 @@ set_designator (int array)
/* If there were errors in this designator list already, bail out
silently. */
if
(
designator_erro
r
neous
)
if
(
designator_erroneous
)
return
1
;
if
(
!
designator_depth
)
...
...
@@ -5373,7 +5373,7 @@ set_init_index (tree first, tree last)
if
(
set_designator
(
1
))
return
;
designator_erro
r
neous
=
1
;
designator_erroneous
=
1
;
if
(
!
INTEGRAL_TYPE_P
(
TREE_TYPE
(
first
))
||
(
last
&&
!
INTEGRAL_TYPE_P
(
TREE_TYPE
(
last
))))
...
...
@@ -5419,7 +5419,7 @@ set_init_index (tree first, tree last)
}
designator_depth
++
;
designator_erro
r
neous
=
0
;
designator_erroneous
=
0
;
if
(
constructor_range_stack
||
last
)
push_range_stack
(
last
);
}
...
...
@@ -5435,7 +5435,7 @@ set_init_label (tree fieldname)
if
(
set_designator
(
0
))
return
;
designator_erro
r
neous
=
1
;
designator_erroneous
=
1
;
if
(
TREE_CODE
(
constructor_type
)
!=
RECORD_TYPE
&&
TREE_CODE
(
constructor_type
)
!=
UNION_TYPE
)
...
...
@@ -5457,7 +5457,7 @@ set_init_label (tree fieldname)
{
constructor_fields
=
tail
;
designator_depth
++
;
designator_erro
r
neous
=
0
;
designator_erroneous
=
0
;
if
(
constructor_range_stack
)
push_range_stack
(
NULL_TREE
);
}
...
...
@@ -6177,7 +6177,7 @@ process_init_element (struct c_expr value)
bool
strict_string
=
value
.
original_code
==
STRING_CST
;
designator_depth
=
0
;
designator_erro
r
neous
=
0
;
designator_erroneous
=
0
;
/* Handle superfluous braces around string cst as in
char x[] = {"foo"}; */
...
...
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