public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/65006] [5 Regression] 252.eon in SPEC CPU 2000 miscompiled with LTO Date: Mon, 16 Feb 2015 17:00:00 -0000 [thread overview] Message-ID: <bug-65006-4-DfdC1mqrCz@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-65006-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65006 --- Comment #12 from H.J. Lu <hjl.tools at gmail dot com> --- (In reply to H.J. Lu from comment #11) > r220521 miscompiled 252.eon in SPEC CPU 2000 with LTO for both x86-32: > > https://gcc.gnu.org/ml/gcc-testresults/2015-02/msg01063.html > > and x32: > > https://gcc.gnu.org/ml/gcc-testresults/2015-02/msg01047.html > > X86-32 was fixed: > > https://gcc.gnu.org/ml/gcc-testresults/2015-02/msg01417.html > > But not: > > https://gcc.gnu.org/ml/gcc-testresults/2015-02/msg01406.html > > I got > > [hjl@gnu-mic-2 00000002]$ ../00000002/eon_peak.lto chair.control.cook > chair.camera chair.surfaces chair.cook.ppm ppm pixels_out.cook > Segmentation fault > [hjl@gnu-mic-2 00000002]$ gdb ../00000002/eon_peak.lto > GNU gdb (GDB) Fedora 7.7.1-21.fc20 > Copyright (C) 2014 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. Type "show copying" > and "show warranty" for details. > This GDB was configured as "x86_64-redhat-linux-gnu". > Type "show configuration" for configuration details. > For bug reporting instructions, please see: > <http://www.gnu.org/software/gdb/bugs/>. > Find the GDB manual and other documentation resources online at: > <http://www.gnu.org/software/gdb/documentation/>. > For help, type "help". > Type "apropos word" to search for commands related to "word"... > Reading symbols from ../00000002/eon_peak.lto...done. > (gdb) r chair.control.cook chair.camera chair.surfaces chair.cook.ppm ppm > pixels_out.cook > Starting program: > /export/project/git/gcc-regression/spec/2000/spec/benchspec/CINT2000/252.eon/ > run/00000002/eon_peak.lto chair.control.cook chair.camera chair.surfaces > chair.cook.ppm ppm pixels_out.cook > > Program received signal SIGSEGV, Segmentation fault. > 0x0042078c in operator*(ggSpectrum const&, ggSpectrum const&) () > Missing separate debuginfos, use: debuginfo-install glibc-2.18-16.0.fc20.x32 > libgcc-4.8.3-7.2.fc20.x86_64 libstdc++-4.8.3-7.2.fc20.x86_64 > (gdb) bt > #0 0x0042078c in operator*(ggSpectrum const&, ggSpectrum const&) () > #1 0x004452d4 in eonImageCalculator::eonImageCalculator() () > #2 0x0040378a in main () > (gdb) f 0 > #0 0x0042078c in operator*(ggSpectrum const&, ggSpectrum const&) () > (gdb) disass > Dump of assembler code for function _ZmlRK10ggSpectrumS1_: > 0x00420780 <+0>: movups (%esi),%xmm0 > 0x00420784 <+4>: mov %rdi,%rax > 0x00420787 <+7>: movups 0x10(%esi),%xmm1 > => 0x0042078c <+12>: mulps (%edx),%xmm0 > 0x00420790 <+16>: mulps 0x10(%edx),%xmm1 > 0x00420795 <+21>: movups %xmm0,(%edi) > 0x00420799 <+25>: movups %xmm1,0x10(%edi) > 0x0042079e <+30>: retq > End of assembler dump. > (gdb) p $edx > $1 = -13304 > (gdb) p/x $edx > $2 = 0xffffcc08 Adding -fno-ipa-cp fixes x32. Fix for PR 65028 isn't complete. >From gcc-bugs-return-477465-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 16 17:02:40 2015 Return-Path: <gcc-bugs-return-477465-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 20616 invoked by alias); 16 Feb 2015 17:02:40 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 20554 invoked by uid 48); 16 Feb 2015 17:02:34 -0000 From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/65028] [5 Regression] 450.soplex in SPEC CPU 2006 is miscompiled Date: Mon, 16 Feb 2015 17:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: REOPENED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: jamborm at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: <bug-65028-4-boJTAVtVzW@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-65028-4@http.gcc.gnu.org/bugzilla/> References: <bug-65028-4@http.gcc.gnu.org/bugzilla/> 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-02/txt/msg01798.txt.bz2 Content-length: 2814 https://gcc.gnu.org/bugzilla/show_bug.cgi?ide028 H.J. Lu <hjl.tools at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |--- --- Comment #9 from H.J. Lu <hjl.tools at gmail dot com> --- The same bug affects 252.eon in SPEC CPU 2000 on x32: [hjl@gnu-mic-2 00000002]$ ../00000002/eon_peak.lto chair.control.cook chair.camera chair.surfaces chair.cook.ppm ppm pixels_out.cook Segmentation fault [hjl@gnu-mic-2 00000002]$ gdb ../00000002/eon_peak.lto GNU gdb (GDB) Fedora 7.7.1-21.fc20 Copyright (C) 2014 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-redhat-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from ../00000002/eon_peak.lto...done. (gdb) r chair.control.cook chair.camera chair.surfaces chair.cook.ppm ppm pixels_out.cook Starting program: /export/project/git/gcc-regression/spec/2000/spec/benchspec/CINT2000/252.eon/run/00000002/eon_peak.lto chair.control.cook chair.camera chair.surfaces chair.cook.ppm ppm pixels_out.cook Program received signal SIGSEGV, Segmentation fault. 0x0042078c in operator*(ggSpectrum const&, ggSpectrum const&) () Missing separate debuginfos, use: debuginfo-install glibc-2.18-16.0.fc20.x32 libgcc-4.8.3-7.2.fc20.x86_64 libstdc++-4.8.3-7.2.fc20.x86_64 (gdb) bt #0 0x0042078c in operator*(ggSpectrum const&, ggSpectrum const&) () #1 0x004452d4 in eonImageCalculator::eonImageCalculator() () #2 0x0040378a in main () (gdb) f 0 #0 0x0042078c in operator*(ggSpectrum const&, ggSpectrum const&) () (gdb) disass Dump of assembler code for function _ZmlRK10ggSpectrumS1_: 0x00420780 <+0>: movups (%esi),%xmm0 0x00420784 <+4>: mov %rdi,%rax 0x00420787 <+7>: movups 0x10(%esi),%xmm1 => 0x0042078c <+12>: mulps (%edx),%xmm0 0x00420790 <+16>: mulps 0x10(%edx),%xmm1 0x00420795 <+21>: movups %xmm0,(%edi) 0x00420799 <+25>: movups %xmm1,0x10(%edi) 0x0042079e <+30>: retq End of assembler dump. (gdb) p $edx $1 = -13304 (gdb) p/x $edx $2 = 0xffffcc08 The fix isn't sufficient since adding -fno-ipa-cp fixes eon on x32.
next prev parent reply other threads:[~2015-02-16 17:00 UTC|newest] Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-02-10 20:31 [Bug ipa/65006] New: [5 Regression] 252.eon in SPEC CPU 2000 miscompiled hjl.tools at gmail dot com 2015-02-10 20:35 ` [Bug ipa/65006] " hubicka at gcc dot gnu.org 2015-02-10 20:47 ` hjl.tools at gmail dot com 2015-02-10 20:47 ` pinskia at gcc dot gnu.org 2015-02-10 20:52 ` jakub at gcc dot gnu.org 2015-02-10 20:55 ` hubicka at ucw dot cz 2015-02-10 21:19 ` hjl.tools at gmail dot com 2015-02-11 9:46 ` rguenth at gcc dot gnu.org 2015-02-11 17:42 ` hubicka at ucw dot cz 2015-02-11 19:05 ` hubicka at gcc dot gnu.org 2015-02-11 19:27 ` hjl.tools at gmail dot com 2015-02-11 20:24 ` hjl.tools at gmail dot com 2015-02-16 15:07 ` [Bug ipa/65006] [5 Regression] 252.eon in SPEC CPU 2000 miscompiled with LTO hjl.tools at gmail dot com 2015-02-16 17:00 ` hjl.tools at gmail dot com [this message] 2015-03-01 23:47 ` hubicka at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-65006-4-DfdC1mqrCz@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).