public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/19546] New: Internal subroutine setting function return value gives internal compiler error
@ 2005-01-20 15:35 nburrell at unc dot edu
2005-01-20 15:42 ` [Bug fortran/19546] " pinskia at gcc dot gnu dot org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: nburrell at unc dot edu @ 2005-01-20 15:35 UTC (permalink / raw)
To: gcc-bugs
With gcc 4.0.0 20050119
on powerpc-apple-darwin7.7.0 (Dual G5 mac running Mac OS X 10.3.7)
and GCC configured with: /Users/nburrell/Desktop/gcc-4.0-cvs/gcc/configure --with-mpfr=/Users/
nburrell/usr --with-gmp=/Users/nburrell/usr --prefix=/Users/nburrell/usr --enable-
languages=c,f95
running the command gfortran -Wall -v -save-temps test_gfortran.f90 gives the following output:
nburrell@braeburn[~/isis_home/research/pvsim/test]$ gfortran -Wall -v -save-temps test_gfortran.f90
Driving: gfortran -Wall -v -save-temps test_gfortran.f90 -lgfortranbegin -lgfortran -shared-libgcc
Using built-in specs.
Configured with: /Users/nburrell/Desktop/gcc-4.0-cvs/gcc/configure --with-mpfr=/Users/nburrell/
usr --with-gmp=/Users/nburrell/usr --prefix=/Users/nburrell/usr --enable-languages=c,f95
Thread model: posix
gcc version 4.0.0 20050119 (experimental)
/Users/nburrell/usr/libexec/gcc/powerpc-apple-darwin7.7.0/4.0.0/f951 test_gfortran.f90 -fPIC
-quiet -dumpbase test_gfortran.f90 -auxbase test_gfortran -Wall -version -o test_gfortran.s
GNU F95 version 4.0.0 20050119 (experimental) (powerpc-apple-darwin7.7.0)
compiled by GNU C version 4.0.0 20050118 (experimental).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
test_gfortran.f90: In function 'set_value':
test_gfortran.f90:15: internal compiler error: in gfc_conv_variable, at fortran/trans-expr.c:317
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
where test_gfortran.f90 has the following contents:
MODULE random_standard_normal_mod
IMPLICIT NONE
CONTAINS
FUNCTION random_standard_normal()
IMPLICIT NONE
REAL :: y
REAL :: random_standard_normal
y = 4.
CALL set_value
RETURN
CONTAINS
SUBROUTINE set_value
IMPLICIT NONE
random_standard_normal = y
END SUBROUTINE set_value
END FUNCTION random_standard_normal
END MODULE random_standard_normal_mod
--
Summary: Internal subroutine setting function return value gives
internal compiler error
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: nburrell at unc dot edu
CC: gcc-bugs at gcc dot gnu dot org
GCC host triplet: powerpc-apple-darwin7.7.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19546
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-09-19 15:15 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-20 15:35 [Bug fortran/19546] New: Internal subroutine setting function return value gives internal compiler error nburrell at unc dot edu
2005-01-20 15:42 ` [Bug fortran/19546] " pinskia at gcc dot gnu dot org
2005-06-06 10:22 ` fxcoudert at gcc dot gnu dot org
2005-09-19 15:15 ` 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).