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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [builtin-unreachable-4.c] - Blame information for rev 689

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* Check that this valid code doesn't ICE.  */
2
/* { dg-do compile } */
3
/* { dg-options "-O2" } */
4
void
5
g (int a, int b, int c, int d)
6
{
7
  if (d)
8
    {
9
      ((void)
10
       (!(a && b && c) ? __builtin_unreachable (), 0 : 0));
11
    }
12
  ((void)
13
   (!(a && b && c) ? __builtin_unreachable (), 0 : 0));
14
}

powered by: WebSVN 2.1.0

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