https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61971
--- Comment #3 from kaijun ---
In Arch Linux & use [gcc 4.9.2]
The same problem happened again.
//This bug could be reproduced as following code on gcc 4.9.2
// g++ -Werror -Wall -O2 t.cpp -o t
class B {
public:
virtual ~B(){};
};
class A {
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61970
--- Comment #2 from kaijun ---
For Andrew Pinski, I am sorry, past again bug: 61970 and 61971 is the same.
Thanks.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61971
--- Comment #1 from kaijun ---
$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.2/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/m
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: kaijun at seed dot net.tw
In Gcc 4.6 before can compiler OK.
but use GCC 4.8.2 (CentOS 7.0)can't comiler.
if comment code //virtual ~PriceLst();
I don't know why and how to fixed it.
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: kaijun at seed dot net.tw
In Gcc 4.6 before can compiler OK.
but use GCC 4.8.2 (CentOS 7.0)can't comiler.
if comment code //virtual ~PriceLst();
I don't know why and how to fixed it.