gcc / IA-64 bug report.
R.S. Veldema
rveldema@cs.vu.nl
Wed May 31 08:19:00 GMT 2000
struct LasmRegister{};
struct TRegisterDefinition
{
LasmRegister *reg;
};
// remove the "const" to make it work.
const TRegisterDefinition register_definition_d3 = {
(new LasmRegister())
};
// Used GCC:
// Reading specs from
/usr/lib/gcc-lib/ia64-cygnus-linux/2.9-ia64-000216-final/specs
// gcc version 2.9-ia64-000216-final
// [rveldema@tl1 tests]$ gcc Bug1.cc
// Bug1.cc: In function `void __static_initialization_and_destruction_0
(int, int)':
// Bug1.cc:12: non-lvalue in unary `&'
// linux on a IA-64 (at www.sourceforge.net)
//
More information about the Gcc-bugs
mailing list