public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/54517] New: wrong inlining of builtin_shuffle on ARM/big-endian
@ 2012-09-07 12:10 christophe.lyon at st dot com
  2013-02-20  0:14 ` [Bug target/54517] " ramana at gcc dot gnu.org
  2013-02-20  0:25 ` pinskia at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: christophe.lyon at st dot com @ 2012-09-07 12:10 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 54517
           Summary: wrong inlining of builtin_shuffle on ARM/big-endian
    Classification: Unclassified
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: christophe.lyon@st.com


Created attachment 28146
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28146
testcase

As exposed by the attached sample code, GCC for ARM/big-endian produces
incorrect code when inlining functions performing builtin_shuffle.

Compile the attached program at -O2 with GCC configured for
armeb-none-linux-gnueabi) and execute it with qemu-armeb, it should be OK.

Then edit the source code such that NOINLINE now expands into the empty string:
#define NOINLINE, re-compile & execute: the code aborts.


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

* [Bug target/54517] wrong inlining of builtin_shuffle on ARM/big-endian
  2012-09-07 12:10 [Bug target/54517] New: wrong inlining of builtin_shuffle on ARM/big-endian christophe.lyon at st dot com
@ 2013-02-20  0:14 ` ramana at gcc dot gnu.org
  2013-02-20  0:25 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: ramana at gcc dot gnu.org @ 2013-02-20  0:14 UTC (permalink / raw)
  To: gcc-bugs


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

Ramana Radhakrishnan <ramana at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2013-02-20
                 CC|                            |ramana at gcc dot gnu.org
     Ever Confirmed|0                           |1

--- Comment #1 from Ramana Radhakrishnan <ramana at gcc dot gnu.org> 2013-02-20 00:13:53 UTC ---
confirmed


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

* [Bug target/54517] wrong inlining of builtin_shuffle on ARM/big-endian
  2012-09-07 12:10 [Bug target/54517] New: wrong inlining of builtin_shuffle on ARM/big-endian christophe.lyon at st dot com
  2013-02-20  0:14 ` [Bug target/54517] " ramana at gcc dot gnu.org
@ 2013-02-20  0:25 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2013-02-20  0:25 UTC (permalink / raw)
  To: gcc-bugs


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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[4.6/4.7 only] wrong        |wrong inlining of
                   |inlining of builtin_shuffle |builtin_shuffle on
                   |on ARM/big-endian           |ARM/big-endian

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> 2013-02-20 00:24:43 UTC ---
Wait this is also on 4.8. I thought this was the other issue with floating
point.


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

end of thread, other threads:[~2013-02-20  0:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-07 12:10 [Bug target/54517] New: wrong inlining of builtin_shuffle on ARM/big-endian christophe.lyon at st dot com
2013-02-20  0:14 ` [Bug target/54517] " ramana at gcc dot gnu.org
2013-02-20  0:25 ` 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).