OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [nofixed-point-2.c] - Rev 801

Go to most recent revision | Compare with Previous | Blame | View Log

/* PR inline-asm/39059 */
/* { dg-do compile { target {! fixed_point} } } */
/* { dg-options "-std=gnu99" } */
 
void
f1 (void)
{
  asm ("" : : "r" (0r));       /* { dg-error "not supported" "reject fixed-point" } */
}
 
__typeof (0r)		       /* { dg-error "not supported" "reject fixed-point" } */
b2 (void)		       /* { dg-bogus "defaults to" } */
{
  return 0r;		       /* { dg-error "not supported" "reject fixed-point" } */
}
 
_Accum			       /* { dg-error "not supported" "reject fixed-point" } */
f3 (void)
{
  return 0k;			/* { dg-error "not supported" "reject fixed-point" } */
}
 
_Sat
f4 (void)			/* { dg-error "not supported" "reject fixed-point" } */
{
  return 0k;			/* { dg-error "not supported" "reject fixed-point" } */
}
 
/* { dg-error "is used without" "" { target *-*-* } 24 } */
 

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.