http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50667
Bug #: 50667 Summary: [4.7 Regression] FAIL: gcc.c-torture/execute/vshuf-* on powerpc-apple-darwin9 Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end AssignedTo: unassig...@gcc.gnu.org ReportedBy: domi...@lps.ens.fr CC: r...@gcc.gnu.org Host: powerpc-apple-darwin9 Target: powerpc-apple-darwin9 Build: powerpc-apple-darwin9 Between revisions 179667 (OK) and 179708 (ICE, see http://gcc.gnu.org/ml/gcc-testresults/2011-10/msg00887.html) the tests gcc.c-torture/execute/vshuf-* are failing with an internal compiler error: [karma] f90/bug% gcc47 /opt/gcc/work/gcc/testsuite/gcc.c-torture/execute/vshuf-v16qi.c [address=18e6a568 pc=005a76dc] In file included from /opt/gcc/work/gcc/testsuite/gcc.c-torture/execute/vshuf-v16qi.c:5:0: /opt/gcc/work/gcc/testsuite/gcc.c-torture/execute/vshuf-main.inc: In function 'main': /opt/gcc/work/gcc/testsuite/gcc.c-torture/execute/vshuf-main.inc:12:9: internal compiler error: Segmentation Fault The back-trace is Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_INVALID_ADDRESS at address: 0x18e6a568 maybe_gen_insn (icode=16845201, nops=4, ops=0xbfffd1e8) at ../../work/gcc/optabs.c:7436 7436 gcc_assert (nops == (unsigned int) insn_data[(int) icode].n_generator_args); (gdb) bt #0 maybe_gen_insn (icode=16845201, nops=4, ops=0xbfffd1e8) at ../../work/gcc/optabs.c:7436 #1 0x005a7e60 in maybe_expand_insn (icode=<value temporarily unavailable, due to optimizations>, nops=<value temporarily unavailable, due to optimizations>, ops=<value temporarily unavailable, due to optimizations>) at ../../work/gcc/optabs.c:7468 #2 0x005b0198 in expand_insn (icode=<value temporarily unavailable, due to optimizations>, nops=<value temporarily unavailable, due to optimizations>, ops=<value temporarily unavailable, due to optimizations>) at ../../work/gcc/optabs.c:7499 #3 0x005b0b54 in expand_vec_perm_expr (type=<value temporarily unavailable, due to optimizations>, v0=0x41d7f65c, v1=0x20213220, mask=<value temporarily unavailable, due to optimizations>, target=<value temporarily unavailable, due to optimizations>) at ../../work/gcc/optabs.c:6704 #4 0x003995a0 in expand_expr_real_2 (ops=0xbfffd358, target=0x1010991, tmode=V16QImode, modifier=EXPAND_NORMAL) at ../../work/gcc/expr.c:8610 #5 0x00273388 in expand_gimple_stmt (stmt=0x41dbd0a8) at ../../work/gcc/cfgexpand.c:2014 #6 0x00273ff4 in expand_gimple_basic_block (bb=0x41dbd0a8) at ../../work/gcc/cfgexpand.c:3814 #7 0x002764d8 in gimple_expand_cfg () at ../../work/gcc/cfgexpand.c:4322 #8 0x005bd020 in execute_one_pass (pass=0xbd8eb0) at ../../work/gcc/passes.c:2064 #9 0x005bd3d4 in execute_pass_list (pass=0xccd2c8) at ../../work/gcc/passes.c:2119 #10 0x00713dcc in tree_rest_of_compilation (fndecl=0x41da7500) at ../../work/gcc/tree-optimize.c:420 #11 0x0029ba84 in cgraph_expand_function (node=0x41dbf968) at ../../work/gcc/cgraphunit.c:1805 #12 0x0029deec in cgraph_optimize () at ../../work/gcc/cgraphunit.c:1962 #13 0x0029e214 in cgraph_finalize_compilation_unit () at ../../work/gcc/cgraphunit.c:1312 #14 0x000206f8 in c_write_global_declarations () at ../../work/gcc/c-decl.c:9936 #15 0x00688214 in toplev_main (argc=2, argv=0xe) at ../../work/gcc/toplev.c:581 #16 0x00001bf8 in start ()