This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

gcc / IA-64 bug report.



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)
//



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]