URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.dg/] [tree-ssa/] [pr37393.C] - Rev 301
Go to most recent revision | Compare with Previous | Blame | View Log
// PR middle-end/37393
// { dg-do compile }
// { dg-options "-O2" }
struct A
{
~A ();
bool foo () const;
};
extern "C"
{
extern void bar (const char *, ...) __attribute__ ((noreturn));
extern inline __attribute__ ((always_inline, gnu_inline, artificial)) void
baz (const char *fmt, ...)
{
bar (fmt, __builtin_va_arg_pack ());
}
};
void
test ()
{
A a;
if (a.foo ())
baz ("foo");
}
Go to most recent revision | Compare with Previous | Blame | View Log