public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/46825] New: ICE compiling modules with MinGW build dated 20101204
@ 2010-12-06 16:50 michael.a.richmond at nasa dot gov
2010-12-06 17:00 ` [Bug fortran/46825] " kargl at gcc dot gnu.org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: michael.a.richmond at nasa dot gov @ 2010-12-06 16:50 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46825
Summary: ICE compiling modules with MinGW build dated 20101204
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: michael.a.richmond@nasa.gov
Host: i686-pc-mingw32
Target: i686-pc-mingw32
Build: i686-pc-mingw32
When I compile the following modules using
ftp://ftp.equation.com/gcc/gcc-4.6-20101204-32.exe:
MODULE GENFILE_TYPE
IMPLICIT NONE
TYPE VECTOR
PRIVATE
INTEGER :: FROM_ATOM
END TYPE VECTOR
TYPE GENFILE
PRIVATE
INTEGER :: VECTOR_COUNT
TYPE(VECTOR), DIMENSION(:), POINTER :: VECTORS
END TYPE GENFILE
CONTAINS
FUNCTION GET_VECTORS(GF)
TYPE(GENFILE), INTENT(IN) :: GF
TYPE(VECTOR), DIMENSION(GF%VECTOR_COUNT) :: GET_VECTORS
GET_VECTORS = GF%VECTORS
END FUNCTION GET_VECTORS
END MODULE GENFILE_TYPE
MODULE ENERGY_FUNCTION
USE GENFILE_TYPE
IMPLICIT NONE
TYPE(GENFILE), PRIVATE :: MY_GENFILE
TYPE(VECTOR), DIMENSION(:), ALLOCATABLE, PRIVATE :: VECTORS
CONTAINS
SUBROUTINE ENERGY_FUNCTION_SPECIAL_INIT()
VECTORS = GET_VECTORS(MY_GENFILE)
END SUBROUTINE ENERGY_FUNCTION_SPECIAL_INIT
END MODULE ENERGY_FUNCTION
I get the message:
g.f90: In function 'energy_function_special_init':
g.f90:30: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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug fortran/46825] ICE compiling modules with MinGW build dated 20101204
2010-12-06 16:50 [Bug fortran/46825] New: ICE compiling modules with MinGW build dated 20101204 michael.a.richmond at nasa dot gov
@ 2010-12-06 17:00 ` kargl at gcc dot gnu.org
2010-12-06 17:04 ` michael.a.richmond at nasa dot gov
2010-12-27 0:10 ` dfranke at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: kargl at gcc dot gnu.org @ 2010-12-06 17:00 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46825
kargl at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kargl at gcc dot gnu.org
--- Comment #1 from kargl at gcc dot gnu.org 2010-12-06 17:00:18 UTC ---
Michael,
What is the command line that you used? It compiles
on x86_64-*-freebsd.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug fortran/46825] ICE compiling modules with MinGW build dated 20101204
2010-12-06 16:50 [Bug fortran/46825] New: ICE compiling modules with MinGW build dated 20101204 michael.a.richmond at nasa dot gov
2010-12-06 17:00 ` [Bug fortran/46825] " kargl at gcc dot gnu.org
@ 2010-12-06 17:04 ` michael.a.richmond at nasa dot gov
2010-12-27 0:10 ` dfranke at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: michael.a.richmond at nasa dot gov @ 2010-12-06 17:04 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46825
--- Comment #2 from Michael Richmond <michael.a.richmond at nasa dot gov> 2010-12-06 17:04:06 UTC ---
I used gfortran -c g.f90
I did not see this bug in any other port dated 20101204. I did not see it in
any MinGW port prior to 20101204.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug fortran/46825] ICE compiling modules with MinGW build dated 20101204
2010-12-06 16:50 [Bug fortran/46825] New: ICE compiling modules with MinGW build dated 20101204 michael.a.richmond at nasa dot gov
2010-12-06 17:00 ` [Bug fortran/46825] " kargl at gcc dot gnu.org
2010-12-06 17:04 ` michael.a.richmond at nasa dot gov
@ 2010-12-27 0:10 ` dfranke at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: dfranke at gcc dot gnu.org @ 2010-12-27 0:10 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46825
Daniel Franke <dfranke at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |dfranke at gcc dot gnu.org
Resolution| |DUPLICATE
--- Comment #3 from Daniel Franke <dfranke at gcc dot gnu.org> 2010-12-27 00:09:46 UTC ---
Closing. Please see comments #1 to #4 in PR46917 for further details.
Please reopen if you feel that this PR should live on.
*** This bug has been marked as a duplicate of bug 46917 ***
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-12-27 0:10 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-06 16:50 [Bug fortran/46825] New: ICE compiling modules with MinGW build dated 20101204 michael.a.richmond at nasa dot gov
2010-12-06 17:00 ` [Bug fortran/46825] " kargl at gcc dot gnu.org
2010-12-06 17:04 ` michael.a.richmond at nasa dot gov
2010-12-27 0:10 ` dfranke 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).