1 /* 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);
dsdblm_CreateBlock(unsigned int address)9 int dsdblm_CreateBlock(unsigned int address)
10 {
11    address = dsdblm_GetBlockAddress();
12    if (address >= (void*)0x00020000)
13      error_LocalAssert();
14    return address;
15 }
16