This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Question on -fbounds-check
- To: <gcc at gcc dot gnu dot org>
- Subject: Question on -fbounds-check
- From: "Tim Prince" <tprince at computer dot org>
- Date: Sun, 11 Jun 2000 17:09:58 -0700
Am I correct in believing that -fbounds-check disables certain other
(possibly buggy) optimizations, including -funroll-loops? I notice that
bugs associated with -funroll-loops (in gcc-2.96 snapshots) disappear
when -fbounds-check is invoked.
As a slight digression, should it be possible to step code and examine
loop counters under gdb, when code has been compiled
with -funroll-loops? Does the answer differ between gcc and g77?
Tim Prince