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
852b81bb
Commit
852b81bb
authored
Mar 20, 2002
by
Michael Meissner
Committed by
Michael Meissner
Mar 20, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarify that -O2 sets -fstrict-aliasing
From-SVN: r51097
parent
86d8c251
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
4 deletions
+13
-4
gcc/ChangeLog
+5
-0
gcc/doc/invoke.texi
+8
-4
No files found.
gcc/ChangeLog
View file @
852b81bb
2002-03-20 Michael Meissner <meissner@redhat.com>
* doc/invoke.texi (Optimize Options): Document that -O2 sets
-fstrict-aliasing.
2002-03-20 Bob Wilson <bob.wilson@acm.org>
2002-03-20 Bob Wilson <bob.wilson@acm.org>
* config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Emit a
* config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Emit a
...
...
gcc/doc/invoke.texi
View file @
852b81bb
...
@@ -3170,10 +3170,11 @@ perform loop unrolling or function inlining when you specify @option{-O2}.
...
@@ -3170,10 +3170,11 @@ perform loop unrolling or function inlining when you specify @option{-O2}.
As compared to @option{-O}, this option increases both compilation time
As compared to @option{-O}, this option increases both compilation time
and the performance of the generated code.
and the performance of the generated code.
@option{-O2} turns on all optional optimizations except for loop unrolling,
@option{-O2} turns on all optional optimizations except for loop
function inlining, and register renaming. It also turns on the
unrolling, function inlining, and register renaming. It also turns on
@option{-fforce-mem} option on all machines and frame pointer elimination
the @option{-fforce-mem} and @option{-fstrict-aliasing} option on all
on machines where doing so does not interfere with debugging.
machines and frame pointer elimination on machines where doing so does
not interfere with debugging.
Please note the warning under @option{-fgcse} about
Please note the warning under @option{-fgcse} about
invoking @option{-O2} on programs that use computed gotos.
invoking @option{-O2} on programs that use computed gotos.
...
@@ -3716,6 +3717,9 @@ node, an alias set for the node. Nodes in different alias sets are not
...
@@ -3716,6 +3717,9 @@ node, an alias set for the node. Nodes in different alias sets are not
allowed to alias. For an example, see the C front-end function
allowed to alias. For an example, see the C front-end function
@code{c_get_alias_set}.
@code{c_get_alias_set}.
For all machines, optimization level 2 and higher enables this flag by
default.
@item -falign-functions
@item -falign-functions
@itemx -falign-functions=@var{n}
@itemx -falign-functions=@var{n}
@opindex falign-functions
@opindex falign-functions
...
...
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