Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/pr21858.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 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); | |
9 int dsdblm_CreateBlock(unsigned int address) | |
10 { | |
11 address = dsdblm_GetBlockAddress(); | |
12 if (address >= (void*)0x00020000) | |
13 error_LocalAssert(); | |
14 return address; | |
15 } |