public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/41043]  New: [4.4/4.5 Regression] virtual memory exhausted: Cannot allocate memory
@ 2009-08-12 12:29 dominiq at lps dot ens dot fr
  2009-08-12 13:14 ` [Bug fortran/41043] " rguenth at gcc dot gnu dot org
                   ` (18 more replies)
  0 siblings, 19 replies; 29+ messages in thread
From: dominiq at lps dot ens dot fr @ 2009-08-12 12:29 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 29+ messages in thread
[parent not found: <bug-41043-4@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2014-09-11 10:58 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-12 12:29 [Bug fortran/41043] New: [4.4/4.5 Regression] virtual memory exhausted: Cannot allocate memory dominiq at lps dot ens dot fr
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
     [not found] <bug-41043-4@http.gcc.gnu.org/bugzilla/>
2010-10-01 12:02 ` jakub at gcc dot gnu.org
2011-04-16 10:41 ` jakub at gcc dot gnu.org
2011-05-23 15:31 ` rguenth at gcc dot gnu.org
2011-12-08 12:32 ` dominiq at lps dot ens.fr
2012-02-22 12:37 ` xiaoyuanbo at yeah dot net
2012-03-06 22:12 ` dominiq at lps dot ens.fr
2012-03-06 22:18 ` jakub at gcc dot gnu.org
2012-03-13 16:10 ` jakub at gcc dot gnu.org
2014-09-11 10:58 ` rguenth at gcc dot gnu.org

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).