This is the mail archive of the gcc-help@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]

covariant7.C fdesc_expr not supported by dump_expr


Hi,

This is related to failure of testcase g++.dg/inherit/covariant7.C in 
platforms ia64-hpux11.23, ia64-redhat-linux.

I am getting a message:
  "#'fdesc_expr' not supported by dump_expr#<expression error>" 
while dumping the vable using -fdump-class-hierarchy in platforms 
ia64-hpux11.23, ia64-redhat-linux. But in x86_64-suse-linux it is working 
fine.

---- Reduced testcase (test.C):

struct c0 {};
struct c1 : virtual c0 {
  virtual c0 &f2() volatile;
};

---- Compilation command: 
.../bin/g++ -std=gnu++98 -fdump-class-hierarchy -c test.C

---- Vtable dump by ia64-hpux11.23, ia64-redhat-linux compilers:

Vtable for c1
c1::_ZTV2c1: 5u entries
0     0u
8     (int (*)(...))0
16    (int (*)(...))(& _ZTI2c1)
24    #'fdesc_expr' not supported by dump_expr#<expression error>
32    #'fdesc_expr' not supported by dump_expr#<expression error>

---- Vtable dump by x86_64-suse-linux compiler:

Vtable for c1
c1::_ZTV2c1: 4u entries
0     0u
8     (int (*)(...))0
16    (int (*)(...))(& _ZTI2c1)
24    (int (*)(...))c1::f2

---- ia64-redhat-linux configuration:

COLLECT_GCC=.../ia64-redhat-linux/bin/g++
COLLECT_LTO_WRAPPER=.../ia64-redhat-linux/bin/../libexec/gcc/ia64-redhat-linux-gnu/4.7.0/lto-wrapper
Target: ia64-redhat-linux-gnu
Configured with: .../src/gcc_4_7_0_release/configure --host=ia64-redhat-linux-gnu 
--build=ia64-redhat-linux-gnu --prefix=.../gcc-ia64-redhat-linux-gnu-gcc_4_7_0_release 
--with-local-prefix=.../gcc-ia64-redhat-linux-gnu-gcc_4_7_0_release 
--disable-nls --with-gmp=.../ia64-debian-linux-gnu --with-mpfr=.../ia64-debian-linux-gnu 
--with-mpc=.../ia64-debian-linux-gnu --with-libelf=.../ia64-debian-linux-gnu 
--disable-libmudflap --disable-initfini-array --enable-languages=c,c++,fortran
Thread model: posix
gcc version 4.7.0 (GCC)

---- x86_64-suse-linux configuration:

COLLECT_GCC=.../x86_64-suse-linux/bin/g++
COLLECT_LTO_WRAPPER=.../x86_64-suse-linux/bin/../libexec/gcc/x86_64-suse-linux-gnu/4.7.0/lto-wrapper
Target: x86_64-suse-linux-gnu
Configured with: .../src/gcc_4_7_0_release/configure --host=x86_64-suse-linux-gnu 
--build=x86_64-suse-linux-gnu --prefix=.../gcc-x86_64-suse-linux-gnu-gcc_4_7_0_release 
--with-local-prefix=.../gcc-x86_64-suse-linux-gnu-gcc_4_7_0_release 
--disable-nls --with-gmp=.../x86_64-suse-linux-gnu --with-mpfr=.../x86_64-suse-linux-gnu 
--with-mpc=.../x86_64-suse-linux-gnu --with-libelf=.../x86_64-suse-linux-gnu 
--disable-libmudflap --disable-initfini-array --disable-initfini-array --enable-languages=c,c++,fortran
Thread model: posix
gcc version 4.7.0 (GCC)

---- ia64-hpux11.23 configuration:

COLLECT_GCC=.../ia64-hpux11.23/bin/g++
COLLECT_LTO_WRAPPER=/.../ia64-hpux11.23/bin/../libexec/gcc/ia64-hp-hpux11.23/4.7.0/lto-wrapper
Target: ia64-hp-hpux11.23
Configured with: .../src/gcc_4_7_0_release/configure --host=ia64-hp-hpux11.23 
--build=ia64-hp-hpux11.23 --prefix=.../gcc-ia64-hp-hpux11.23-gcc_4_7_0_release 
--with-local-prefix=.../gcc-ia64-hp-hpux11.23-gcc_4_7_0_release --disable-nls 
--with-gmp=.../ia64-hp-hpux11.23 --with-mpfr=.../ia64-hp-hpux11.23 
--with-mpc=.../ia64-hp-hpux11.23 --with-libelf=.../ia64-hp-hpux11.23 
--disable-libmudflap --enable-libunwind-exceptions SED=/usr/bin/sed 
--disable-initfini-array --enable-languages=c,c++,fortran
Thread model: posix
gcc version 4.7.0 (GCC)

Regards,
Kannan


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