public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/14961] New: ICE for function with vector args, return with -mabi=no-altivec
@ 2004-04-14 23:51 janis187 at us dot ibm dot com
  2004-04-14 23:55 ` [Bug target/14961] " pinskia at gcc dot gnu dot org
  0 siblings, 1 reply; 2+ messages in thread
From: janis187 at us dot ibm dot com @ 2004-04-14 23:51 UTC (permalink / raw)
  To: gcc-bugs

This test case causes GCC from the 3.4 branch to ICE when compiled
with "-maltivec -mcpu=no-altivec -m32" on powerpc64-linux.  I haven't
yet tried other versions of GCC.
                                                                                
  __attribute__((vector_size(16))) int
  bar (__attribute__((vector_size(16))) int a,
       __attribute__((vector_size(16))) int b)
  {
      return a + b;
  }

Output:

bug1.c: In function `bar':
bug1.c:6: error: unrecognizable insn:
(insn 5 4 31 0 (set (reg:V4SI 119 [ b ])
        (mem/f:V4SI (plus:SI (reg/f:SI 67 ap)
                (const_int 8 [0x8])) [0 b+0 S16 A128])) -1 (nil)
    (nil))
bug1.c:6: internal compiler error: in extract_insn, at recog.c:2083
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

-- 
           Summary: ICE for function with vector args, return with -mabi=no-
                    altivec
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: janis187 at us dot ibm dot com
                CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: powerpc-linux


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


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

* [Bug target/14961] ICE for function with vector args, return with -mabi=no-altivec
  2004-04-14 23:51 [Bug target/14961] New: ICE for function with vector args, return with -mabi=no-altivec janis187 at us dot ibm dot com
@ 2004-04-14 23:55 ` pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-04-14 23:55 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-04-14 23:35 -------
Not this one again.  This is a dup of bug 11591.

*** This bug has been marked as a duplicate of 11591 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


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


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

end of thread, other threads:[~2004-04-14 23:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-14 23:51 [Bug target/14961] New: ICE for function with vector args, return with -mabi=no-altivec janis187 at us dot ibm dot com
2004-04-14 23:55 ` [Bug target/14961] " pinskia at gcc dot gnu dot 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).