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: unassig...@gcc.gnu.org ReportedBy: eftax...@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.