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 ipa/59265] [4.9 Regression] Segmentation fault in ipa_note_param_call for -fprofile-use in SPEC CPU2006
Date: Mon, 16 Dec 2013 08:02:00 -0000	[thread overview]
Message-ID: <bug-59265-4-Y1txjcJ7Et@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-59265-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #8 from Markus Trippelsdorf <octoploid at yandex dot com> ---
Program received signal SIGSEGV, Segmentation fault.
[Switching to process 18740]
ipa_profile_generate_summary () at ../../gcc/gcc/ipa-profile.c:214
214                               = h->hvalue.counters [0];
(gdb) bt
#0  ipa_profile_generate_summary () at ../../gcc/gcc/ipa-profile.c:214
#1  0x0000000000a9f197 in execute_ipa_summary_passes (ipa_pass=0x175c300) at
../../gcc/gcc/passes.c:2011
#2  0x0000000000830f94 in ipa_passes () at ../../gcc/gcc/cgraphunit.c:2022
#3  compile () at ../../gcc/gcc/cgraphunit.c:2126
#4  0x00000000008314e5 in finalize_compilation_unit () at
../../gcc/gcc/cgraphunit.c:2280
#5  0x000000000062a58f in cp_write_global_declarations () at
../../gcc/gcc/cp/decl2.c:4431
#6  0x0000000000b4763d in compile_file () at ../../gcc/gcc/toplev.c:561
#7  0x0000000000b495b8 in do_compile () at ../../gcc/gcc/toplev.c:1887
#8  toplev_main (argc=16, argv=0x7fffffffe0b8) at ../../gcc/gcc/toplev.c:1963
#9  0x00007ffff75eff90 in __libc_start_main () from /lib/libc.so.6
#10 0x000000000053e021 in _start ()
(gdb) l
209                            counter 2 is total number of executions.  */
210                         if (h->hvalue.counters[2])
211                           {
212                             struct cgraph_edge * e = cgraph_edge (node,
stmt);
213                             e->indirect_info->common_target_id
214                               = h->hvalue.counters [0];
215                             e->indirect_info->common_target_probability
216                               = GCOV_COMPUTE_SCALE (h->hvalue.counters [1],
h->hvalue.counters [2]);
217                             if (e->indirect_info->common_target_probability
> REG_BR_PROB_BASE)
218                               {
(gdb) p *e
$4 = {
  count = 990, 
  caller = 0x7ffff5b62668, 
  callee = 0x7ffff5ada148, 
  prev_caller = 0x0, 
  next_caller = 0x7ffff5c92f70, 
  prev_callee = 0x0, 
  next_callee = 0x7ffff58c0820, 
  call_stmt = 0x7ffff5875da8, 
  indirect_info = 0x0, 
  aux = 0x0, 
  inline_failed = CIF_FUNCTION_NOT_CONSIDERED, 
  lto_stmt_uid = 0, 
  frequency = 1000, 
  uid = 769, 
  indirect_inlining_edge = 0, 
  indirect_unknown_callee = 0, 
  call_stmt_cannot_inline_p = 0, 
  can_throw_external = 0, 
  speculative = 0
}


  parent reply	other threads:[~2013-12-16  8:02 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-23 17:57 [Bug c++/59265] New: " marxin.liska at gmail dot com
2013-11-25  9:19 ` [Bug ipa/59265] [4.9 Regression] " rguenth at gcc dot gnu.org
2013-12-14 13:39 ` octoploid at yandex dot com
2013-12-14 20:35 ` octoploid at yandex dot com
2013-12-15 16:00 ` hubicka at gcc dot gnu.org
2013-12-15 16:32 ` hubicka at gcc dot gnu.org
2013-12-15 22:19 ` hubicka at gcc dot gnu.org
2013-12-16  6:16 ` octoploid at yandex dot com
2013-12-16  8:02 ` octoploid at yandex dot com [this message]
2013-12-16  8:48 ` octoploid at yandex dot com
2013-12-16 11:14 ` hubicka at gcc dot gnu.org
2013-12-16 12:04 ` octoploid at yandex dot com
2013-12-16 13:20 ` hubicka at gcc dot gnu.org
2013-12-16 13:37 ` hubicka at gcc dot gnu.org
2013-12-16 13:41 ` hubicka at gcc dot gnu.org
2013-12-16 15:08 ` octoploid at yandex dot com
2013-12-16 17:51 ` hubicka at ucw dot cz
2013-12-16 20:32 ` trippels at gcc dot gnu.org
2013-12-16 21:13 ` hubicka at ucw dot cz
2013-12-16 21:32 ` trippels at gcc dot gnu.org
2013-12-16 21:50 ` hubicka at ucw dot cz
2013-12-17 13:01 ` trippels at gcc dot gnu.org
2013-12-17 21:25 ` trippels at gcc dot gnu.org
2013-12-18  9:14 ` 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-59265-4-Y1txjcJ7Et@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).