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 #4 from tbm at cyrius dot com  2006-05-16 21:11 -------
Hmm, that's interesting.  When I call g++ from a Makefile I get a
"unrecognizable insn" error but calling it directly leads to the segfault. 
I've no idea if this "unrecognizable insn" error is helpful in any way but I
thought I'd mention it here.

Anyway, I can confirm this segfault on Alpha with gcc 4.0/4.1/4.2.

(sid)tbm@hulk:~$ make x
g++ -c test.c
test.c: In constructor 'Virtual::Virtual()':
test.c:1: error: unrecognizable insn:
(insn 9 4 10 0 (set (reg/f:DI 70)
        (nil)) -1 (nil)
    (expr_list:REG_EQUAL (symbol_ref/i:DI ("_ZTV7Virtual") [flags 0x2]
<var_decl 0x20000316840 _ZTV7Virtual>)
        (nil)))
test.c:1: internal compiler error: in extract_insn, at recog.c:2084
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.1/README.Bugs>.
Preprocessed source stored into /tmp/cccHCxpV.out file, please attach this to
your bugreport.
make: *** [x] Error 1
(sid)tbm@hulk:~$ g++ -c test.c
test.c: In constructor 'Virtual::Virtual()':
test.c:1: 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.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.1/README.Bugs>.
Preprocessed source stored into /tmp/ccrSaFP6.out file, please attach this to
your bugreport.
(sid)tbm@hulk:~$


-- 


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]