Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/pr21858.c @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 (2020-05-25) |
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 } |