public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/64011] New: Fail to compile pr48335-2.c on  big-endian aarch64
@ 2014-11-21  3:42 chenshanyaoboy at gmail dot com
  2014-11-27 14:40 ` [Bug target/64011] " ramana at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: chenshanyaoboy at gmail dot com @ 2014-11-21  3:42 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 64011
           Summary: Fail to compile pr48335-2.c on  big-endian aarch64
           Product: gcc
           Version: 4.9.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: chenshanyaoboy at gmail dot com

example from pr48335-2.c
cat test.c

typedef short U __attribute__((may_alias, aligned (1)));

struct S
{
  _Complex float d __attribute__((aligned (8)));
};

void bar(struct S);

void f5 (int x)
{
  struct S s = { .d = 0.0f };
  ((U *)((char *) &s.d + 1))[3] = x;
  __real__ s.d *= 7.0;
  bar (s);
}

aarch64-linux-gnu-gcc -w -c -O1 test.c -mbig-endian
/tmp/cc9vId7S.s: Assembler messages:
/tmp/cc9vId7S.s:12: Error: immediate value out of range 0 to 31 at operand 3 --
`bfi w1,w0,-8,16'


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-03-15 22:04 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-21  3:42 [Bug target/64011] New: Fail to compile pr48335-2.c on big-endian aarch64 chenshanyaoboy at gmail dot com
2014-11-27 14:40 ` [Bug target/64011] " ramana at gcc dot gnu.org
2014-12-17 18:01 ` jiwang at gcc dot gnu.org
2014-12-18 17:36 ` [Bug target/64011] Fail to compile pr48335-2.c on big-endian where bit insert instruction supported jiwang at gcc dot gnu.org
2015-01-16 10:15 ` jiwang at gcc dot gnu.org
2015-01-16 10:24 ` jiwang at gcc dot gnu.org
2015-02-10  7:32 ` collison at gcc dot gnu.org
2024-03-15 22:04 ` pinskia 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).