public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/48189] New: [4.3/4.4/4.5/4.6/4.7 Regression] ICE: SIGFPE (division by zero) in in predict_loops () at predict.c:991 with --param max-predicted-iterations=0
@ 2011-03-18 16:24 zsojka at seznam dot cz
  2011-03-21 12:54 ` [Bug tree-optimization/48189] " rguenth at gcc dot gnu.org
                   ` (15 more replies)
  0 siblings, 16 replies; 17+ messages in thread
From: zsojka at seznam dot cz @ 2011-03-18 16:24 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: [4.3/4.4/4.5/4.6/4.7 Regression] ICE: SIGFPE (division
                    by zero) in in predict_loops () at predict.c:991 with
                    --param max-predicted-iterations=0
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: zsojka@seznam.cz
              Host: x86_64-pc-linux-gnu
            Target: x86_64-pc-linux-gnu


Created attachment 23708
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23708
reduced testcase

Compiler output:
$ gcc -O --param max-predicted-iterations=0 testcase.c
testcase.c: In function 'foo':
testcase.c:11:1: internal compiler error: Floating point exception
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Program received signal SIGFPE, Arithmetic exception.
0x000000000080aab2 in predict_loops () at /mnt/svn/gcc-trunk/gcc/predict.c:991
991               probability = ((REG_BR_PROB_BASE + nitercst / 2) / nitercst);


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2013-04-19  8:20 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-18 16:24 [Bug tree-optimization/48189] New: [4.3/4.4/4.5/4.6/4.7 Regression] ICE: SIGFPE (division by zero) in in predict_loops () at predict.c:991 with --param max-predicted-iterations=0 zsojka at seznam dot cz
2011-03-21 12:54 ` [Bug tree-optimization/48189] " rguenth at gcc dot gnu.org
2011-04-10 10:44 ` rguenth at gcc dot gnu.org
2011-04-10 13:33 ` steven at gcc dot gnu.org
2011-06-27 15:15 ` rguenth at gcc dot gnu.org
2011-12-20 13:21 ` [Bug tree-optimization/48189] [4.4/4.5/4.6/4.7 " jakub at gcc dot gnu.org
2012-03-13 15:40 ` [Bug tree-optimization/48189] [4.5/4.6/4.7/4.8 " jakub at gcc dot gnu.org
2012-03-29 14:37 ` hubicka at gcc dot gnu.org
2012-07-02 12:21 ` rguenth at gcc dot gnu.org
2013-01-08 15:03 ` [Bug tree-optimization/48189] [4.6/4.7/4.8 " jakub at gcc dot gnu.org
2013-01-09  9:01 ` jakub at gcc dot gnu.org
2013-01-09  9:04 ` [Bug tree-optimization/48189] [4.6/4.7 " jakub at gcc dot gnu.org
2013-04-04  9:16 ` mpolacek at gcc dot gnu.org
2013-04-04 11:05 ` mpolacek at gcc dot gnu.org
2013-04-12 15:18 ` [Bug tree-optimization/48189] [4.7 " jakub at gcc dot gnu.org
2013-04-19  8:20 ` mpolacek at gcc dot gnu.org
2013-04-19  8:20 ` mpolacek at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).