public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "octoploid at yandex dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/58555] [4.9 Regression] Floating point exception in want_inline_self_recursive_call_p
Date: Tue, 05 Nov 2013 15:17:00 -0000	[thread overview]
Message-ID: <bug-58555-4-IW6KfrjJVP@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-58555-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #6 from octoploid at yandex dot com ---
Program received signal SIGFPE, Arithmetic exception.
[Switching to process 21235]
0x000000000052531d in want_inline_self_recursive_call_p (edge=0x7ffff74412d8,
outer_node=0x7ffff7442260, peeling=<optimized out>, depth=1) at
../../gcc/gcc/ipa-inline.c:702
702               && (edge->frequency * CGRAPH_FREQ_BASE / caller_freq
(gdb) bt
#0  0x000000000052531d in want_inline_self_recursive_call_p
(edge=0x7ffff74412d8, outer_node=0x7ffff7442260, peeling=<optimized out>,
depth=1)
    at ../../gcc/gcc/ipa-inline.c:702
#1  0x0000000000fca3bb in inline_small_functions () at
../../gcc/gcc/ipa-inline.c:1761
#2  ipa_inline () at ../../gcc/gcc/ipa-inline.c:2015
#3  (anonymous namespace)::pass_ipa_inline::execute (this=0x7ffff74412d8) at
../../gcc/gcc/ipa-inline.c:2385
#4  0x0000000000a6ad8a in execute_one_pass (pass=pass@entry=0x16c5520) at
../../gcc/gcc/passes.c:2215
#5  0x0000000000a6b61b in execute_ipa_pass_list (pass=0x16c5520) at
../../gcc/gcc/passes.c:2579
#6  0x000000000080e287 in ipa_passes () at ../../gcc/gcc/cgraphunit.c:2028
#7  compile () at ../../gcc/gcc/cgraphunit.c:2118
#8  0x000000000080ea95 in finalize_compilation_unit () at
../../gcc/gcc/cgraphunit.c:2272
#9  0x000000000061175f in cp_write_global_declarations () at
../../gcc/gcc/cp/decl2.c:4403
#10 0x0000000000b152dd in compile_file () at ../../gcc/gcc/toplev.c:559
#11 0x0000000000b17188 in do_compile () at ../../gcc/gcc/toplev.c:1894
#12 toplev_main (argc=13, argv=0x7fffffffe308) at ../../gcc/gcc/toplev.c:1970
#13 0x00007ffff75fba6e in __libc_start_main () from /lib/libc.so.6
#14 0x0000000000527081 in _start ()
(gdb) p caller_freq
$1 = 0
(gdb) p outer_node->global.inlined_to
$2 = (cgraph_node *) 0x7ffff73ff980
(gdb) p outer_node->callers->frequency
$3 = 0


  parent reply	other threads:[~2013-11-05 15:17 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-27 19:19 [Bug c++/58555] New: " dcb314 at hotmail dot com
2013-09-27 21:04 ` [Bug c++/58555] " markus at trippelsdorf dot de
2013-09-28 11:36 ` paolo.carlini at oracle dot com
2013-09-28 11:52 ` markus at trippelsdorf dot de
2013-09-30 10:25 ` [Bug middle-end/58555] [4.9 Regression] " rguenth at gcc dot gnu.org
2013-09-30 10:54 ` mpolacek at gcc dot gnu.org
2013-10-17  9:46 ` dcb314 at hotmail dot com
2013-11-05 14:42 ` rguenth at gcc dot gnu.org
2013-11-05 15:17 ` octoploid at yandex dot com [this message]
2013-11-05 16:23 ` octoploid at yandex dot com
2013-11-05 19:29 ` octoploid at yandex dot com
2013-11-13 14:05 ` dcb314 at hotmail dot com
2013-11-13 15:20 ` octoploid at yandex dot com
2013-12-04 15:29 ` jakub at gcc dot gnu.org
2013-12-04 15:56 ` octoploid at yandex dot com
2013-12-04 18:04 ` hubicka at ucw dot cz
2014-01-02  9:31 ` dcb314 at hotmail dot com
2014-01-09  9:33 ` dcb314 at hotmail dot com
2014-01-27 20:41 ` law at redhat dot com
2014-01-27 20:54 ` law at redhat dot com
2014-01-27 21:23 ` hubicka at gcc dot gnu.org
2014-01-27 21:27 ` law at redhat dot com
2014-01-27 21:41 ` hubicka at ucw dot cz
2014-01-27 21:52 ` law at redhat dot com
2014-02-18  6:37 ` jakub at gcc dot gnu.org
2014-02-18  8:26 ` dcb314 at hotmail dot com
2014-02-20  6:15 ` jakub at gcc dot gnu.org
2014-02-20  6:22 ` trippels at gcc dot gnu.org
2014-02-20  6:25 ` jakub at gcc dot gnu.org
2014-02-20  6:40 ` hubicka at gcc dot gnu.org
2014-02-20  7:43 ` trippels at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-58555-4-IW6KfrjJVP@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).