From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 117512 invoked by alias); 7 Jul 2015 21:45:10 -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 117478 invoked by uid 48); 7 Jul 2015 21:45:06 -0000 From: "su at cs dot ucdavis.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/66794] New: ICE at -O2 and -O3 on x86_64-linux-gnu Date: Tue, 07 Jul 2015 21:45:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: su at cs dot ucdavis.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 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-07/txt/msg00576.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66794 Bug ID: 66794 Summary: ICE at -O2 and -O3 on x86_64-linux-gnu Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: su at cs dot ucdavis.edu Target Milestone: --- The following code causes an ICE when compiled with the current gcc trunk at -O3 on x86_64-linux-gnu in both 32-bit and 64-bit modes.=20 It is a regression from 5.1.x.=20 $ gcc-trunk -v Using built-in specs. COLLECT_GCC=3Dgcc-trunk COLLECT_LTO_WRAPPER=3D/usr/local/gcc-trunk/libexec/gcc/x86_64-unknown-linux= -gnu/6.0.0/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: ../gcc-trunk/configure --prefix=3D/usr/local/gcc-trunk --enable-languages=3Dc,c++ --disable-werror --enable-multilib Thread model: posix gcc version 6.0.0 20150707 (experimental) [trunk revision 225501] (GCC)=20 $=20 $ gcc-trunk -Os -c small.c small.c: In function =E2=80=98fn1=E2=80=99: small.c:18:10: warning: function returns address of local variable [-Wreturn-local-addr] return *c; ^ small.c:12:7: note: declared here int f, **g =3D &b; ^ $ gcc-5.1 -O2 -c small.c small.c: In function =E2=80=98fn1=E2=80=99: small.c:18:10: warning: function may return address of local variable [-Wreturn-local-addr] return *c; ^ small.c:12:7: note: declared here int f, **g =3D &b; ^ $=20 $ gcc-trunk -O2 -c small.c small.c: In function =E2=80=98fn1=E2=80=99: small.c:18:10: warning: function may return address of local variable [-Wreturn-local-addr] return *c; ^ small.c:12:7: note: declared here int f, **g =3D &b; ^ small.c:10:1: error: dominator of 4 status unknown fn1 () ^ small.c:10:1: internal compiler error: Segmentation fault 0xbb296f crash_signal ../../gcc-trunk/gcc/toplev.c:360 0x76ac43 verify_dominators(cdi_direction) ../../gcc-trunk/gcc/dominance.c:1059 0x76aed7 calculate_dominance_info(cdi_direction) ../../gcc-trunk/gcc/dominance.c:685 0xcd85e4 execute ../../gcc-trunk/gcc/tree-ssa-dse.c:404 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. $=20 ------------------------------ int a, *b, e; static int **c =3D &b; struct { int f0; } d; int * fn1 () { int f, **g =3D &b; e =3D a; for (; a;) for (; d.f0; d.f0++) ; *g =3D &f; return *c; } >>From gcc-bugs-return-491687-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jul 07 21:59:43 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 64059 invoked by alias); 7 Jul 2015 21:59:42 -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 64002 invoked by uid 48); 7 Jul 2015 21:59:38 -0000 From: "marcus at jet dot franken.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/66782] Unable to run 64-bit wine after MS->SYSV register changes Date: Tue, 07 Jul 2015 21:59: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: marcus at jet dot franken.de 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-07/txt/msg00577.txt.bz2 Content-length: 215 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66782 --- Comment #4 from marcus at jet dot franken.de --- (actually not sure this is the same issue that my wine colleagueds are seeing, but it also a miscompilation)