public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/43722]  New: ICE when passing NEON registers using const refrences
@ 2010-04-12  3:10 liranuna at gmail dot com
  2010-04-12  3:24 ` [Bug target/43722] " liranuna at gmail dot com
                   ` (10 more replies)
  0 siblings, 11 replies; 13+ messages in thread
From: liranuna at gmail dot com @ 2010-04-12  3:10 UTC (permalink / raw)
  To: gcc-bugs

Giving GCC 4.4.3 the following code with the arguments "-O1 -mcpu=cortex-a8
-mfpu=neon -mfloat-abi=softfp": 

############################################################

#include <stdio.h>
#include <arm_neon.h>

void printv_f32(const float32x4_t &v)
{
        printf("%f\n", vgetq_lane_f32(v, 0));
}

int main()
{
        float32x4_t v = {0.0, 1.0f, 2.0f, 3.0f};

        printv_f32(v);

        return 0;
}

############################################################

Results into an ICE:

/home/liranuna/Projects/mathlib_md/source/main.cpp: In function 'int main()':
/home/liranuna/Projects/mathlib_md/source/main.cpp:21: error: insn does not
satisfy its constraints:
(insn 25 5 7 2 /home/liranuna/Projects/mathlib_md/source/main.cpp:11 (set
(mem/c/i:V4SF (pre_dec:SI (reg/f:SI 0 r0 [134])) [0 v+0 S16 A64])
        (reg:V4SF 95 d16)) 710 {*neon_movv4sf} (expr_list:REG_INC (reg/f:SI 0
r0 [134])
        (nil)))
/home/liranuna/Projects/mathlib_md/source/main.cpp:21: internal compiler error:
in reload_cse_simplify_operands, at postreload.c:396
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


-- 
           Summary: ICE when passing NEON registers using const refrences
           Product: gcc
           Version: 4.4.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: liranuna at gmail dot com
  GCC host triplet: x86_64-linux-gnu
GCC target triplet: arm-linux-gnueabi


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


^ permalink raw reply	[flat|nested] 13+ messages in thread
[parent not found: <bug-43722-4@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2010-10-01 12:09 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-12  3:10 [Bug target/43722] New: ICE when passing NEON registers using const refrences liranuna at gmail dot com
2010-04-12  3:24 ` [Bug target/43722] " liranuna at gmail dot com
2010-04-12  8:48 ` mikpe at it dot uu dot se
2010-04-12 10:31 ` mikpe at it dot uu dot se
2010-04-12 14:18 ` mikpe at it dot uu dot se
2010-04-12 20:35 ` mikpe at it dot uu dot se
2010-04-12 21:38 ` mikpe at it dot uu dot se
2010-04-13  7:43 ` liranuna at gmail dot com
2010-04-15  9:39 ` [Bug target/43722] [4.4 only] " ramana at gcc dot gnu dot org
2010-04-15 13:38 ` mikpe at it dot uu dot se
2010-04-15 13:41 ` mikpe at it dot uu dot se
2010-04-30  8:58 ` jakub at gcc dot gnu dot org
     [not found] <bug-43722-4@http.gcc.gnu.org/bugzilla/>
2010-10-01 12:09 ` jakub 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).