public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "Greta.Yorsh at arm dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/51162] New: [Regression] ICE: segfault in dump_gimple_call
Date: Wed, 16 Nov 2011 15:43:00 -0000	[thread overview]
Message-ID: <bug-51162-4@http.gcc.gnu.org/bugzilla/> (raw)

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

             Bug #: 51162
           Summary: [Regression] ICE: segfault in dump_gimple_call
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: Greta.Yorsh@arm.com
                CC: ramana@gcc.gnu.org
            Target: arm-none-eabi


After the merge with transaction memory branch (trunk r181154), segmentation
fault on arm-none-eabi in tests from gcc/testsuite/gcc.dg/vect/* that run with
-fdump-tree-vect-details, 

cc1 /work/local-checkouts/gcc-fsf/gcc/testsuite/gcc.dg/vect/vect-outer-6.c
-quiet -mcpu=cortex-a9 -mfloat-abi=softfp -mfpu=neon -O1 -ffast-math
-ftree-vectorize -fno-vect-cost-model -fdump-tree-vect-details -o
vect-outer-6.s

Program received signal SIGSEGV, Segmentation fault.
dump_gimple_call (buffer=0x132cfc0, gs=0x7ffff7661cc0, spc=0, flags=2) at
/work/local-checkouts/gcc-fsf/gcc/gimple-pretty-print.c:702

701: /* Dump the arguments of _ITM_beginTransaction sanely.  */
702: if (TREE_CODE (fn) == ADDR_EXPR)

(gdb) p fn
$1 = (tree) 0x0
(gdb) info stack
#0  dump_gimple_call (buffer=0x132cfc0, gs=0x7ffff7661cc0, spc=0, flags=2) at
/work/local-checkouts/gcc-fsf/gcc/gimple-pretty-print.c:702
#1  0x000000000071f4c5 in dump_gimple_stmt (buffer=0x132cfc0,
gs=0x7ffff7661cc0, spc=0, flags=2) at
/work/local-checkouts/gcc-fsf/gcc/gimple-pretty-print.c:1919
#2  0x0000000000723c32 in print_gimple_stmt (file=<value optimised out>,
g=0x7ffff7661cc0, spc=0, flags=2) at
/work/local-checkouts/gcc-fsf/gcc/gimple-pretty-print.c:100
#3  0x0000000000a156d5 in vect_finish_stmt_generation (stmt=0x7ffff75a99b0,
vec_stmt=0x7ffff7661cc0, gsi=<value optimised out>) at
/work/local-checkouts/gcc-fsf/gcc/tree-vect-stmts.c:1487
#4  0x0000000000a1e7f5 in vectorizable_load (stmt=0x7ffff75a99b0, gsi=<value
optimised out>, vec_stmt=<value optimised out>, slp_node=<value optimised out>,
slp_node_instance=<value optimised out>) at
/work/local-checkouts/gcc-fsf/gcc/tree-vect-stmts.c:4654
#5  0x0000000000a239b3 in vect_transform_stmt (stmt=0x7ffff75a99b0,
gsi=0x7fffffffe050, strided_store=0x7fffffffe08f "", slp_node=0x0,
slp_node_instance=0x1) at
/work/local-checkouts/gcc-fsf/gcc/tree-vect-stmts.c:5459
#6  0x0000000000a27bc0 in vect_transform_loop (loop_vinfo=<value optimised
out>) at /work/local-checkouts/gcc-fsf/gcc/tree-vect-loop.c:5331
#7  0x0000000000a40fbf in vectorize_loops () at
/work/local-checkouts/gcc-fsf/gcc/tree-vectorizer.c:214
#8  0x00000000007ec5d9 in execute_one_pass (pass=0x12e7060) at
/work/local-checkouts/gcc-fsf/gcc/passes.c:2074
#9  0x00000000007ec945 in execute_pass_list (pass=0x12e7060) at
/work/local-checkouts/gcc-fsf/gcc/passes.c:2129
#10 0x00000000007ec957 in execute_pass_list (pass=0x12e6e80) at
/work/local-checkouts/gcc-fsf/gcc/passes.c:2130
#11 0x00000000007ec957 in execute_pass_list (pass=0x12e6580) at
/work/local-checkouts/gcc-fsf/gcc/passes.c:2130
#12 0x0000000000900fa8 in tree_rest_of_compilation (fndecl=0x7ffff75c0000) at
/work/local-checkouts/gcc-fsf/gcc/tree-optimize.c:420
#13 0x00000000005cc5ca in cgraph_expand_function (node=0x7ffff75c5000) at
/work/local-checkouts/gcc-fsf/gcc/cgraphunit.c:1819
#14 0x00000000005cfcca in cgraph_expand_all_functions () at
/work/local-checkouts/gcc-fsf/gcc/cgraphunit.c:1886
#15 cgraph_optimize () at /work/local-checkouts/gcc-fsf/gcc/cgraphunit.c:2199
#16 0x00000000005d0335 in cgraph_finalize_compilation_unit () at
/work/local-checkouts/gcc-fsf/gcc/cgraphunit.c:1327
#17 0x00000000004a9980 in c_write_global_declarations () at
/work/local-checkouts/gcc-fsf/gcc/c-decl.c:10023
#18 0x0000000000891c7a in compile_file (argc=13, argv=0x7fffffffe3d8) at
/work/local-checkouts/gcc-fsf/gcc/toplev.c:581
#19 do_compile (argc=13, argv=0x7fffffffe3d8) at
/work/local-checkouts/gcc-fsf/gcc/toplev.c:1931
#20 toplev_main (argc=13, argv=0x7fffffffe3d8) at
/work/local-checkouts/gcc-fsf/gcc/toplev.c:2007
#21 0x00007ffff7874c4d in __libc_start_main () from /lib/libc.so.6
#22 0x00000000004997e9 in _start ()


             reply	other threads:[~2011-11-16 15:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-16 15:43 Greta.Yorsh at arm dot com [this message]
2011-11-24 14:58 ` [Bug target/51162] " sameera.deshpande at arm dot com
2011-12-15  0:58 ` [Bug target/51162] [4.7 Regression] " pinskia at gcc dot gnu.org
2011-12-15  9:41 ` sameerad at gcc dot gnu.org
2011-12-15 14:05 ` jakub 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-51162-4@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).