public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/19242] New: internal compiler error: in gfc_conv_function_call, at fortran/trans-expr.c:1106
@ 2005-01-03 18:26 zeekec at mad dot scientist dot com
2005-01-03 18:27 ` [Bug fortran/19242] " zeekec at mad dot scientist dot com
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: zeekec at mad dot scientist dot com @ 2005-01-03 18:26 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2479 bytes --]
With the latest gfortran (CVS 2005-03-01 12:00 EST) I get an internal compiler
error. The code compiles fine with ifort 8.1 and NAG 5.0.
> gfortran-CVS -DGF95 -Wall -v -save-temps -c gfortran.F95
Using built-in specs.
Configured with: ../configure --prefix=/home/zeekec/local/ --program-suffix=-CVS
--enable-languages=c,c++,f95
Thread model: posix
gcc version 4.0.0 20050103 (experimental)
/home/zeekec/local/bin/../libexec/gcc/i686-pc-linux-gnu/4.0.0/cc1 -E
-traditional-cpp -D_LANGUAGE_FORTRAN -quiet -v -iprefix
/home/zeekec/local/bin/../lib/gcc/i686-pc-linux-gnu/4.0.0/ -DGF95 gfortran.F95
-mtune=pentiumpro -Wall -fpch-preprocess -o gfortran.f95
ignoring nonexistent directory
"/home/zeekec/local/bin/../lib/gcc/i686-pc-linux-gnu/4.0.0/../../../../i686-pc-linux-gnu/include"
ignoring duplicate directory
"/home/zeekec/local//lib/gcc/i686-pc-linux-gnu/4.0.0/include"
ignoring nonexistent directory
"/home/zeekec/local//lib/gcc/i686-pc-linux-gnu/4.0.0/../../../../i686-pc-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
/home/zeekec/local/bin/../lib/gcc/i686-pc-linux-gnu/4.0.0/include
/usr/local/include
/home/zeekec/local//include
/usr/include
End of search list.
/home/zeekec/local/bin/../libexec/gcc/i686-pc-linux-gnu/4.0.0/f951 gfortran.f95
-quiet -dumpbase gfortran.F95 -mtune=pentiumpro -auxbase gfortran -Wall -version
-o gfortran.s
GNU F95 version 4.0.0 20050103 (experimental) (i686-pc-linux-gnu)
compiled by GNU C version 4.0.0 20041220 (experimental).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
gfortran.F95: In function sgl2str3:
gfortran.F95:5: internal compiler error: in gfc_conv_function_call, at
fortran/trans-expr.c:1106
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
--
Summary: internal compiler error: in gfc_conv_function_call, at
fortran/trans-expr.c:1106
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: zeekec at mad dot scientist dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19242
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/19242] internal compiler error: in gfc_conv_function_call, at fortran/trans-expr.c:1106
2005-01-03 18:26 [Bug fortran/19242] New: internal compiler error: in gfc_conv_function_call, at fortran/trans-expr.c:1106 zeekec at mad dot scientist dot com
@ 2005-01-03 18:27 ` zeekec at mad dot scientist dot com
2005-01-03 19:07 ` pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: zeekec at mad dot scientist dot com @ 2005-01-03 18:27 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From zeekec at mad dot scientist dot com 2005-01-03 18:27 -------
Created an attachment (id=7867)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7867&action=view)
Test case
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19242
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/19242] internal compiler error: in gfc_conv_function_call, at fortran/trans-expr.c:1106
2005-01-03 18:26 [Bug fortran/19242] New: internal compiler error: in gfc_conv_function_call, at fortran/trans-expr.c:1106 zeekec at mad dot scientist dot com
2005-01-03 18:27 ` [Bug fortran/19242] " zeekec at mad dot scientist dot com
@ 2005-01-03 19:07 ` pinskia at gcc dot gnu dot org
2005-09-02 11:32 ` tobi at gcc dot gnu dot org
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-03 19:07 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-03 19:07 -------
Confirmed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2005-01-03 19:07:43
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19242
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/19242] internal compiler error: in gfc_conv_function_call, at fortran/trans-expr.c:1106
2005-01-03 18:26 [Bug fortran/19242] New: internal compiler error: in gfc_conv_function_call, at fortran/trans-expr.c:1106 zeekec at mad dot scientist dot com
2005-01-03 18:27 ` [Bug fortran/19242] " zeekec at mad dot scientist dot com
2005-01-03 19:07 ` pinskia at gcc dot gnu dot org
@ 2005-09-02 11:32 ` tobi at gcc dot gnu dot org
2005-09-08 18:51 ` rsandifo at gcc dot gnu dot org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: tobi at gcc dot gnu dot org @ 2005-09-02 11:32 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From tobi at gcc dot gnu dot org 2005-09-02 11:32 -------
Richard Sandiford's patch for PR15326 fixes this as well, adding the dependency,
so that we don't forget about this.
--
What |Removed |Added
----------------------------------------------------------------------------
BugsThisDependsOn| |15326
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19242
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/19242] internal compiler error: in gfc_conv_function_call, at fortran/trans-expr.c:1106
2005-01-03 18:26 [Bug fortran/19242] New: internal compiler error: in gfc_conv_function_call, at fortran/trans-expr.c:1106 zeekec at mad dot scientist dot com
` (2 preceding siblings ...)
2005-09-02 11:32 ` tobi at gcc dot gnu dot org
@ 2005-09-08 18:51 ` rsandifo at gcc dot gnu dot org
2005-09-09 15:21 ` zeekec at mad dot scientist dot com
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: rsandifo at gcc dot gnu dot org @ 2005-09-08 18:51 UTC (permalink / raw)
To: gcc-bugs
--
Bug 19242 depends on bug 15326, which changed state.
Bug 15326 Summary: ICE with assumed length character strings
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15326
What |Old Value |New Value
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19242
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/19242] internal compiler error: in gfc_conv_function_call, at fortran/trans-expr.c:1106
2005-01-03 18:26 [Bug fortran/19242] New: internal compiler error: in gfc_conv_function_call, at fortran/trans-expr.c:1106 zeekec at mad dot scientist dot com
` (3 preceding siblings ...)
2005-09-08 18:51 ` rsandifo at gcc dot gnu dot org
@ 2005-09-09 15:21 ` zeekec at mad dot scientist dot com
2005-09-18 19:53 ` tkoenig at gcc dot gnu dot org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: zeekec at mad dot scientist dot com @ 2005-09-09 15:21 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From zeekec at mad dot scientist dot com 2005-09-09 15:21 -------
Indeed, PR15326, seems to have fixed this. Changing to fixed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19242
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/19242] internal compiler error: in gfc_conv_function_call, at fortran/trans-expr.c:1106
2005-01-03 18:26 [Bug fortran/19242] New: internal compiler error: in gfc_conv_function_call, at fortran/trans-expr.c:1106 zeekec at mad dot scientist dot com
` (4 preceding siblings ...)
2005-09-09 15:21 ` zeekec at mad dot scientist dot com
@ 2005-09-18 19:53 ` tkoenig at gcc dot gnu dot org
2005-09-18 20:10 ` [Bug fortran/19242] [4.0 only] " tkoenig at gcc dot gnu dot org
2005-09-18 20:27 ` pinskia at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: tkoenig at gcc dot gnu dot org @ 2005-09-18 19:53 UTC (permalink / raw)
To: gcc-bugs
--
Bug 19242 depends on bug 15326, which changed state.
Bug 15326 Summary: [4.0 only] ICE with assumed length character strings
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15326
What |Old Value |New Value
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19242
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/19242] [4.0 only] internal compiler error: in gfc_conv_function_call, at fortran/trans-expr.c:1106
2005-01-03 18:26 [Bug fortran/19242] New: internal compiler error: in gfc_conv_function_call, at fortran/trans-expr.c:1106 zeekec at mad dot scientist dot com
` (5 preceding siblings ...)
2005-09-18 19:53 ` tkoenig at gcc dot gnu dot org
@ 2005-09-18 20:10 ` tkoenig at gcc dot gnu dot org
2005-09-18 20:27 ` pinskia at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: tkoenig at gcc dot gnu dot org @ 2005-09-18 20:10 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From tkoenig at gcc dot gnu dot org 2005-09-18 20:10 -------
Not yet fixed in 4.0:
$ cat gfortran.f95
# 1 "gfortran.F95"
# 1 "<built-in>"
# 1 "<command line>"
# 1 "gfortran.F95"
module gfortrantest
contains
function int2str(i) result(str)
integer, intent(in) :: i
character(len=(int(log10(real(max(abs(i),1))))+2)) :: str
character(len=20) :: frmt
write(frmt, "(A,I10,A)") "(I",(int(log10(real(max(abs(i),1))))+2),")"
write(str, frmt) i
end function
function sgl2str3(x,frmt,n) result(str)
real, intent(in) :: x(:)
integer, intent(in) :: n
character(len=*), intent(in) :: frmt
character(len=n*size(x)) :: str
write(str,"(" // int2str(size(x)) // "(" // frmt // "))") x
end function
end module
$ gfortran gfortran.f95
gfortran.F95: In function 'sgl2str3':
gfortran.F95:5: internal compiler error: in gfc_conv_function_call, at
fortran/trans-expr.c:1108
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
$ gfortran -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../gcc-4.0/configure --prefix=/home/ig25
--enable-languages=c,fortran
Thread model: posix
gcc version 4.0.2 20050917 (prerelease)
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Known to fail| |4.0.2
Known to work| |4.1.0
Resolution|FIXED |
Summary|internal compiler error: in |[4.0 only] internal compiler
|gfc_conv_function_call, at |error: in
|fortran/trans-expr.c:1106 |gfc_conv_function_call, at
| |fortran/trans-expr.c:1106
Target Milestone|--- |4.0.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19242
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/19242] [4.0 only] internal compiler error: in gfc_conv_function_call, at fortran/trans-expr.c:1106
2005-01-03 18:26 [Bug fortran/19242] New: internal compiler error: in gfc_conv_function_call, at fortran/trans-expr.c:1106 zeekec at mad dot scientist dot com
` (6 preceding siblings ...)
2005-09-18 20:10 ` [Bug fortran/19242] [4.0 only] " tkoenig at gcc dot gnu dot org
@ 2005-09-18 20:27 ` pinskia at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-18 20:27 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-18 20:27 -------
All of these are fixed in 4.1.0. Since 4.0.2 is the last 4.0 release before a 4.1.0 release will be made,
4.0.2 and 4.0.1 were special releases for gfrotran. 4.0.3 should be a normal release for GCC and
gfortran in that regressions are the only changes.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution| |FIXED
Bug 19242 depends on bug 15326, which changed state.
Bug 15326 Summary: [4.0 only] ICE with assumed length character strings
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15326
What |Old Value |New Value
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXEDBug 19242 depends on bug 15326, which changed state.
Bug 15326 Summary: [4.0 only] ICE with assumed length character strings
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15326
What |Old Value |New Value
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19242
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2005-09-18 20:27 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-03 18:26 [Bug fortran/19242] New: internal compiler error: in gfc_conv_function_call, at fortran/trans-expr.c:1106 zeekec at mad dot scientist dot com
2005-01-03 18:27 ` [Bug fortran/19242] " zeekec at mad dot scientist dot com
2005-01-03 19:07 ` pinskia at gcc dot gnu dot org
2005-09-02 11:32 ` tobi at gcc dot gnu dot org
2005-09-08 18:51 ` rsandifo at gcc dot gnu dot org
2005-09-09 15:21 ` zeekec at mad dot scientist dot com
2005-09-18 19:53 ` tkoenig at gcc dot gnu dot org
2005-09-18 20:10 ` [Bug fortran/19242] [4.0 only] " tkoenig at gcc dot gnu dot org
2005-09-18 20:27 ` 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).