From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 108623 invoked by alias); 11 Jun 2015 16:15:23 -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 108173 invoked by uid 48); 11 Jun 2015 16:15:18 -0000 From: "simon at pushface dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/66205] gnatbind generates invalid code when finalization is enabled in restricted runtime Date: Thu, 11 Jun 2015 16:15:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ada X-Bugzilla-Version: 4.9.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: simon at pushface dot org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: 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: Message-ID: In-Reply-To: References: 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: 2015-06/txt/msg01135.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66205 --- Comment #6 from simon at pushface dot org --- (In reply to charlet@adacore.com from comment #5) > Certainly a very low quality workaround won't be accepted, this would cau= se > too much maintenance troubles. Sorry for the confusion. The patch I propose is the one attached to this PR; the VLQ workround is wh= at I will have to do, not as part of GCC of course, if the patch is rejected. Note the workround would appear only in a restricted runtime, which would be like AdaCore=E2=80=99s restricted runtimes in that it wouldn=E2=80=99t be p= art of the official GCC tree, even though the copyright would be assigned to FSF. >>From gcc-bugs-return-488804-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 11 16:23:33 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 48962 invoked by alias); 11 Jun 2015 16:23:32 -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 44170 invoked by uid 48); 11 Jun 2015 16:23:29 -0000 From: "ulysse.beaugnon at ens dot fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/66515] New: g++ segfaults when creating an std::initializer_list Date: Thu, 11 Jun 2015 16:23: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: 5.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ulysse.beaugnon at ens dot fr X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: 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 target_milestone 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: 2015-06/txt/msg01136.txt.bz2 Content-length: 2675 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66515 Bug ID: 66515 Summary: g++ segfaults when creating an std::initializer_list Product: gcc Version: 5.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ulysse.beaugnon at ens dot fr Target Milestone: --- Created attachment 35764 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D35764&action=3Dedit Preprocessed input triggering the segfault g++ fails when run on the input attached: $> g++ -std=3Dc++11 bug_gcc.ii bug_gcc.cc: In function =E2=80=98int main()=E2=80=99: bug_gcc.cc:12:49: internal compiler error: Segmentation fault std::initializer_list v =3D { { get() } }; Version of GCC: $> g++ -std=3Dc++11 -v bug_gcc.ii Using built-in specs. COLLECT_GCC=3Dg++ COLLECT_LTO_WRAPPER=3D/usr/lib/gcc/x86_64-unknown-linux-gnu/5.1.0/lto-wrapp= er Target: x86_64-unknown-linux-gnu Configured with: /build/gcc-multilib/src/gcc-5-20150519/configure --prefix= =3D/usr --libdir=3D/usr/lib --libexecdir=3D/usr/lib --mandir=3D/usr/share/man --infodir=3D/usr/share/info --with-bugurl=3Dhttps://bugs.archlinux.org/ --enable-languages=3Dc,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=3Dposix --enable-libmpx --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=3Dgnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=3Dgnu --enable-gnu-indirect-function --enable-multilib --disable-werror --enable-checking=3Drelease --with-default-libstdcxx-abi=3Dc++98 Thread model: posix gcc version 5.1.0 (GCC)=20 COLLECT_GCC_OPTIONS=3D'-std=3Dc++11' '-v' '-shared-libgcc' '-mtune=3Dgeneri= c' '-march=3Dx86-64' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.1.0/cc1plus -fpreprocessed bug_gcc= .ii -quiet -dumpbase bug_gcc.ii -mtune=3Dgeneric -march=3Dx86-64 -auxbase bug_g= cc -std=3Dc++11 -version -o /tmp/ccg4bTLJ.s GNU C++11 (GCC) version 5.1.0 (x86_64-unknown-linux-gnu) compiled by GNU C version 5.1.0, GMP version 6.0.0, MPFR version 3.1.2-p11, MPC version 1.0.3 GGC heuristics: --param ggc-min-expand=3D100 --param ggc-min-heapsize=3D131= 072 GNU C++11 (GCC) version 5.1.0 (x86_64-unknown-linux-gnu) compiled by GNU C version 5.1.0, GMP version 6.0.0, MPFR version 3.1.2-p11, MPC version 1.0.3 GGC heuristics: --param ggc-min-expand=3D100 --param ggc-min-heapsize=3D131= 072 Compiler executable checksum: 2502e86cc323bb15ad071f82f9632779 >>From gcc-bugs-return-488805-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 11 16:52:01 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 101458 invoked by alias); 11 Jun 2015 16:52:01 -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 101392 invoked by uid 48); 11 Jun 2015 16:51:57 -0000 From: "howarth.at.gcc at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/66509] the new clang-based assembler in Xcode 7 on 10.11 fails on the libjava/java/lang/reflect/natArray.cc file from FSF gcc 5.1 at -m32 Date: Thu, 11 Jun 2015 16:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 5.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: howarth.at.gcc at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: 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: 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: 2015-06/txt/msg01137.txt.bz2 Content-length: 391 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66509 --- Comment #10 from Jack Howarth --- The clang developers suggest the test... filds (%ebp) which is compilable with the clang-based assembler at both -m32 and -m64. http://lists.cs.uiuc.edu/pipermail/cfe-dev/2015-June/043463.html fists (%ebp) also appears to work for the second part of the test.