public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug regression/51996] New: ICE in extract_insn gcc.dg/pr48335-5.c
@ 2012-01-25 12:41 Greta.Yorsh at arm dot com
2012-01-25 12:48 ` [Bug target/51996] " rguenth at gcc dot gnu.org
0 siblings, 1 reply; 2+ messages in thread
From: Greta.Yorsh at arm dot com @ 2012-01-25 12:41 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51996
Bug #: 51996
Summary: ICE in extract_insn gcc.dg/pr48335-5.c
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: regression
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: Greta.Yorsh@arm.com
CC: rguenther@suse.de
Target: arm-none-eabi
./xgcc -mcpu=cortex-a9 -mfpu=neon -mfloat-abi=softfp
-B/work/bisect/build-systest-183470/gcc -O2 -fno-tree-sra -DSTACK_SIZE=16384
/work/local-checkouts/gcc-fsf/gcc/testsuite/gcc.dg/pr48335-5.c -S -o
/work/tmp/pr48335-5.s
/work/local-checkouts/gcc-fsf/gcc/testsuite/gcc.dg/pr48335-5.c: In function
'f1':
/work/local-checkouts/gcc-fsf/gcc/testsuite/gcc.dg/pr48335-5.c:17:1: error:
unrecognizable insn:
(insn 11 10 12 3 (set (reg:DI 141)
(unspec:DI [
(mem/s/c:DI (plus:SI (reg/f:SI 129 virtual-stack-vars)
(const_int -8 [0xfffffffffffffff8])) [2 S8 A32])
] UNSPEC_MISALIGNED_ACCESS))
/work/local-checkouts/gcc-fsf/gcc/testsuite/gcc.dg/pr48335-5.c:16 -1
(nil))
/work/local-checkouts/gcc-fsf/gcc/testsuite/gcc.dg/pr48335-5.c:17:1: internal
compiler error: in extract_insn, at recog.c:2123
The failure introduced by r183470, described here:
http://gcc.gnu.org/ml/gcc-patches/2012-01/msg01138.html
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug target/51996] ICE in extract_insn gcc.dg/pr48335-5.c
2012-01-25 12:41 [Bug regression/51996] New: ICE in extract_insn gcc.dg/pr48335-5.c Greta.Yorsh at arm dot com
@ 2012-01-25 12:48 ` rguenth at gcc dot gnu.org
0 siblings, 0 replies; 2+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-01-25 12:48 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51996
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2012-01-25
CC|rguenther at suse dot de |rguenth at gcc dot gnu.org
Component|regression |target
Ever Confirmed|0 |1
--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-01-25 12:29:49 UTC ---
Looks like a target bug to me, needs -O -mfpu=neon -mfloat-abi=softfp to
trigger.
typedef long long T __attribute__((may_alias));
struct S
{
_Complex float d __attribute__((aligned (8)));
};
int
f1 (struct S x)
{
struct S s = x;
return *(T *) &s.d;
}
expands from
f1 (struct S x)
{
T D.4964;
int D.4957;
<bb 2>:
D.4964_1 = VIEW_CONVERT_EXPR<T>(x);
D.4957_3 = (int) D.4964_1;
return D.4957_3;
}
and the target emits
(insn 9 0 0 (set (reg:DI 140)
(unspec:DI [
(mem/s/c:DI (plus:SI (reg/f:SI 129 virtual-stack-vars)
(const_int -8 [0xfffffffffffffff8])) [0 S8 A32])
] UNSPEC_MISALIGNED_ACCESS)) t.c:11 -1
(nil))
for a DImode movmisalign of
(mem/s/c:SC (plus:SI (reg/f:SI 129 virtual-stack-vars)
(const_int -8 [0xfffffffffffffff8])) [0 S8 A32])
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-01-25 12:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-25 12:41 [Bug regression/51996] New: ICE in extract_insn gcc.dg/pr48335-5.c Greta.Yorsh at arm dot com
2012-01-25 12:48 ` [Bug target/51996] " rguenth at gcc dot gnu.org
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).