Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git] / gcc / testsuite / gcc.target / arc / loop-5.cpp
blobb9b188da61d36824d0c548f1f463d419ed22b021
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -g" } */
4 /* Check if gcc splits a call from its CALL_ARG_LOCATION note. If so,
5 we get an ICE in dwarf2out_var_location. */
7 typedef void Trans_NS_std_new_handler();
8 void *operator new(unsigned)
10 void *p;
11 while (__builtin_expect(p == 0, false))
13 Trans_NS_std_new_handler handler;
14 try {
15 handler();
16 } catch (int) {
19 return (void*) 0xdead;