public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/50576] New: Recent vector comparison changes cause an ICE
@ 2011-09-30 10:56 mgretton at sourceware dot org
  2011-09-30 10:58 ` [Bug tree-optimization/50576] " rguenth at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: mgretton at sourceware dot org @ 2011-09-30 10:56 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 50576
           Summary: Recent vector comparison changes cause an ICE
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: mgretton@sourceware.org
                CC: artyom.shinkaroff@gmail.com,
                    richard.guenther@gmail.com
              Host: x86_64-linux-gnu
            Target: arm-none-eabi


Compiling the following (cut down from the
gcc.c-torture/execute/vector-compare-1.c test case):

/* try.c.  */
int
main (int argc, char *argv[])
{
  __attribute__ ((vector_size ((2) * sizeof (double)))) double d0;
  __attribute__ ((vector_size ((2) * sizeof (double)))) double d1;
  __attribute__ ((vector_size ((2) * sizeof (long long)))) long long idres;
    {
      idres = (d0 > d1);
    }
}
/* end of try.c.  */

with:

arm-none-eabi-gcc -mfpu=neon -mfloat-abi=softfp -mcpu=cortex-a9 -c try.c

Gives:

try.c: In function 'main':
try.c:3:1: error: invalid vector comparison resulting type
vector(2) long long int
idres = d0 > d1;

try.c:3:1: internal compiler error: verify_gimple failed

This was tested with trunk r179378.  

The issue was introduced by this patch
(http://gcc.gnu.org/ml/gcc-patches/2011-08/msg01088.html - checked in as
r179342), and has not been fixed by Richard Guenther's follow on patch
(http://gcc.gnu.org/ml/gcc-patches/2011-09/msg01933.html).


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

end of thread, other threads:[~2011-10-04  8:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-30 10:56 [Bug tree-optimization/50576] New: Recent vector comparison changes cause an ICE mgretton at sourceware dot org
2011-09-30 10:58 ` [Bug tree-optimization/50576] " rguenth at gcc dot gnu.org
2011-09-30 11:41 ` mgretton at sourceware dot org
2011-10-04  8:52 ` mgretton at sourceware 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).