public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/18375] New: ICE when compiling spec benchmark fma3d
@ 2004-11-08 14:16 lei at il dot ibm dot com
  2004-11-08 14:21 ` [Bug fortran/18375] " pinskia at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: lei at il dot ibm dot com @ 2004-11-08 14:16 UTC (permalink / raw)
  To: gcc-bugs

% gfortran --version
GNU Fortran 95 (GCC 4.0.0 20041031 (experimental))

[later versions fail too]

% gfortran -c fma1.f90 
*** malloc[29746]: Deallocation of a pointer not malloced: 0x42532c00; This
could be a double free(), or free() called with the middle of an all
ocated block; Try setting environment variable MallocHelp to see tools to help debug

[many more identical messages skipped]

fma1.f90: In function 'allocate_storage':
fma1.f90:1844: internal compiler error: Bus error
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

-- 
           Summary: ICE when compiling spec benchmark fma3d
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: lei at il dot ibm dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: powerpc-apple-darwin
  GCC host triplet: powerpc-apple-darwin
GCC target triplet: powerpc-apple-darwin


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18375


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug fortran/18375] ICE when compiling spec benchmark fma3d
  2004-11-08 14:16 [Bug fortran/18375] New: ICE when compiling spec benchmark fma3d lei at il dot ibm dot com
@ 2004-11-08 14:21 ` pinskia at gcc dot gnu dot org
  2004-11-10 19:05 ` pbrook at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-08 14:21 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-11-08 14:21 -------
I see the same problem with the testcase: gfortran.dg/der_array_1.f90.

*** malloc[11328]: Deallocation of a pointer not malloced: 0x421088c0; This could be a double free(), 
or free() called with the middle of an allocated block; Try setting environment variable MallocHelp to see 
tools to help debug
*** malloc[11328]: Deallocation of a pointer not malloced: 0x42108b40; This could be a double free(), 
or free() called with the middle of an allocated block; Try setting environment variable MallocHelp to see 
tools to help debug
*** malloc[11328]: Deallocation of a pointer not malloced: 0x421088c0; This could be a double free(), 
or free() called with the middle of an allocated block; Try setting environment variable MallocHelp to see 
tools to help debug
 In file /Users/pinskia/src/local/gcc/gcc/testsuite/gfortran.dg/der_array_1.f90:32:  Internal Error at (1):
 free_expr0(): Bad expr type

I tried to figure out where the problem was but I could not.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|0000-00-00 00:00:00         |2004-11-08 14:21:42
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18375


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug fortran/18375] ICE when compiling spec benchmark fma3d
  2004-11-08 14:16 [Bug fortran/18375] New: ICE when compiling spec benchmark fma3d lei at il dot ibm dot com
  2004-11-08 14:21 ` [Bug fortran/18375] " pinskia at gcc dot gnu dot org
@ 2004-11-10 19:05 ` pbrook at gcc dot gnu dot org
  2004-11-10 20:05 ` cvs-commit at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pbrook at gcc dot gnu dot org @ 2004-11-10 19:05 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2004-11-08 14:21:42         |2004-11-10 19:05:28
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18375


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug fortran/18375] ICE when compiling spec benchmark fma3d
  2004-11-08 14:16 [Bug fortran/18375] New: ICE when compiling spec benchmark fma3d lei at il dot ibm dot com
  2004-11-08 14:21 ` [Bug fortran/18375] " pinskia at gcc dot gnu dot org
  2004-11-10 19:05 ` pbrook at gcc dot gnu dot org
@ 2004-11-10 20:05 ` cvs-commit at gcc dot gnu dot org
  2004-11-10 20:26 ` pbrook at gcc dot gnu dot org
  2004-11-10 20:28 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-11-10 20:05 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-11-10 20:04 -------
Subject: Bug 18375

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	pbrook@gcc.gnu.org	2004-11-10 20:03:23

Modified files:
	gcc/fortran    : ChangeLog trans-expr.c trans-io.c 

Log message:
	PR fortran/18375
	* trans-expr.c (gfc_trans_subarray_assign): Free shape before ss.
	* trans-io.c (transfer_array_component): Ditto.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.diff?cvsroot=gcc&r1=1.254&r2=1.255
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/trans-expr.c.diff?cvsroot=gcc&r1=1.31&r2=1.32
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/trans-io.c.diff?cvsroot=gcc&r1=1.23&r2=1.24



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18375


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug fortran/18375] ICE when compiling spec benchmark fma3d
  2004-11-08 14:16 [Bug fortran/18375] New: ICE when compiling spec benchmark fma3d lei at il dot ibm dot com
                   ` (2 preceding siblings ...)
  2004-11-10 20:05 ` cvs-commit at gcc dot gnu dot org
@ 2004-11-10 20:26 ` pbrook at gcc dot gnu dot org
  2004-11-10 20:28 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pbrook at gcc dot gnu dot org @ 2004-11-10 20:26 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pbrook at gcc dot gnu dot org  2004-11-10 20:26 -------
Fixed. 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18375


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug fortran/18375] ICE when compiling spec benchmark fma3d
  2004-11-08 14:16 [Bug fortran/18375] New: ICE when compiling spec benchmark fma3d lei at il dot ibm dot com
                   ` (3 preceding siblings ...)
  2004-11-10 20:26 ` pbrook at gcc dot gnu dot org
@ 2004-11-10 20:28 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-10 20:28 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.0.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18375


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-11-10 20:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-08 14:16 [Bug fortran/18375] New: ICE when compiling spec benchmark fma3d lei at il dot ibm dot com
2004-11-08 14:21 ` [Bug fortran/18375] " pinskia at gcc dot gnu dot org
2004-11-10 19:05 ` pbrook at gcc dot gnu dot org
2004-11-10 20:05 ` cvs-commit at gcc dot gnu dot org
2004-11-10 20:26 ` pbrook at gcc dot gnu dot org
2004-11-10 20:28 ` pinskia at gcc dot gnu dot 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).