public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "trippels at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/63504] [5 Regression] Issues found by --enable-checking=valgrind
Date: Fri, 10 Oct 2014 07:37:00 -0000	[thread overview]
Message-ID: <bug-63504-4-nrZw17r7cs@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-63504-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63504

--- Comment #1 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Two more variations of issue 3)

==47649== Invalid read of size 4
==47649==    at 0x10B00978: reg_num_sign_bit_copies_for_combine(rtx_def const*,
machine_mode, rtx_def const*, machine_mode, unsigned int, unsigned int*)
(combine.c:9581)
==47649==    by 0x105E3CC3: num_sign_bit_copies1(rtx_def const*, machine_mode,
rtx_def const*, machine_mode, unsigned int) (rtlanal.c:4661)
==47649==    by 0x10B0493B: if_then_else_cond(rtx_def*, rtx_def**, rtx_def**)
(combine.c:8785)
==47649==    by 0x10B047D7: if_then_else_cond(rtx_def*, rtx_def**, rtx_def**)
(combine.c:8640)
==47649==    by 0x10B12D67: combine_simplify_rtx(rtx_def*, machine_mode, int,
int) (combine.c:5270)
==47649==    by 0x10B14C7B: subst(rtx_def*, rtx_def*, rtx_def*, int, int, int)
(combine.c:5207)
==47649==    by 0x10B14DF7: subst(rtx_def*, rtx_def*, rtx_def*, int, int, int)
(combine.c:5152)
==47649==    by 0x10B1694B: try_combine(rtx_insn*, rtx_insn*, rtx_insn*,
rtx_insn*, int*, rtx_insn*) (combine.c:3093)
==47649==    by 0x10B1BA47: combine_instructions (combine.c:1261)
==47649==    by 0x10B1BA47: rest_of_handle_combine (combine.c:13902)
==47649==    by 0x10B1BA47: (anonymous
namespace)::pass_combine::execute(function*) (combine.c:13945)
==47649==    by 0x10573E27: execute_one_pass(opt_pass*) (passes.c:2151)
==47649==    by 0x105744C3: execute_pass_list_1(opt_pass*) (passes.c:2203)
==47649==    by 0x105744DB: execute_pass_list_1(opt_pass*) (passes.c:2204)
==47649==  Address 0x69d38a8 is 0 bytes after a block of size 1,720 alloc'd
==47649==    at 0x402924C: malloc (vg_replace_malloc.c:296)
==47649==    by 0x10C6DE73: xmalloc (xmalloc.c:147)
==47649==    by 0x105B2883: regstat_init_n_sets_and_refs() (regstat.c:60)
==47649==    by 0x10B1AEE3: rest_of_handle_combine (combine.c:13899)
==47649==    by 0x10B1AEE3: (anonymous
namespace)::pass_combine::execute(function*) (combine.c:13945)
==47649==    by 0x10573E27: execute_one_pass(opt_pass*) (passes.c:2151)
==47649==    by 0x105744C3: execute_pass_list_1(opt_pass*) (passes.c:2203)
==47649==    by 0x105744DB: execute_pass_list_1(opt_pass*) (passes.c:2204)
==47649==    by 0x1057455B: execute_pass_list(function*, opt_pass*)
(passes.c:2214)
==47649==    by 0x102E2157: cgraph_node::expand() (cgraphunit.c:1735)
==47649==    by 0x102E3727: expand_all_functions (cgraphunit.c:1871)
==47649==    by 0x102E3727: symbol_table::compile() (cgraphunit.c:2206)
==47649==    by 0x102E4F93: symbol_table::finalize_compilation_unit()
(cgraphunit.c:2283)
==47649==    by 0x104DF877: write_global_declarations() (langhooks.c:328)
==47649==
==47649== Invalid read of size 4
==47649==    at 0x10B00C68: reg_nonzero_bits_for_combine(rtx_def const*,
machine_mode, rtx_def const*, machine_mode, unsigned long, unsigned long*)
(combine.c:9504)
==47649==    by 0x105DAEF3: nonzero_bits1(rtx_def const*, machine_mode, rtx_def
const*, machine_mode, unsigned long) (rtlanal.c:4175)
==47649==    by 0x10B04C23: if_then_else_cond(rtx_def*, rtx_def**, rtx_def**)
(combine.c:8792)
==47649==    by 0x10B047D7: if_then_else_cond(rtx_def*, rtx_def**, rtx_def**)
(combine.c:8640)
==47649==    by 0x10B12D67: combine_simplify_rtx(rtx_def*, machine_mode, int,
int) (combine.c:5270)
==47649==    by 0x10B14C7B: subst(rtx_def*, rtx_def*, rtx_def*, int, int, int)
(combine.c:5207)
==47649==    by 0x10B14DF7: subst(rtx_def*, rtx_def*, rtx_def*, int, int, int)
(combine.c:5152)
==47649==    by 0x10B1694B: try_combine(rtx_insn*, rtx_insn*, rtx_insn*,
rtx_insn*, int*, rtx_insn*) (combine.c:3093)
==47649==    by 0x10B1BA47: combine_instructions (combine.c:1261)
==47649==    by 0x10B1BA47: rest_of_handle_combine (combine.c:13902)
==47649==    by 0x10B1BA47: (anonymous
namespace)::pass_combine::execute(function*) (combine.c:13945)
==47649==    by 0x10573E27: execute_one_pass(opt_pass*) (passes.c:2151)
==47649==    by 0x105744C3: execute_pass_list_1(opt_pass*) (passes.c:2203)
==47649==    by 0x105744DB: execute_pass_list_1(opt_pass*) (passes.c:2204)
==47649==  Address 0x69d38a8 is 0 bytes after a block of size 1,720 alloc'd
==47649==    at 0x402924C: malloc (vg_replace_malloc.c:296)
==47649==    by 0x10C6DE73: xmalloc (xmalloc.c:147)
==47649==    by 0x105B2883: regstat_init_n_sets_and_refs() (regstat.c:60)
==47649==    by 0x10B1AEE3: rest_of_handle_combine (combine.c:13899)
==47649==    by 0x10B1AEE3: (anonymous
namespace)::pass_combine::execute(function*) (combine.c:13945)
==47649==    by 0x10573E27: execute_one_pass(opt_pass*) (passes.c:2151)
==47649==    by 0x105744C3: execute_pass_list_1(opt_pass*) (passes.c:2203)
==47649==    by 0x105744DB: execute_pass_list_1(opt_pass*) (passes.c:2204)
==47649==    by 0x1057455B: execute_pass_list(function*, opt_pass*)
(passes.c:2214)
==47649==    by 0x102E2157: cgraph_node::expand() (cgraphunit.c:1735)
==47649==    by 0x102E3727: expand_all_functions (cgraphunit.c:1871)
==47649==    by 0x102E3727: symbol_table::compile() (cgraphunit.c:2206)
==47649==    by 0x102E4F93: symbol_table::finalize_compilation_unit()
(cgraphunit.c:2283)
==47649==    by 0x104DF877: write_global_declarations() (langhooks.c:328)


  parent reply	other threads:[~2014-10-10  7:37 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-10  6:34 [Bug other/63504] New: " trippels at gcc dot gnu.org
2014-10-10  7:35 ` [Bug other/63504] " rguenth at gcc dot gnu.org
2014-10-10  7:37 ` trippels at gcc dot gnu.org [this message]
2014-10-10  8:53 ` trippels at gcc dot gnu.org
2014-10-10  9:03 ` trippels at gcc dot gnu.org
2014-10-11  8:04 ` trippels at gcc dot gnu.org
2014-10-11  8:04 ` trippels at gcc dot gnu.org
2014-10-12 14:16 ` trippels at gcc dot gnu.org
2014-10-12 18:13 ` trippels at gcc dot gnu.org
2014-11-20 12:14 ` rguenth at gcc dot gnu.org
2015-01-26 17:57 ` jakub at gcc dot gnu.org
2015-01-26 18:35 ` jakub at gcc dot gnu.org
2015-01-27 19:24 ` jakub at gcc dot gnu.org
2015-01-27 20:17 ` ccoutant at google dot com
2015-01-28 20:31 ` jakub at gcc dot gnu.org
2015-02-03  9:40 ` jakub at gcc dot gnu.org
2015-02-03  9:40 ` jakub at gcc dot gnu.org
2015-03-09 20:49 ` 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-63504-4-nrZw17r7cs@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).