public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "howarth at nitro dot med dot uc dot edu" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/45141] New: lto1 ICEs when linking cns_solve again Date: Fri, 30 Jul 2010 10:42:00 -0000 [thread overview] Message-ID: <bug-45141-11113@http.gcc.gnu.org/bugzilla/> (raw) [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain, Size: 1927 bytes --] Current gcc trunk (but not gcc 4.5.1) ICEs when linking cns_solve using -O2 -fwhopr -fwholeprogram. The reduced test case is attached and crashes as... [MacPro:~/badlinkdir2] howarth% more README [MacPro:~/badlinkdir2] howarth% gfortran -c -fdefault-integer-8 -w -O2 -fwhopr -fwhole-program --save-temps array_reduced.f [MacPro:~/badlinkdir2] howarth% gfortran -c -fdefault-integer-8 -w -O2 -fwhopr -fwhole-program --save-temps cns_reduced.f [MacPro:~/badlinkdir2] howarth% gfortran -c -fdefault-integer-8 -w -O2 -fwhopr -fwhole-program --save-temps genic_reduced.f [MacPro:~/badlinkdir2] howarth% gfortran -r -nostdlib -o cns_solve-1007222053.exe array_reduced.o cns_reduced.o genic_reduced.o -DINTEGER='long int' -DCNS_ARCH_TYPE_LINUX -fdefault-integer-8 -O2 -fwhopr -fwhole-program -w In file included from genic_reduced.f:602:0, from genic_reduced.f:602, from :3: array_reduced.f: In function find52_.constprop.0: array_reduced.f:34:0: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. lto-wrapper: gfortran returned 1 exit status collect2: lto-wrapper returned 1 exit status The lto1 ICE doesn't occur if the optimization is reduced to -O1 or if the -fwhole-program flag is omitted. This crash is distinct from the the resolved one from PR45037. -- Summary: lto1 ICEs when linking cns_solve again Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: howarth at nitro dot med dot uc dot edu GCC build triplet: x86_64-apple-darwin10 GCC host triplet: x86_64-apple-darwin10 GCC target triplet: x86_64-apple-darwin10 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45141
next reply other threads:[~2010-07-30 10:42 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-07-30 10:42 howarth at nitro dot med dot uc dot edu [this message] 2010-07-30 10:43 ` [Bug lto/45141] " howarth at nitro dot med dot uc dot edu 2010-07-30 10:47 ` howarth at nitro dot med dot uc dot edu 2010-07-30 11:01 ` rguenth at gcc dot gnu dot org 2010-07-30 11:02 ` 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=bug-45141-11113@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).