From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2691 invoked by alias); 20 Aug 2014 15:29:34 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 2587 invoked by uid 48); 20 Aug 2014 15:29:29 -0000 From: "koes at cmu dot edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/62204] New: internal compiler error with -Wall Date: Wed, 20 Aug 2014 15:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.8.3 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: koes at cmu dot edu X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-08/txt/msg01371.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D62204 Bug ID: 62204 Summary: internal compiler error with -Wall Product: gcc Version: 4.8.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: koes at cmu dot edu Created attachment 33369 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D33369&action=3Dedit preprocessed file for reproducing -Wall related bug I get an internal compiler error when compiling pharmer (http://pharmer.sf.= net) under Ubuntu 14.04 with the packaged g++ 4.8.2 and with a version of 4.8.3 I built myself (../configure --enable-languages=3Dc,c++,fortran x86_64-linux-= gnu ). The problem may also be present in 4.9.1, but manifest differently. The command line to reproduce this error in 4.8.2/4.8.3 is: g++ -O3 -Wall -c main.ii Interestingly, there is another file in the build that gets a similar error (PharmerQuery.cpp). For this file removing -Wall does not resolve the crash, but passing -save-temps does, so it is difficult to provide a preprocessed file. g++ 4.9.1 also cannot compile this file, although with 4.9.1 this ICE goes away with the removal of -Wall (as well as -save-temps). Below I've pasted both the output for main.ii (where removing -Wall fixes t= he problem) and the output for PharmerQuery.cpp (where I can't provide a .ii file). koes@nova:~/workspace/pharmer/Release$ g++ -O3 -Wall -c main.ii -v Using built-in specs. COLLECT_GCC=3Dg++ Target: x86_64-linux-gnu Configured with: ../configure --enable-languages=3Dc,c++,fortran x86_64-lin= ux-gnu Thread model: posix gcc version 4.8.3 (GCC)=20 COLLECT_GCC_OPTIONS=3D'-O3' '-Wall' '-c' '-v' '-shared-libgcc' '-mtune=3Dge= neric' '-march=3Dx86-64' /raid/usr/local/bin/../libexec/gcc/x86_64-linux-gnu/4.8.3/cc1plus -fpreprocessed main.ii -quiet -dumpbase main.ii -mtune=3Dgeneric -march=3Dx= 86-64 -auxbase main -O3 -Wall -version -o /tmp/ccpGqbNt.s GNU C++ (GCC) version 4.8.3 (x86_64-linux-gnu) compiled by GNU C version 4.8.3, GMP version 5.1.3, MPFR version 3.1.2-= p3, MPC version 1.0.1 GGC heuristics: --param ggc-min-expand=3D100 --param ggc-min-heapsize=3D131= 072 GNU C++ (GCC) version 4.8.3 (x86_64-linux-gnu) compiled by GNU C version 4.8.3, GMP version 5.1.3, MPFR version 3.1.2-= p3, MPC version 1.0.1 GGC heuristics: --param ggc-min-expand=3D100 --param ggc-min-heapsize=3D131= 072 Compiler executable checksum: 1cbd2130c9c03c77c4428f506cfeafb2 In file included from /usr/include/boost/algorithm/string/split.hpp:16:0, from /usr/include/boost/algorithm/string.hpp:23, from ../queryparsers.h:34, from ../main.cpp:44: /usr/include/boost/algorithm/string/iter_find.hpp: In instantiation of =E2=80=98SequenceSequenceT& boost::algorithm::iter_split(SequenceSequenceT&= , RangeT&, FinderT) [with SequenceSequenceT =3D std::vector >; RangeT =3D std::basic_string; FinderT =3D boost::algorithm::detail::token_finderF]=E2=80=99: /usr/include/boost/algorithm/string/split.hpp:149:69: required from =E2=80=98SequenceSequenceT& boost::algorithm::split(SequenceSequenceT&, Ran= geT&, PredicateT, boost::algorithm::token_compress_mode_type) [with SequenceSeque= nceT =3D std::vector >; RangeT =3D std::basic_string; PredicateT =3D int (*)(int)throw ()]=E2=80=99 ../queryparsers.h:237:50: required from here /usr/include/boost/algorithm/string/iter_find.hpp:182:9: internal compiler error: Segmentation fault } ^ 0x89ffdf crash_signal ../../gcc/toplev.c:332 0x5b236a c_tree_chain_next ../../gcc/c-family/c-common.h:1058 0x5b236a gt_ggc_mx_lang_tree_node(void*) ./gt-cp-tree.h:158 0x5b2d01 gt_ggc_mx_lang_tree_node(void*) ./gt-cp-tree.h:495 0x5b3346 gt_ggc_mx_lang_tree_node(void*) ./gt-cp-tree.h:520 0x5b3743 gt_ggc_mx_lang_tree_node(void*) ./gt-cp-tree.h:509 0x5b3989 gt_ggc_mx_lang_tree_node(void*) ./gt-cp-tree.h:260 0x5cd8a5 gt_ggc_mx_cp_binding_level(void*) ./gt-cp-name-lookup.h:64 0x5b269f gt_ggc_mx_lang_tree_node(void*) ./gt-cp-tree.h:659 0x5b3787 gt_ggc_mx_lang_tree_node(void*) ./gt-cp-tree.h:366 0x5b2c84 gt_ggc_mx_lang_tree_node(void*) ./gt-cp-tree.h:476 0x5b3885 gt_ggc_mx_lang_tree_node(void*) ./gt-cp-tree.h:243 0x5cd993 gt_ggc_mx_cxx_binding(void*) ./gt-cp-name-lookup.h:87 0x5b269f gt_ggc_mx_lang_tree_node(void*) ./gt-cp-tree.h:659 0x5b3787 gt_ggc_mx_lang_tree_node(void*) ./gt-cp-tree.h:366 0x5b3755 gt_ggc_mx_lang_tree_node(void*) ./gt-cp-tree.h:510 0x5b4089 gt_ggc_mx_lang_type(void*) ./gt-cp-tree.h:795 0x5b2d4a gt_ggc_mx_lang_tree_node(void*) ./gt-cp-tree.h:500 0x5b2d39 gt_ggc_mx_lang_tree_node(void*) ./gt-cp-tree.h:499 0x5b376b gt_ggc_mx_lang_tree_node(void*) ./gt-cp-tree.h:364 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. g++ -DOUTPUTSMINA -DEIGEN_DISABLE_STACK_SIZE_ASSERT -I/usr/local/include/openbabel-2.0 -I"/home/dkoes/git/code/src/lib" -I/usr/include/jsoncpp -I/usr/local/include -I/usr0/local/include -O3 -Wall= -c -fmessage-length=3D0 -MMD -MP -MF"PharmerQuery.d" -MT"PharmerQuery.d" -o"PharmerQuery.o" "../PharmerQuery.cpp" ../PharmerQuery.cpp: In constructor =E2=80=98std::map<_Key, _Tp, _Compare, _Alloc>::map() [with _Key =3D boost::exception_detail::type_info_; _Tp =3D boost::shared_ptr; _Compare =3D std::less; _Alloc =3D std::allocator > >]=E2=80=99: ../PharmerQuery.cpp:836:1: internal compiler error: Segmentation fault } ^ 0x89ffdf crash_signal ../../gcc/toplev.c:332 0x5b236a c_tree_chain_next ../../gcc/c-family/c-common.h:1058 0x5b236a gt_ggc_mx_lang_tree_node(void*) ./gt-cp-tree.h:158 0x5b2d01 gt_ggc_mx_lang_tree_node(void*) ./gt-cp-tree.h:495 0x5b2d1d gt_ggc_mx_lang_tree_node(void*) ./gt-cp-tree.h:497 0x5b3525 gt_ggc_mx_lang_tree_node(void*) ./gt-cp-tree.h:309 0x5b2d5b gt_ggc_mx_lang_tree_node(void*) ./gt-cp-tree.h:501 0x5b4043 gt_ggc_mx_lang_type(void*) ./gt-cp-tree.h:790 0x5b2d4a gt_ggc_mx_lang_tree_node(void*) ./gt-cp-tree.h:500 0x5b2c76 gt_ggc_mx_lang_tree_node(void*) ./gt-cp-tree.h:475 0x5b2c76 gt_ggc_mx_lang_tree_node(void*) ./gt-cp-tree.h:475 0x5b3525 gt_ggc_mx_lang_tree_node(void*) ./gt-cp-tree.h:309 0x5b2d5b gt_ggc_mx_lang_tree_node(void*) ./gt-cp-tree.h:501 0x5b4043 gt_ggc_mx_lang_type(void*) ./gt-cp-tree.h:790 0x5b2d4a gt_ggc_mx_lang_tree_node(void*) ./gt-cp-tree.h:500 0x5b2c76 gt_ggc_mx_lang_tree_node(void*) ./gt-cp-tree.h:475 0x5b3755 gt_ggc_mx_lang_tree_node(void*) ./gt-cp-tree.h:510 0x5b2d5b gt_ggc_mx_lang_tree_node(void*) ./gt-cp-tree.h:501 0x5b2f06 gt_ggc_mx_lang_tree_node(void*) ./gt-cp-tree.h:384 0x5b30e5 gt_ggc_mx_lang_tree_node(void*) ./gt-cp-tree.h:551 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. make: *** [PharmerQuery.o] Error 1 >>From gcc-bugs-return-458875-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Aug 20 15:57:25 2014 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 29173 invoked by alias); 20 Aug 2014 15:57:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 29105 invoked by uid 55); 20 Aug 2014 15:57:21 -0000 From: "sje at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/49191] gcc.dg/memcpy-3.c FAILs on SPARC Date: Wed, 20 Aug 2014 15:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 4.7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sje at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.6.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-08/txt/msg01372.txt.bz2 Content-length: 440 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49191 --- Comment #16 from Steve Ellcey --- Author: sje Date: Wed Aug 20 15:56:45 2014 New Revision: 214226 URL: https://gcc.gnu.org/viewcvs?rev=214226&root=gcc&view=rev Log: 2014-08-20 Steve Ellcey PR middle-end/49191 * doc/sourcebuild.texi (non_strict_align): New. Modified: trunk/gcc/ChangeLog trunk/gcc/doc/sourcebuild.texi