URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.dg/] [opt/] [expect2.C] - Rev 316
Go to most recent revision | Compare with Previous | Blame | View Log
// PR c++/13392
// { dg-do compile }
// { dg-options "-O0" }
extern "C" void abort (void);
struct X { ~X () throw() {} };
bool foo (X s = X ()) { return false; }
void bar ()
{
__builtin_expect (foo () && true, 1) ? 0 : (abort (), 0);
}
Go to most recent revision | Compare with Previous | Blame | View Log