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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [200031109-1.c] - Blame information for rev 774

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

Line No. Rev Author Line
1 688 jeremybenn
/* For a short time on the tree-ssa branch this would warn that
2
   value was not initialized as it was optimizing !(value = (m?1:2))
3
   to 0 and not setting value before.  */
4
 
5
int t(int m)
6
{
7
  int value;
8
  if (!(value = (m?1:2)))
9
    value = 0;
10
  return value;
11
}

powered by: WebSVN 2.1.0

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