public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/21128] New: Returning vector 32-bits or larger generates ICE
@ 2005-04-20 21:08 jconner at apple dot com
  2005-04-20 21:09 ` [Bug target/21128] " jconner at apple dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: jconner at apple dot com @ 2005-04-20 21:08 UTC (permalink / raw)
  To: gcc-bugs

The following file:

  typedef int __attribute__((vector_size (32))) v8i;

  v8i g_v8i;
  v8i return_v8i (void)
  {
    return g_v8i;
  }

Compiled with the command-line:

  gcc test.c -c

Produces this error message:

  test.c: In function 'return_v8i':
  test.c:5: internal compiler error: in hard_function_value, at explow.c:1541
  Please submit a full bug report,
  with preprocessed source if appropriate.
  See <URL:http://gcc.gnu.org/bugs.html> for instructions.

This behavior shows up in the 4.0 branch and the current (4.1.0) mainline.

gcc 3.4.3 produces the following error message:

  test.c:1: error: no vector mode with the size and type specified could be found

My configuration is:

  --target=arm-none-elf --program-prefix=arm-elf- --disable-nls --enable-languages=c,c++ --
with-newlib --enable-multilib --disable-shared

This behavior shows up when trying to compile the test compat/vector-2.

-- 
           Summary: Returning vector 32-bits or larger generates ICE
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jconner at apple dot com
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: powerpc-apple-darwin7.8.0
GCC target triplet: arm-none-elf


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


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

* [Bug target/21128] Returning vector 32-bits or larger generates ICE
  2005-04-20 21:08 [Bug target/21128] New: Returning vector 32-bits or larger generates ICE jconner at apple dot com
@ 2005-04-20 21:09 ` jconner at apple dot com
  2005-04-20 21:41 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: jconner at apple dot com @ 2005-04-20 21:09 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code


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


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

* [Bug target/21128] Returning vector 32-bits or larger generates ICE
  2005-04-20 21:08 [Bug target/21128] New: Returning vector 32-bits or larger generates ICE jconner at apple dot com
  2005-04-20 21:09 ` [Bug target/21128] " jconner at apple dot com
@ 2005-04-20 21:41 ` pinskia at gcc dot gnu dot org
  2005-05-17 21:50 ` jconner at apple dot com
  2005-05-17 22:14 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-20 21:41 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-04-20 21:41 -------
Patch here: <http://gcc.gnu.org/ml/gcc-patches/2005-04/msg02219.html>.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |patch
   Last reconfirmed|0000-00-00 00:00:00         |2005-04-20 21:41:38
               date|                            |


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


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

* [Bug target/21128] Returning vector 32-bits or larger generates ICE
  2005-04-20 21:08 [Bug target/21128] New: Returning vector 32-bits or larger generates ICE jconner at apple dot com
  2005-04-20 21:09 ` [Bug target/21128] " jconner at apple dot com
  2005-04-20 21:41 ` pinskia at gcc dot gnu dot org
@ 2005-05-17 21:50 ` jconner at apple dot com
  2005-05-17 22:14 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: jconner at apple dot com @ 2005-05-17 21:50 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From jconner at apple dot com  2005-05-17 21:50 -------
Patch committed to mainline on 13 May 2005.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |http://gcc.gnu.org/ml/gcc-
                   |                            |patches/2005-
                   |                            |05/msg01302.html
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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


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

* [Bug target/21128] Returning vector 32-bits or larger generates ICE
  2005-04-20 21:08 [Bug target/21128] New: Returning vector 32-bits or larger generates ICE jconner at apple dot com
                   ` (2 preceding siblings ...)
  2005-05-17 21:50 ` jconner at apple dot com
@ 2005-05-17 22:14 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-17 22:14 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.1.0


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


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

end of thread, other threads:[~2005-05-17 22:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-20 21:08 [Bug target/21128] New: Returning vector 32-bits or larger generates ICE jconner at apple dot com
2005-04-20 21:09 ` [Bug target/21128] " jconner at apple dot com
2005-04-20 21:41 ` pinskia at gcc dot gnu dot org
2005-05-17 21:50 ` jconner at apple dot com
2005-05-17 22:14 ` 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).