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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [statement-expression-1.c] - Blame information for rev 859

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

Line No. Rev Author Line
1 297 jeremybenn
/* PR middle-end/30253, We would ICE with statement expressions
2
   in a conditional expression because we forgot to update the wrapper
3
   function for the gimple modify statement.  */
4
 
5
#define f(x) ({ unsigned tmp=x; tmp; })
6
 
7
unsigned foo(unsigned x) {
8
  return __builtin_constant_p(x) ? 0 : f(x);
9
}
10
 

powered by: WebSVN 2.1.0

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