This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/49264] New: Internal compiler error: segmentation fault
- From: "eftaxi12 at otenet dot gr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 1 Jun 2011 21:10:03 +0000
- Subject: [Bug c++/49264] New: Internal compiler error: segmentation fault
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49264
Summary: Internal compiler error: segmentation fault
Product: gcc
Version: 4.6.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: eftaxi12@otenet.gr
$ g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.6.1/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.6.0-10'
--with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++,go --prefix=/usr
--program-suffix=-4.6 --enable-shared --enable-multiarch
--with-multiarch-defaults=x86_64-linux-gnu --enable-linker-build-id
--with-system-zlib --libexecdir=/usr/lib --without-included-gettext
--enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6
--libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug
--enable-libstdcxx-time=yes --enable-plugin --enable-objc-gc
--with-arch-32=i586 --with-tune=generic --enable-checking=release
--build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.6.1 20110526 (prerelease) (Debian 4.6.0-10)
$ g++ -DHAVE_CONFIG_H -I. -I../.. -I../lglib -I../bamglib -I../Graphics
-I../femlib -g -DNDEBUG -O3 -mmmx -msse -msse2 -DDRAWING -DBAMG_LONG_LONG
-DNCHECKPTR -fPIC -c -fno-strict-aliasing -fwrapv -save-temps -Wall -Wextra -o
array_long.o array_long.cpp
In file included from array_tlp.hpp:34:0,
from array_long.cpp:28:
AFunction.hpp:1422:15: warning: unused parameter âiâ [-Wunused-parameter]
AFunction.hpp:1454:11: warning: unused parameter âkâ [-Wunused-parameter]
AFunction.hpp:1739:13: warning: unused parameter ârâ [-Wunused-parameter]
AFunction.hpp:1739:13: warning: unused parameter âtopâ [-Wunused-parameter]
In file included from array_tlp.hpp:34:0,
from array_long.cpp:28:
AFunction.hpp:2233:19: warning: unused parameter âaâ [-Wunused-parameter]
AFunction.hpp:2233:19: warning: unused parameter âbâ [-Wunused-parameter]
In file included from array_tlp.hpp:34:0,
from array_long.cpp:28:
AFunction.hpp:2872:18: warning: type qualifiers ignored on function return type
[-Wignored-qualifiers]
AFunction.hpp:2944:13: warning: unused parameter âlâ [-Wunused-parameter]
AFunction.hpp:2944:13: warning: unused parameter âtopâ [-Wunused-parameter]
In file included from array_long.cpp:28:0:
array_tlp.hpp: In function âvoid ArrayOperator() [with K = long int, Z = long
int]â:
array_long.cpp:135:31: instantiated from here
array_tlp.hpp:871:12: warning: unused variable âknrpâ [-Wunused-variable]
array_tlp.hpp:872:12: warning: unused variable âknr_â [-Wunused-variable]
array_tlp.hpp:883:12: warning: unused variable âknlpâ [-Wunused-variable]
In file included from array_long.cpp:28:0:
array_tlp.hpp: At global scope:
array_tlp.hpp: In instantiation of âA fSubArrayc(const A&, const char&) [with A
= KN_<long int>]â:
array_tlp.hpp:887:6: instantiated from âvoid ArrayOperator() [with K = long
int, Z = long int]â
array_long.cpp:135:31: instantiated from here
array_tlp.hpp:229:3: warning: unused parameter âbâ [-Wunused-parameter]
array_tlp.hpp: In instantiation of âA fSubArrayc(const A&, const char&) [with A
= KN<long int>*]â:
array_tlp.hpp:890:6: instantiated from âvoid ArrayOperator() [with K = long
int, Z = long int]â
array_long.cpp:135:31: instantiated from here
array_tlp.hpp:229:3: warning: unused parameter âbâ [-Wunused-parameter]
In file included from array_tlp.hpp:40:0,
from array_long.cpp:28:
../femlib/RNM.hpp: In member function âvoid KNM<R>::resize(long int, long int)
[with R = long int]â:
array_resize.hpp:23:3: instantiated from âT* resize2(const Resize<T>&, const
long int&, const long int&) [with T = KNM<long int>]â
array_tlp.hpp:954:6: instantiated from âvoid ArrayOperator() [with K = long
int, Z = long int]â
array_long.cpp:135:31: instantiated from here
../femlib/RNM.hpp:1203:10: warning: unused variable âlsoâ [-Wunused-variable]
In file included from array_tlp.hpp:42:0,
from array_long.cpp:28:
Operator.hpp: At global scope:
Operator.hpp: In instantiation of âstatic R* Op3_p<R, A, B, C>::f(Stack, const
A&, const B&, const C&) [with R = if_arth_KN_<long int>, A = KN_<long int>, B =
KN_<long int>, C = KN_<long int>, Stack = void*]â:
AFunction.hpp:2127:69: instantiated from âAnyType
OneTernaryOperator3<T>::Op::operator()(Stack) const [with T =
Op3_p<if_arth_KN_<long int>, KN_<long int>, KN_<long int>, KN_<long int> >,
AnyType = AnyTypeWithOutCheck, Stack = void*]â
array_long.cpp:167:1: instantiated from here
Operator.hpp:585:13: warning: unused parameter âsâ [-Wunused-parameter]
In file included from array_long.cpp:28:0:
array_tlp.hpp: In static member function âstatic if_arth_KN_<R>*
Op3_pacc<K>::f(Stack, const KN_<R>&, const K&, const K&) [with K = long int,
Stack = void*]â:
AFunction.hpp:2127:69: instantiated from âAnyType
OneTernaryOperator3<T>::Op::operator()(Stack) const [with T = Op3_pacc<long
int>, AnyType = AnyTypeWithOutCheck, Stack = void*]â
array_long.cpp:167:1: instantiated from here
array_tlp.hpp:758:4: warning: unused variable âccâ [-Wunused-variable]
array_tlp.hpp:758:10: warning: unused variable âbbâ [-Wunused-variable]
array_tlp.hpp: At global scope:
array_tlp.hpp: In instantiation of âstatic SetArray<R> SetArray3<K>::f(Stack,
const K&, const K&, const K&) [with K = long int, Stack = void*]â:
AFunction.hpp:2127:69: instantiated from âAnyType
OneTernaryOperator3<T>::Op::operator()(Stack) const [with T = SetArray3<long
int>, AnyType = AnyTypeWithOutCheck, Stack = void*]â
array_long.cpp:167:1: instantiated from here
array_tlp.hpp:779:22: warning: unused parameter âsâ [-Wunused-parameter]
In file included from array_tlp.hpp:40:0,
from array_long.cpp:28:
../femlib/RNM.hpp: In constructor âSetArray<R>::SetArray(long int, R, R) [with
R = long int]â:
array_tlp.hpp:775:29: instantiated from âstatic SetArray<R>
SetArray2<K>::f(const K&, const K&) [with K = long int]â
AFunction.hpp:2253:85: instantiated from âAnyType OneBinaryOperator<C, MI,
MIx>::Op::operator()(Stack) const [with C = SetArray2<long int>, MI =
OneBinaryOperatorMI, MIx = evalE_F2, AnyType = AnyTypeWithOutCheck, Stack =
void*]â
array_long.cpp:167:1: instantiated from here
../femlib/RNM.hpp:366:10: warning: âSetArray<long int>::nâ will be initialized
after [-Wreorder]
../femlib/RNM.hpp:365:9: warning: âlong int SetArray<long int>::stepâ
[-Wreorder]
../femlib/RNM.hpp:367:14: warning: when initialized here [-Wreorder]
array_long.cpp: In member function âAnyType OneBinaryOperator<C, MI,
MIx>::Opt::operator()(Stack) const [with C = set_AI_B<long int, long int,
affectation<long int> >, MI = OneBinaryOperatorMI, MIx = evalE_F2, AnyType =
AnyTypeWithOutCheck, Stack = void*]â:
array_long.cpp:167:1: internal compiler error: ÎÏÎÎÎÎ ÎÎÏÎÏÎÎÏÎÏ (segmentation
fault)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.6/README.Bugs> for instructions.