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
67135ef4
Commit
67135ef4
authored
Jul 20, 2005
by
Zdenek Dvorak
Committed by
Zdenek Dvorak
Jul 20, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* doc/trouble.texi: Update section on handling of empty loops.
From-SVN: r102190
parent
fdda361d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
gcc/ChangeLog
+4
-0
gcc/doc/trouble.texi
+2
-6
No files found.
gcc/ChangeLog
View file @
67135ef4
2005-07-20 Zdenek Dvorak <dvorakz@suse.cz>
* doc/trouble.texi: Update section on handling of empty loops.
2005-07-20 Kazu Hirata <kazu@codesourcery.com>
2005-07-20 Kazu Hirata <kazu@codesourcery.com>
* config.gcc: Remove support for sparc-*-openbsd*,
* config.gcc: Remove support for sparc-*-openbsd*,
...
...
gcc/doc/trouble.texi
View file @
67135ef4
...
@@ -1220,14 +1220,10 @@ However, the rationale here is that optimization of a nonempty loop
...
@@ -1220,14 +1220,10 @@ However, the rationale here is that optimization of a nonempty loop
cannot
produce
an
empty
one
.
This
held
for
carefully
written
C
compiled
cannot
produce
an
empty
one
.
This
held
for
carefully
written
C
compiled
with
less
powerful
optimizers
but
is
not
always
the
case
for
carefully
with
less
powerful
optimizers
but
is
not
always
the
case
for
carefully
written
C
++
or
with
more
powerful
optimizers
.
written
C
++
or
with
more
powerful
optimizers
.
@opindex
funroll
-
loops
Thus
GCC
will
remove
operations
from
loops
whenever
it
can
determine
Thus
GCC
will
remove
operations
from
loops
whenever
it
can
determine
those
operations
are
not
externally
visible
(
apart
from
the
time
taken
those
operations
are
not
externally
visible
(
apart
from
the
time
taken
to
execute
them
,
of
course
).
As
GCC
improves
,
it
will
remove
the
loop
to
execute
them
,
of
course
).
In
case
the
loop
can
be
proved
to
be
finite
,
itself
.
Indeed
,
with
@option{
-
funroll
-
loops
}
small
loops
can
already
be
GCC
will
also
remove
the
loop
itself
.
removed
,
so
leaving
an
empty
non
-
unrolled
loop
is
both
sub
-
optimal
and
inconsistent
.
Be
aware
of
this
when
performing
timing
tests
,
for
instance
the
Be
aware
of
this
when
performing
timing
tests
,
for
instance
the
following
loop
can
be
completely
removed
,
provided
following
loop
can
be
completely
removed
,
provided
...
...
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