This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/61949] [6 regression] SEGV compiling gcc.dg/pch/import-[12].c
- From: "rguenther at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 25 Feb 2016 13:21:21 +0000
- Subject: [Bug target/61949] [6 regression] SEGV compiling gcc.dg/pch/import-[12].c
- Auto-submitted: auto-generated
- References: <bug-61949-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61949
--- Comment #16 from rguenther at suse dot de <rguenther at suse dot de> ---
On Thu, 25 Feb 2016, ro at CeBiTec dot Uni-Bielefeld.DE wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61949
>
> --- Comment #15 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> ---
> They do, and for the same reason:
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 1 (LWP 1)]
> 0x08f5ecc1 in md5_read_ctx (resbuf=0x8046fd8, ctx=0x8046e90)
> at /var/gcc/reghunt/trunk/libiberty/md5.c:91
> 91 memcpy (resbuf, buffer, 16);
> 1: x/i $pc
> => 0x8f5ecc1 <md5_finish_ctx+161>: movaps -0x28(%ebp),%xmm0
> (gdb) p/x $ebp
> $1 = 0x8046e74
So this is with bootstrap-O3?
On x86_64-linux I get
0000000000000040 <md5_read_ctx>:
40: f3 0f 6f 07 movdqu (%rdi),%xmm0
44: 48 89 f0 mov %rsi,%rax
47: 0f 11 06 movups %xmm0,(%rsi)
4a: c3 retq
4b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1)
for it (with -O3, that is). Can you please tell me how to configure
a cross (from x86_64-linux) and attach preprocessed source of md5.c?