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
cd3c99ba
Commit
cd3c99ba
authored
Sep 27, 2010
by
Nicola Pero
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed typo in my last commit which would break bootstrap
From-SVN: r164667
parent
93c0e0bb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
9 deletions
+11
-9
gcc/objc/objc-act.c
+11
-9
No files found.
gcc/objc/objc-act.c
View file @
cd3c99ba
...
...
@@ -8136,15 +8136,17 @@ encode_array (tree type, int curtype, int format)
NB: This hack assumes that you can't use '=' as part of a C
identifier.
*/
char
*
enc
=
obstack_base
(
&
util_obstack
)
+
curtype
;
if
(
memchr
(
enc
,
'='
,
obstack_object_size
(
&
util_obstack
)
-
curtype
)
==
NULL
)
{
/* We are not inside a struct. Encode the array as a
pointer. */
encode_pointer
(
type
,
curtype
,
format
);
return
;
}
{
char
*
enc
=
obstack_base
(
&
util_obstack
)
+
curtype
;
if
(
memchr
(
enc
,
'='
,
obstack_object_size
(
&
util_obstack
)
-
curtype
)
==
NULL
)
{
/* We are not inside a struct. Encode the array as a
pointer. */
encode_pointer
(
type
,
curtype
,
format
);
return
;
}
}
/* Else, we are in a struct, and we encode it as a zero-length
array. */
...
...
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