public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/23323] New: Internal compiler error with CHARACTER functions and -fdefault-integer-8
@ 2005-08-11 6:59 georg dot denk at infineon dot com
2005-08-11 12:47 ` [Bug fortran/23323] " pinskia at gcc dot gnu dot org
0 siblings, 1 reply; 2+ messages in thread
From: georg dot denk at infineon dot com @ 2005-08-11 6:59 UTC (permalink / raw)
To: gcc-bugs
When compiling the following subroutine test.F:
--- snip ----
SUBROUTINE BUG(ID,PARNAM)
IMPLICIT NONE
C .. Scalar Arguments ..
CHARACTER *8 PARNAM
INTEGER ID
C .. External Functions ..
CHARACTER *8 PANAME
EXTERNAL PANAME
C
PARNAM = PANAME(ID)
C
RETURN
END
--- snap ----
using
gfortran -v -save-temps -fdefault-integer-8 -c test.F
gives an internal compiler error:
Using built-in specs.
Target: x86_64-unknown-linux-gnu
Configured with: ../../gcc-4.0.1/configure --prefix=/tmp2/denk/GCC4.0.1 --exec-p
refix=/tmp2/denk/GCC4.0.1/LINUXAMD64 --enable-languages=c,c++,f95,java --with-gm
p=/tmp2/denk/GCC4.0.1/LINUXAMD64 --with-mpfr=/tmp2/denk/GCC4.0.1
Thread model: posix
gcc version 4.0.1
/share/kruemel/tmp2/denk/GCC4.0.1/LINUXAMD64/bin/../libexec/gcc/x86_64-unknown-
linux-gnu/4.0.1/cc1 -E -traditional-cpp -D_LANGUAGE_FORTRAN -quiet -v -iprefix /
share/kruemel/tmp2/denk/GCC4.0.1/LINUXAMD64/bin/../lib/gcc/x86_64-unknown-linux-
gnu/4.0.1/ test.F -mtune=k8 -fdefault-integer-8 -fpch-preprocess -o test.f
cc1: warning: command line option "-fdefault-integer-8" is valid for F95 but not
for C
ignoring nonexistent directory "/share/kruemel/tmp2/denk/GCC4.0.1/LINUXAMD64/bin
/../lib/gcc/x86_64-unknown-linux-gnu/4.0.1/../../../../x86_64-unknown-linux-gnu/
include"
ignoring duplicate directory "/tmp2/denk/GCC4.0.1/LINUXAMD64/lib/gcc/x86_64-unkn
own-linux-gnu/4.0.1/include"
ignoring nonexistent directory "/tmp2/denk/GCC4.0.1/LINUXAMD64/lib/gcc/x86_64-un
known-linux-gnu/4.0.1/../../../../x86_64-unknown-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
/share/kruemel/tmp2/denk/GCC4.0.1/LINUXAMD64/bin/../lib/gcc/x86_64-unknown-linu
x-gnu/4.0.1/include
/usr/local/include
/tmp2/denk/GCC4.0.1/include
/usr/include
End of search list.
/share/kruemel/tmp2/denk/GCC4.0.1/LINUXAMD64/bin/../libexec/gcc/x86_64-unknown-
linux-gnu/4.0.1/f951 test.f -ffixed-form -quiet -dumpbase test.F -mtune=k8 -auxb
ase test -version -fdefault-integer-8 -o test.s
GNU F95 version 4.0.1 (x86_64-unknown-linux-gnu)
compiled by GNU C version 4.0.1.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
test.F: In function 'bug':
test.F:1: internal compiler error: in gfc_conv_string_tmp, at fortran/trans-expr
.c:782
Removing the option -fdefault-integer-8 gives a sucessful compile.
--
Summary: Internal compiler error with CHARACTER functions and -
fdefault-integer-8
Product: gcc
Version: 4.0.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: georg dot denk at infineon dot com
CC: gcc-bugs at gcc dot gnu dot org,georg dot denk at
infineon dot com
GCC build triplet: x86_64-unknown-linux-gnu
GCC host triplet: Linux kruemel 2.4.21-32.0.1.ELsmp #1 SMP Tue Jun 7
12:33:30 MEST
GCC target triplet: x86_64-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23323
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug fortran/23323] Internal compiler error with CHARACTER functions and -fdefault-integer-8
2005-08-11 6:59 [Bug fortran/23323] New: Internal compiler error with CHARACTER functions and -fdefault-integer-8 georg dot denk at infineon dot com
@ 2005-08-11 12:47 ` pinskia at gcc dot gnu dot org
0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-11 12:47 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-11 12:47 -------
*** This bug has been marked as a duplicate of 20971 ***
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23323
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-08-11 12:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-11 6:59 [Bug fortran/23323] New: Internal compiler error with CHARACTER functions and -fdefault-integer-8 georg dot denk at infineon dot com
2005-08-11 12:47 ` [Bug fortran/23323] " 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).