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
678fccd5
Commit
678fccd5
authored
21 years ago
by
Per Bothner
Committed by
Per Bothner
21 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gcj.texi (Code Generation): Document new flags and assert defaults.
From-SVN: r79715
parent
d0aa5f10
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
0 deletions
+23
-0
gcc/java/ChangeLog
+2
-0
gcc/java/gcj.texi
+21
-0
No files found.
gcc/java/ChangeLog
View file @
678fccd5
2004
-
03
-
19
Per
Bothner
<
per
@
bothner
.
com
>
*
gcj
.
texi
(
Code
Generation
):
Document
new
flags
and
assert
defaults
.
*
class
.
c
(
assume_compiled_node_struct
):
Rename
type
to
class_flag_node_struct
,
as
it
is
now
also
used
for
enable_assertions
.
Rename
assume_compiled_node
typedef
.
Rename
excludep
field
to
value
.
...
...
This diff is collapsed.
Click to expand it.
gcc/java/gcj.texi
View file @
678fccd5
...
...
@@ -431,6 +431,27 @@ to initialize static classes upon their first use (this optimization
isn'
t
carried
out
if
@
code
{-
C
}
was
specified
.)
When
compiling
to
native
code
,
@
code
{-
fno
-
optimize
-
static
-
class
-
initialization
}
will
turn
this
optimization
off
,
regardless
of
the
optimization
level
in
use
.
@
item
--
disable
-
assertions
[=@
var
{
class
-
or
-
package
}]
Don
't include code for checking assertions in the compiled code.
If @code{=@var{class-or-package}} is missing disables assertion code
generation for all classes, unless overrideen by a more
specific @code{--enable-assertions} flag.
If @var{class-or-package} is a class name, only disables generating
assertion checks within the named class or its inner classes.
If @var{class-or-package} is a package name, disables generating
assertion checks within the named package or a subpackage.
By default, assertions are enabled when generating class files
or when not optimizaing, and disabled when generating optimized binaries.
@item --enable-assertions[=@var{class-or-package}]
Generates code to check assertions. The option is perhaps misnamed,
as you still need to turn on assertion checking at run-time,
and we don'
t
support
any
easy
way
to
do
that
.
So
this
flag
isn
't very useful yet, except to partially override
@code{--disable-assertions}.
@end table
...
...
This diff is collapsed.
Click to expand it.
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