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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [arm/] [pr42879.c] - Rev 691

Compare with Previous | Blame | View Log

/* { dg-require-effective-target arm_thumb2_ok } */
/* { dg-options "-mthumb -Os" }  */
/* { dg-final { scan-assembler "lsls" } } */
 
struct A
{
  int v:1;
};
 
int bar();
int foo(struct A* p)
{
  if (p->v)
    return 1;
  return bar();
}
 

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.