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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
   Last reconfirmed|                            |2016-01-24
                 CC|                            |hjl.tools at gmail dot com,
                   |                            |ienkovich at gcc dot gnu.org
            Version|unknown                     |6.0
         Resolution|DUPLICATE                   |---
   Target Milestone|---                         |6.0
     Ever confirmed|0                           |1

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
This is caused by r228231:

markus@x4 VEX % cat guest_amd64_helpers.i
typedef struct { long long w64[2]; } V128;
extern V128* fn2(void);
long long a;
V128 b;
void fn1() {
  V128 *c = fn2();
  c->w64[0] = a ^ b.w64[0];
}

markus@x4 VEX % gcc -c -m32 -mpreferred-stack-boundary=2 -O2
guest_amd64_helpers.i
guest_amd64_helpers.i: In function ‘fn1’:
guest_amd64_helpers.i:8:1: internal compiler error: Segmentation fault
 }
 ^

0xb2051f crash_signal
        ../../gcc/gcc/toplev.c:335
0x7f543f74614f ???
       
/home/markus/glibc/signal/../sysdeps/unix/sysv/linux/x86_64/sigaction.c:0
0xe3d804 ix86_expand_prologue()
        ../../gcc/gcc/config/i386/i386.c:12751
0xff543a gen_prologue()
        ../../gcc/gcc/config/i386/i386.md:12451
0xe248e8 target_gen_prologue
        ../../gcc/gcc/config/i386/i386.md:18466
0x87a6ff thread_prologue_and_epilogue_insns()
        ../../gcc/gcc/function.c:6037
0x87b1d2 rest_of_handle_thread_prologue_and_epilogue
        ../../gcc/gcc/function.c:6588
0x87b1d2 execute
        ../../gcc/gcc/function.c:6630

Reply via email to