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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [nofixed-point-2.c] - Blame information for rev 298

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* PR inline-asm/39059 */
2
/* { dg-do compile { target {! fixed_point} } } */
3
/* { dg-options "-std=gnu99" } */
4
 
5
void
6
f1 (void)
7
{
8
  asm ("" : : "r" (0r));       /* { dg-error "not supported" "reject fixed-point" } */
9
}
10
 
11
__typeof (0r)                  /* { dg-error "not supported" "reject fixed-point" } */
12
b2 (void)                      /* { dg-warning "defaults to" } */
13
{
14
  return 0r;                   /* { dg-error "not supported" "reject fixed-point" } */
15
}
16
 
17
_Accum                         /* { dg-error "not supported" "reject fixed-point" } */
18
f3 (void)
19
{
20
  return 0k;                    /* { dg-error "not supported" "reject fixed-point" } */
21
}
22
 
23
_Sat
24
f4 (void)                       /* { dg-error "not supported" "reject fixed-point" } */
25
{
26
  return 0k;                    /* { dg-error "not supported" "reject fixed-point" } */
27
}
28
 
29
/* { dg-error "is used without" "" { target *-*-* } 24 } */

powered by: WebSVN 2.1.0

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