view gcc/testsuite/gcc.target/powerpc/20081204-1.c @ 152:2b5abeee2509

update gcc11
author anatofuz
date Mon, 25 May 2020 07:50:57 +0900
parents 1830386684a0
children
line wrap: on
line source

/* Test for ICE arising from inconsistent use of TARGET_E500 versus
   TARGET_HARD_FLOAT && !TARGET_FPRS.  */
/* { dg-do compile } */
/* { dg-options "-mdejagnu-cpu=750 -mfloat-gprs=single" } */
/* { dg-skip-if "not an SPE target" { ! powerpc_spe_nocache } } */

static int comp(const void *a,const void *b){
  return (*(float *)a<*(float *)b)-(*(float *)a>*(float *)b);
}