From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 122948 invoked by alias); 27 Oct 2015 21:41:59 -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 122893 invoked by uid 48); 27 Oct 2015 21:41:55 -0000 From: "larsbj at gullik dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/68122] New: ICE in gcc/toplev.c:353 with -fsanitize=undefined and -fgnu-tm Date: Tue, 27 Oct 2015 21:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: larsbj at gullik dot net 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 cc target_milestone 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-10/txt/msg02284.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68122 Bug ID: 68122 Summary: ICE in gcc/toplev.c:353 with -fsanitize=3Dundefined and -fgnu-tm Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: sanitizer Assignee: unassigned at gcc dot gnu.org Reporter: larsbj at gullik dot net CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org, jakub at gcc dot gnu.org, kcc at gcc dot gnu.org Target Milestone: --- This program: int cnt =3D 0; int main(void) { __transaction_atomic { cnt++; } } Gives tm-thread.c: In function =E2=80=98main=E2=80=99: tm-thread.c:8:1: internal compiler error: Segmentation fault } ^ 0x98b74f crash_signal ../../gcc/gcc/toplev.c:353 0x98f8e4 is_tm_pure_call ../../gcc/gcc/trans-mem.c:275 0x98ff19 ipa_tm_scan_calls_block ../../gcc/gcc/trans-mem.c:4158 0x993653 ipa_tm_scan_calls_transaction ../../gcc/gcc/trans-mem.c:4211 0x993653 ipa_tm_execute ../../gcc/gcc/trans-mem.c:5385 0x993653 execute ../../gcc/gcc/trans-mem.c:5623 When compiled with gcc (GCC) 6.0.0 20151022 (experimental) >>From gcc-bugs-return-500730-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 27 21:45:35 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 130726 invoked by alias); 27 Oct 2015 21:45: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 Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 130663 invoked by uid 48); 27 Oct 2015 21:45:27 -0000 From: "larsbj at gullik dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/68122] ICE in gcc/toplev.c:353 with -fsanitize=undefined and -fgnu-tm Date: Tue, 27 Oct 2015 21:45:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: larsbj at gullik dot net 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: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-10/txt/msg02285.txt.bz2 Content-length: 201 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68122 --- Comment #1 from Lars Gullik Bj=C3=B8nnes --- Command used to call: gcc -fsanitize=3Dundefined -fgnu-tm tm-thread.c >>From gcc-bugs-return-500731-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 27 21:58:13 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 14062 invoked by alias); 27 Oct 2015 21:58:13 -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 14028 invoked by uid 48); 27 Oct 2015 21:58:09 -0000 From: "juergen.reuter at desy dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/68108] [6 regression] erroneous error message 'scalar integer expression expected' Date: Tue, 27 Oct 2015 21:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: juergen.reuter at desy dot de X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: kargl at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.0 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-10/txt/msg02286.txt.bz2 Content-length: 221 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68108 --- Comment #7 from J=C3=BCrgen Reuter --- Thanks to Steven Kargl: confirming that our code completely works again with gcc's r229446. >>From gcc-bugs-return-500732-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 27 22:00:31 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 15741 invoked by alias); 27 Oct 2015 22:00:31 -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 15547 invoked by uid 48); 27 Oct 2015 22:00:27 -0000 From: "dxin at usc dot edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/68123] New: GCC vector extension behaves funny with large vector size Date: Tue, 27 Oct 2015 22:00: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: minor X-Bugzilla-Who: dxin at usc dot edu 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: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-10/txt/msg02287.txt.bz2 Content-length: 1047 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68123 Bug ID: 68123 Summary: GCC vector extension behaves funny with large vector size Product: gcc Version: 4.8.3 Status: UNCONFIRMED Severity: minor Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: dxin at usc dot edu Target Milestone: --- Created attachment 36599 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36599&action=edit test source file It would complete unroll the loop and produces a huge assembly. With -O3 the produced assembly is smaller, but compilation takes a lot longer than no -O3. I attached test source file. With CFLAGS=-std=gnu11 -O3 -mcpu=cortex-a9 -mfloat-abi=hard -mfpu=neon -fPIE -Wall -S -fverbose-asm it compiles to a 57K line assembly and takes about 2min to compile, on a XEON 1245v3 machine. Tested on "GCC: (crosstool-NG linaro-1.13.1-4.8-2013.11 - Linaro GCC 2013.10) 4.8.3 20131111 (prerelease)"