This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/56589] Array bounds violation is very end-user unfriendly


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56589

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c                           |middle-end
            Summary|[4.8 regression] Array      |Array bounds violation is
                   |bounds violation is very    |very end-user unfriendly
                   |end-user unfriendly         |

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2013-03-10 20:31:49 UTC ---
>From the changes page:
GCC now uses a more aggressive analysis to derive an upper bound for the number
of iterations of loops using constraints imposed by language standards. This
may cause non-conforming programs to no longer work as expected, such as SPEC
CPU 2006 464.h264ref and 416.gamess. A new option,
-fno-aggressive-loop-optimizations, was added to disable this aggressive
analysis.
------- CUT ----------

There is another bug opened about adding a warning already but I don't remember
the number.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]