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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [torture/] [pr51106-1.c] - Blame information for rev 801

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

Line No. Rev Author Line
1 689 jeremybenn
/* PR target/51106 */
2
/* { dg-do "compile" } */
3
/* { dg-skip-if "RTL error" { "*-*-*" } { "-fno-fat-lto-objects" } { "" } } */
4
 
5
int
6
foo (int x)
7
{
8
  asm goto ("" : : "i" (x) : : lab); /* { dg-error "impossible constraint" } */
9
  return 1;
10
lab:
11
  return 0;
12
}
13
 
14
/* { dg-warning "probably doesn.t match constraints" "" { target *-*-* } 8 } */

powered by: WebSVN 2.1.0

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