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
6da97b7b
Commit
6da97b7b
authored
Feb 19, 2011
by
Nicola Pero
Committed by
Nicola Pero
Feb 19, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated comments in objc-act.c
From-SVN: r170299
parent
d4c433f9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
3 deletions
+25
-3
gcc/objc/ChangeLog
+5
-0
gcc/objc/objc-act.c
+20
-3
No files found.
gcc/objc/ChangeLog
View file @
6da97b7b
2011
-
01
-
19
Nicola
Pero
<
nicola
.
pero
@meta
-
innovation
.
com
>
*
objc
-
act
.
c
(
objc_init
,
generate_struct_by_value_array
)
:
Updated
comments
.
2011
-
01
-
19
Nicola
Pero
<
nicola
.
pero
@meta
-
innovation
.
com
>
*
objc
-
act
.
c
:
Updated
comments
.
*
objc
-
next
-
runtime
-
abi
-
02
.
c
:
Same
.
*
objc
-
runtime
-
shared
-
support
.
c
:
Same
.
...
...
gcc/objc/objc-act.c
View file @
6da97b7b
...
...
@@ -330,8 +330,9 @@ generate_struct_by_value_array (void)
int
aggregate_in_mem
[
32
];
int
found
=
0
;
/* ??? as an example, m64/ppc/Darwin can pass up to 8*long+13*double in regs.
Presumably no platform passes 32 byte structures in a register. */
/* Presumably no platform passes 32 byte structures in a register. */
/* ??? As an example, m64/ppc/Darwin can pass up to 8*long+13*double
in registers. */
for
(
i
=
1
;
i
<
32
;
i
++
)
{
char
buffer
[
5
];
...
...
@@ -379,8 +380,24 @@ objc_init (void)
#endif
return
false
;
/* print_struct_values is triggered by -print-runtime-info (used
when building libobjc, with an empty file as input). It does not
require any ObjC setup, and it never returns.
-fcompare-debug is used to check the compiler output; we are
executed twice, once with flag_compare_debug set, and once with
it not set. If the flag is used together with
-print-runtime-info, we want to print the runtime info only once,
else it would be output in duplicate. So we check
flag_compare_debug to output it in only one of the invocations.
As a side effect, this also that means -fcompare-debug
-print-runtime-info will run the compiler twice, and compare the
generated assembler file; the first time the compiler exits
immediately (producing no file), and the second time it compiles
an empty file. This checks, as a side effect, that compiling an
empty file produces no assembler output. */
if
(
print_struct_values
&&
!
flag_compare_debug
)
/* This routine does not require any ObjC set-up and never returns. */
generate_struct_by_value_array
();
/* Set up stuff used by FE parser and all runtimes. */
...
...
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