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]
Other format: [Raw text]

[Bug target/27082] segfault with virtual class and visibility ("hidden")



------- Comment #10 from tbm at cyrius dot com  2006-05-21 23:52 -------
 virtual Virtual::~Virtual() Virtual::~Virtual() virtual Virtual::~Virtual()
virtual Virtual::~Virtual() const void* get_vptr() Virtual::Virtual()
Virtual::Virtual() Virtual::Virtual() void
__static_initialization_and_destruction_0(int, int) void
_GLOBAL__I__Z8get_vptrv()
Analyzing compilation unitPerforming intraprocedural optimizations
Assembling functions:
 Virtual::Virtual()==28735== Invalid read of size 2
==28735==    at 0x831B2DA: validize_mem (explow.c:529)
==28735==    by 0x84C7B4E: alpha_expand_mov (alpha.c:2239)
==28735==    by 0x83BEC3A: gen_movdi (alpha.md:5646)
==28735==    by 0x833F93C: emit_move_insn_1 (expr.c:3187)
==28735==    by 0x833FD82: emit_move_insn (expr.c:3278)
==28735==    by 0x831AEE0: force_reg (explow.c:660)
==28735==    by 0x84BBDF0: alpha_legitimize_address (alpha.c:1030)
==28735==    by 0x84C7B25: alpha_expand_mov (alpha.c:2207)
==28735==    by 0x83BEC3A: gen_movdi (alpha.md:5646)
==28735==    by 0x833F93C: emit_move_insn_1 (expr.c:3187)
==28735==    by 0x833FD82: emit_move_insn (expr.c:3278)
==28735==    by 0x8344B54: store_expr (expr.c:4488)
==28735==  Address 0x0 is not stack'd, malloc'd or (recently) free'd

../../alpha.cc: In constructor ?Virtual::Virtual()?:
../../alpha.cc:8: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27082


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