This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/56589] Array bounds violation is very end-user unfriendly
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 10 Mar 2013 20:31:49 +0000
- Subject: [Bug middle-end/56589] Array bounds violation is very end-user unfriendly
- Auto-submitted: auto-generated
- References: <bug-56589-4@http.gcc.gnu.org/bugzilla/>
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.