From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7049 invoked by alias); 20 Nov 2014 13: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 Received: (qmail 7006 invoked by uid 48); 20 Nov 2014 13:45:30 -0000 From: "thomas.petazzoni@free-electrons.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/61207] Win64 gcc 4.9.0: ICE at -Os compiling some C++ code Date: Thu, 20 Nov 2014 13:45: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.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: thomas.petazzoni@free-electrons.com X-Bugzilla-Status: NEW 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: 2014-11/txt/msg02252.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D61207 --- Comment #4 from Thomas Petazzoni = --- (In reply to Kai Tietz from comment #3) > Hmm, does it help to specify additional option '-fno-ms-extensions'? No, it doesn't help. In fact in my case, it isn't a -Os problem, but a -O3 problem. I had both the compile command line, with -O3 being last. So in the end, I tested the following cases: * -O2 -> builds fine * -Os -> builds fine * -O3 -> breaks * -O3 -fno-ms-extensions -> breaks If you want to have a look at the code, I've put the pre-processed version = of the file at http://free-electrons.com/~thomas/pub/SVGAllInOne.cpp.xz. I'm able to reproduce the bug under Ubuntu, using the Ubuntu ARM g++ compil= er, which uses gcc 4.9.1 : # Default -> OK thomas@skate:/tmp$ arm-linux-gnueabihf-g++ -c SVGAllInOne.cpp=20 # -O2 -> OK thomas@skate:/tmp$ arm-linux-gnueabihf-g++ -O2 -c SVGAllInOne.cpp=20 # -Os -> OK thomas@skate:/tmp$ arm-linux-gnueabihf-g++ -Os -c SVGAllInOne.cpp=20 # -O3 -> NOK thomas@skate:/tmp$ arm-linux-gnueabihf-g++ -O3 -c SVGAllInOne.cpp=20 In file included from svg/SVGAnimateMotionElement.cpp:37:0, from svg/SVGAllInOne.cpp:36: svg/SVGPathElement.h: In member function =E2=80=98virtual WebCore::FloatRect WebCore::SVGPathElement::_ZTv0_n24_N7WebCore14SVGPathElement7getBBoxENS_12S= VGLocatable19StyleUpdateStrategyE(WebCore::SVGLocatable::StyleUpdateStrateg= y)=E2=80=99: svg/SVGPathElement.h:95:23: internal compiler error: in expand_expr_addr_expr_1, at expr.c:7649 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. Preprocessed source stored into /tmp/cccMXXZg.out file, please attach this = to your bugreport. # -O3 -fno-ms-extensions -> NOK thomas@skate:/tmp$ arm-linux-gnueabihf-g++ -O3 -fno-ms-extensions -c SVGAllInOne.cpp=20 In file included from svg/SVGAnimateMotionElement.cpp:37:0, from svg/SVGAllInOne.cpp:36: svg/SVGPathElement.h: In member function =E2=80=98virtual WebCore::FloatRect WebCore::SVGPathElement::_ZTv0_n24_N7WebCore14SVGPathElement7getBBoxENS_12S= VGLocatable19StyleUpdateStrategyE(WebCore::SVGLocatable::StyleUpdateStrateg= y)=E2=80=99: svg/SVGPathElement.h:95:23: internal compiler error: in expand_expr_addr_expr_1, at expr.c:7649 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. Beware that the C++ source file is 7 MB in size, and takes a little while to build: $ time arm-linux-gnueabihf-g++ -O2 -c SVGAllInOne.cpp=20 real 0m32.544s user 0m32.032s sys 0m0.431s >>From gcc-bugs-return-467781-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 20 13:50:28 2014 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 10571 invoked by alias); 20 Nov 2014 13:50:28 -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 10521 invoked by uid 48); 20 Nov 2014 13:50:25 -0000 From: "dje at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/60031] dg-require-effective-target powerpc_vsx_ok is not enough Date: Thu, 20 Nov 2014 13:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dje at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed 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-11/txt/msg02253.txt.bz2 Content-length: 475 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60031 David Edelsohn changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2014-11-20 Ever confirmed|0 |1 --- Comment #5 from David Edelsohn --- Confirmed.