This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/27082] segfault with virtual class and visibility ("hidden")
- From: "tbm at cyrius dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 May 2006 23:52:38 -0000
- Subject: [Bug target/27082] segfault with virtual class and visibility ("hidden")
- References: <bug-27082-2744@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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