This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
gcc / IA-64 bug report.
- To: gcc-bugs at gcc dot gnu dot org
- Subject: gcc / IA-64 bug report.
- From: "R.S. Veldema" <rveldema at cs dot vu dot nl>
- Date: Wed, 31 May 2000 17:19:19 +0200
- Organization: Vrije Universiteit
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)
//