public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "kst at mib dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c/23665] New: ICE in convert_move with -O3 (ok at -O2) Date: Thu, 01 Sep 2005 00:54:00 -0000 [thread overview] Message-ID: <20050901005347.23665.kst@mib.org> (raw) Note that the following code invokes undefined behavior. I haven't been able to reproduce this bug on platforms other than Cygwin. % cat gcc-bug.c double func(); int main(void) { double d = func(42); return 0; } double func(double arg) { return arg * 2.0; } % uname -a CYGWIN_NT-5.1 sedna 1.5.18(0.132/4/2) 2005-07-02 20:30 i686 unknown unknown Cygwin % gcc --version gcc (GCC) 3.4.4 (cygming special) (gdc 0.12, using dmd 0.125) Copyright (C) 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. % gcc -c -O2 gcc-bug.c % gcc -c -O3 gcc-bug.c gcc-bug.c: In function `main': gcc-bug.c:10: internal compiler error: in convert_move, at expr.c:563 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. -- Summary: ICE in convert_move with -O3 (ok at -O2) Product: gcc Version: 3.4.4 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: kst at mib dot org CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: i686-pc-cygwin GCC host triplet: i686-pc-cygwin GCC target triplet: i686-pc-cygwin http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23665
next reply other threads:[~2005-09-01 0:54 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2005-09-01 0:54 kst at mib dot org [this message] 2005-09-01 1:03 ` [Bug c/23665] [3.4 Regression] " pinskia at gcc dot gnu dot org 2005-09-09 12:19 ` rguenth at gcc dot gnu dot 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=20050901005347.23665.kst@mib.org \ --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).