[Bug c++/57546] templated gnu multiversion function pointer returns wrong value

mib.bugzilla at gmail dot com gcc-bugzilla@gcc.gnu.org
Fri Aug 2 14:43:00 GMT 2013


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

--- Comment #2 from mib.bugzilla at gmail dot com ---
I rerun this test today and the program segfaults.

Also get the same behavior (segfault) if the template is removed. I'll attach
the non-templated test case

 g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/site/spt/rdrive/ref/gcc/4.8.1/rhel60/efi2/bin/../libexec/gcc/x86_64-unknown-linux-gnu/4.8.1/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with:
/rusers/sys_cron/grab_gcc/downloads_rel/4.8.1/gcc-4.8.1/configure
--prefix=/rdrive/ref/gcc/4.8.1/rhel60/efi2
--enable-languages=c,c++,objc,fortran --disable-multilib --enable-bootstrap
--target=x86_64-unknown-linux-gnu --disable-bootstrap --enable-decimal-float
--with-gmp=/rusers/sys_cron/grab_gcc/downloads_rel/lib/efi2
--with-mpfr=/rusers/sys_cron/grab_gcc/downloads_rel/lib/efi2
--with-mpc=/rusers/sys_cron/grab_gcc/downloads_rel/lib/efi2
Thread model: posix
gcc version 4.8.1 (GCC)



More information about the Gcc-bugs mailing list