OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [pr21858.c] - Blame information for rev 645

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

Line No. Rev Author Line
1 149 jeremybenn
/* Fold used to create a GT_EXPR of pointer vs. integer types,
2
   which caused us to ICE in VRP.  */
3
 
4
/* { dg-do compile } */
5
/* { dg-options "-Os -w" } */
6
 
7
unsigned int dsdblm_GetBlockAddress();
8
void error_LocalAssert(void);
9
int dsdblm_CreateBlock(unsigned int address)
10
{
11
   address = dsdblm_GetBlockAddress();
12
   if (address >= (void*)0x00020000)
13
     error_LocalAssert();
14
   return address;
15
}

powered by: WebSVN 2.1.0

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