[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#610736: gcc-4.4: typeinfo + -fvisibility-ms-compat -> segfault



Package: gcc-4.4
Version: 4.4.5-10
Severity: normal

$ g++ -c -fvisibility-ms-compat testcase.cc
testcase.cc:4: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.4/README.Bugs> for instructions.


Google says it might be this upstream bug:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38002

-- System Information:
Debian Release: 6.0
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'experimental'), (500, 'testing')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gcc-4.4 depends on:
ii  binutils                2.20.1-15        The GNU assembler, linker and bina
ii  cpp-4.4                 4.4.5-10         The GNU C preprocessor
ii gcc-4.4-base 4.4.5-10 The GNU Compiler Collection (base ii libc6 2.11.2-8 Embedded GNU C Library: Shared lib
ii  libgcc1                 1:4.6-20110116-1 GCC support library
ii  libgomp1                4.6-20110116-1   GCC OpenMP (GOMP) support library

Versions of packages gcc-4.4 recommends:
ii  libc6-dev                     2.11.2-8   Embedded GNU C Library: Developmen

Versions of packages gcc-4.4 suggests:
ii  gcc-4.4-doc                  4.4.4.nf1-1 documentation for the GNU compiler
pn  gcc-4.4-locales              <none>      (no description available)
pn  gcc-4.4-multilib             <none>      (no description available)
ii  libcloog-ppl0                0.15.9-2    the Chunky Loop Generator (runtime
pn  libgcc1-dbg                  <none>      (no description available)
pn  libgomp1-dbg                 <none>      (no description available)
pn  libmudflap0-4.4-dev          <none>      (no description available)
pn  libmudflap0-dbg              <none>      (no description available)
ii  libppl-c2                    0.10.2-9    Parma Polyhedra Library (C interfa
ii  libppl7                      0.10.2-9    Parma Polyhedra Library (runtime l

--
Jakub Wilk
#include <typeinfo>
void f()
{
    typeid (void*);
}

Reply to: