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

             Bug #: 55235
           Summary: [4.8 Regression] FAIL: gcc.target/i386/pr44948-2a.c
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: ubiz...@gmail.com
                CC: ebotca...@gcc.gnu.org
            Target: i686


Revision 192641 [1] introduced following testsuite failure on i686:

FAIL: gcc.target/i386/pr44948-2a.c (internal compiler error)
FAIL: gcc.target/i386/pr44948-2a.c (test for excess errors)

[1] http://gcc.gnu.org/ml/gcc-cvs/2012-10/msg00764.html

 ~/gcc-build-fast/gcc/cc1 -O -m32 -mno-sse -quiet pr44948-2a.c 
pr44948-2a.c: In function ‘main’:
pr44948-2a.c:18:12: internal compiler error: in emit_block_move_hints, at
expr.c:1153
   struct A a = { { 0, 1, 2, 3 } };
            ^
0x6b9f68 emit_block_move_hints(rtx_def*, rtx_def*, rtx_def*, block_op_methods,
unsigned int, long)
        ../../gcc-svn/trunk/gcc/expr.c:1153
0x6ba261 emit_block_move(rtx_def*, rtx_def*, rtx_def*, block_op_methods)
        ../../gcc-svn/trunk/gcc/expr.c:1205
0x6c5e57 store_expr(tree_node*, rtx_def*, int, bool)
        ../../gcc-svn/trunk/gcc/expr.c:5261
0x6ca835 store_field
        ../../gcc-svn/trunk/gcc/expr.c:6531
0x6c3f57 expand_assignment(tree_node*, tree_node*, bool)
        ../../gcc-svn/trunk/gcc/expr.c:4838
0x5fc845 expand_gimple_stmt_1
        ../../gcc-svn/trunk/gcc/cfgexpand.c:2108
0x5fc845 expand_gimple_stmt
        ../../gcc-svn/trunk/gcc/cfgexpand.c:2204
0x5fe137 expand_gimple_basic_block
        ../../gcc-svn/trunk/gcc/cfgexpand.c:3979
0x60034b gimple_expand_cfg
        ../../gcc-svn/trunk/gcc/cfgexpand.c:4498
Please submit a full bug report,

(gdb) f 2
#2  0x00000000006b9f69 in emit_block_move_hints (x=0x7ffff1aca150,
y=0x7ffff1ab55b0, size=0x7ffff19a0570, method=BLOCK_OP_NORMAL,
expected_align=0, expected_size=-1)
    at ../../gcc-svn/trunk/gcc/expr.c:1153
1153      gcc_assert (MEM_P (x) && MEM_P (y));
(gdb) lis
1148
1149        default:
1150          gcc_unreachable ();
1151        }
1152
1153      gcc_assert (MEM_P (x) && MEM_P (y));
1154      align = MIN (MEM_ALIGN (x), MEM_ALIGN (y));
1155      gcc_assert (align >= BITS_PER_UNIT);
1156
1157      /* Make sure we've got BLKmode addresses; store_one_arg can decide
that

Reply via email to