public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "dominiq at lps dot ens dot fr" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/41043] New: [4.4/4.5 Regression] virtual memory exhausted: Cannot allocate memory Date: Wed, 12 Aug 2009 12:29:00 -0000 [thread overview] Message-ID: <bug-41043-12313@http.gcc.gnu.org/bugzilla/> (raw) On *-apple-darwin9 with gfortran 4.5.0 or 4.4.1, the following code gives at -O2: ! { dg-do compile } subroutine foo implicit none integer :: i call gee_i(int(i**huge(0_8),kind=kind(i))) ! call gee_i(int(i**(-huge(0_8)-1_8),kind=kind(i))) end subroutine foo gives at -O2: [ibook-dhum] f90/bug% time gfc -O2 integer_exponentiation_2_db_red.f90 virtual memory exhausted: Cannot allocate memory 28.270u 4.114s 1:27.92 36.8% 0+0k 0+11io 282pf+0w The code compiles with values other than huge(0_8) or with gfortran 4.3. -- Summary: [4.4/4.5 Regression] virtual memory exhausted: Cannot allocate memory Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dominiq at lps dot ens dot fr GCC build triplet: *-apple-darwin9 GCC host triplet: *-apple-darwin9 GCC target triplet: *-apple-darwin9 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41043
next reply other threads:[~2009-08-12 12:29 UTC|newest] Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top 2009-08-12 12:29 dominiq at lps dot ens dot fr [this message] 2009-08-12 13:14 ` [Bug fortran/41043] " rguenth at gcc dot gnu dot org 2009-08-12 13:36 ` rguenth at gcc dot gnu dot org 2009-08-12 13:37 ` rguenth at gcc dot gnu dot org 2009-08-24 1:05 ` mmitchel at gcc dot gnu dot org 2009-10-15 12:58 ` [Bug middle-end/41043] " jakub at gcc dot gnu dot org 2010-01-02 21:02 ` fxcoudert at gcc dot gnu dot org 2010-02-16 10:27 ` rguenth at gcc dot gnu dot org 2010-02-16 13:00 ` rguenth at gcc dot gnu dot org 2010-02-16 13:18 ` rguenth at gcc dot gnu dot org 2010-02-16 13:22 ` dominiq at lps dot ens dot fr 2010-02-16 15:06 ` rguenth at gcc dot gnu dot org 2010-02-16 16:12 ` rguenth at gcc dot gnu dot org 2010-02-16 16:12 ` [Bug middle-end/41043] [4.4 " rguenth at gcc dot gnu dot org 2010-02-16 17:06 ` dominiq at lps dot ens dot fr 2010-02-17 9:40 ` rguenth at gcc dot gnu dot org 2010-02-21 12:49 ` dominiq at lps dot ens dot fr 2010-02-21 12:50 ` rguenther at suse dot de 2010-04-08 9:23 ` rguenth at gcc dot gnu dot org 2010-04-30 9:01 ` jakub 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-41043-12313@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).