public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/32222] New: [gfortran, regression] ICE in gfc_trans_assignment_1
@ 2007-06-05 16:08 martin at mpa-garching dot mpg dot de
2007-06-05 17:40 ` [Bug fortran/32222] [4.3 Regression] " burnus at gcc dot gnu dot org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: martin at mpa-garching dot mpg dot de @ 2007-06-05 16:08 UTC (permalink / raw)
To: gcc-bugs
Current mainline gfortran ICEs on the following code:
module splinemod
implicit none
integer, parameter :: dl = KIND(1.d0)
Type lSamples
integer l(10)
end Type lSamples
end module splinemod
subroutine InterpolateClArr(lSet)
use splinemod
type (lSamples), intent(in) :: lSet
real(dl) xl(10)
xl = real(lSet%l,dl)
end subroutine InterpolateClArr
/scratch/martin/cleanls/CAMB>gfortran -v -c test.F90
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: /scratch/martin/gcc/configure
--prefix=/afs/mpa/data/martin/ugcc --enable-languages=c++,fortran
--enable-checking=release
Thread model: posix
gcc version 4.3.0 20070605 (experimental)
/afs/mpa/data/martin/ugcc/libexec/gcc/i686-pc-linux-gnu/4.3.0/cc1 -E
-lang-fortran -traditional-cpp -D_LANGUAGE_FORTRAN -quiet -v test.F90
-mtune=generic -o /tmp/ccdbfKTt.f95
ignoring nonexistent directory
"/afs/mpa/data/martin/ugcc/lib/gcc/i686-pc-linux-gnu/4.3.0/../../../../i686-pc-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
/usr/local/include
/afs/mpa/data/martin/ugcc/include
/afs/mpa/data/martin/ugcc/lib/gcc/i686-pc-linux-gnu/4.3.0/include
/afs/mpa/data/martin/ugcc/lib/gcc/i686-pc-linux-gnu/4.3.0/include-fixed
/usr/include
End of search list.
/afs/mpa/data/martin/ugcc/libexec/gcc/i686-pc-linux-gnu/4.3.0/f951
/tmp/ccdbfKTt.f95 -ffree-form -quiet -dumpbase test.F90 -mtune=generic -auxbase
test -version -fpreprocessed -fintrinsic-modules-path
/afs/mpa/data/martin/ugcc/lib/gcc/i686-pc-linux-gnu/4.3.0/finclude -o
/tmp/ccGDbuqQ.s
GNU F95 version 4.3.0 20070605 (experimental) (i686-pc-linux-gnu)
compiled by GNU C version 4.3.0 20070605 (experimental), GMP version
4.2.1, MPFR version 2.2.0.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
test.F90: In function 'interpolateclarr':
test.F90:9: internal compiler error: in gfc_trans_assignment_1, at
fortran/trans-expr.c:3877
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
--
Summary: [gfortran, regression] ICE in gfc_trans_assignment_1
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: martin at mpa-garching dot mpg dot de
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=32222
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/32222] [4.3 Regression] ICE in gfc_trans_assignment_1
2007-06-05 16:08 [Bug fortran/32222] New: [gfortran, regression] ICE in gfc_trans_assignment_1 martin at mpa-garching dot mpg dot de
@ 2007-06-05 17:40 ` burnus at gcc dot gnu dot org
2007-06-08 8:04 ` fxcoudert at gcc dot gnu dot org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: burnus at gcc dot gnu dot org @ 2007-06-05 17:40 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from burnus at gcc dot gnu dot org 2007-06-05 17:40 -------
Fails in gfc_trans_assignment_1 with:
gcc_assert (lse.ss == gfc_ss_terminator
&& rse.ss == gfc_ss_terminator);
Works with: 2007-06-04-r125305
Fails with: 2007-06-05-r125327
The only Fortran patch (but "tree tmp;"->"tree tmp =NULL_TREE;") in this time
is:
r125316 | fxcoudert | 2007-06-04 22:59:49 +0200 (Mo, 04 Jun 2007) | 31 lines
2007-06-04 Lee Millward <lee.millward@codesourcery.com>
http://gcc.gnu.org/ml/gcc-cvs/2007-06/msg00072.html
Could you have a look?
--
burnus at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |fxcoudert at gcc dot gnu dot
| |org, lmillward at gcc dot
| |gnu dot org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
GCC build triplet|i686-pc-linux-gnu |
GCC host triplet|i686-pc-linux-gnu |
GCC target triplet|i686-pc-linux-gnu |
Last reconfirmed|0000-00-00 00:00:00 |2007-06-05 17:40:04
date| |
Summary|[gfortran, regression] ICE |[4.3 Regression] ICE in
|in gfc_trans_assignment_1 |gfc_trans_assignment_1
Target Milestone|--- |4.3.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32222
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/32222] [4.3 Regression] ICE in gfc_trans_assignment_1
2007-06-05 16:08 [Bug fortran/32222] New: [gfortran, regression] ICE in gfc_trans_assignment_1 martin at mpa-garching dot mpg dot de
2007-06-05 17:40 ` [Bug fortran/32222] [4.3 Regression] " burnus at gcc dot gnu dot org
@ 2007-06-08 8:04 ` fxcoudert at gcc dot gnu dot org
2007-06-29 18:39 ` mmitchel at gcc dot gnu dot org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2007-06-08 8:04 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from fxcoudert at gcc dot gnu dot org 2007-06-08 08:04 -------
(In reply to comment #1)
> r125316 | fxcoudert | 2007-06-04 22:59:49 +0200 (Mo, 04 Jun 2007) | 31 lines
> 2007-06-04 Lee Millward <lee.millward@codesourcery.com>
> http://gcc.gnu.org/ml/gcc-cvs/2007-06/msg00072.html
Patch reverted, bug assigned to Lee so that we don't loose track of it when he
reworks the patch.
--
fxcoudert at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |lmillward at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32222
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/32222] [4.3 Regression] ICE in gfc_trans_assignment_1
2007-06-05 16:08 [Bug fortran/32222] New: [gfortran, regression] ICE in gfc_trans_assignment_1 martin at mpa-garching dot mpg dot de
2007-06-05 17:40 ` [Bug fortran/32222] [4.3 Regression] " burnus at gcc dot gnu dot org
2007-06-08 8:04 ` fxcoudert at gcc dot gnu dot org
@ 2007-06-29 18:39 ` mmitchel at gcc dot gnu dot org
2007-07-16 19:13 ` lmillward at gcc dot gnu dot org
2007-07-16 19:14 ` lmillward at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-06-29 18:39 UTC (permalink / raw)
To: gcc-bugs
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32222
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/32222] [4.3 Regression] ICE in gfc_trans_assignment_1
2007-06-05 16:08 [Bug fortran/32222] New: [gfortran, regression] ICE in gfc_trans_assignment_1 martin at mpa-garching dot mpg dot de
` (2 preceding siblings ...)
2007-06-29 18:39 ` mmitchel at gcc dot gnu dot org
@ 2007-07-16 19:13 ` lmillward at gcc dot gnu dot org
2007-07-16 19:14 ` lmillward at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: lmillward at gcc dot gnu dot org @ 2007-07-16 19:13 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from lmillward at gcc dot gnu dot org 2007-07-16 19:13 -------
Subject: Bug 32222
Author: lmillward
Date: Mon Jul 16 19:12:44 2007
New Revision: 126689
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126689
Log:
PR fortran/32222
PR fortran/32238
PR fortran/32242
* trans-intrinsic.c (gfc_conv_intrinsic_function_args): Adjust
to operate on a stack allocated array for the intrinsic arguments
instead of creating a TREE_LIST. Add two new parameters for the
array and the number of elements. Update all callers to allocate
an array of the correct length to pass in. Update comment.
(gfc_intrinsic_argument_list_length): New function.
(gfc_conv_intrinsic_conversion): Call it.
(gfc_conv_intrinsic_mnimax): Likewise.
(gfc_conv_intrinsic_merge): Likewise.
(gfc_conv_intrinsic_lib_function): Call it. Use new CALL_EXPR
constructors.
(gfc_conv_intrinsic_cmplx): Likewise.
(gfc_conv_intrinsic_ctime): Likewise.
(gfc_covn_intrinsic_fdate): Likewise.
(gfc_conv_intrinsic_ttynam): Likewise.
(gfc_conv_intrinsic_ishftc): Likewise.
(gfc_conv_intrinsic_index): Likewise.
(gfc_conv_intrinsic_scan): Likewise.
(gfc_conv_intrinsic_verify): Likewise.
(gfc_conv_intrinsic_trim): Likewise.
(gfc_conv_intrinsic_aint): Use new CALL_EXPR constructors.
(gfc_conv_intrinsic_exponent): Likewise.
(gfc_conv_intrinsic_bound): Likewise.
(gfc_conv_intrinsic_abs): Likewise.
(gfc_conv_intrinsic_mod): Likewise.
(gfc_conv_intrinsic_sign): Likewise.
(gfc_conv_intrinsic_len): Likewise.
(gfc_conv_intrinsic_adjust): Likewise.
(gfc_conv_intrinsic_si_kind): Likewise.
* gfortran.dg/cmplx_intrinsic_1.f90: New test.
PR fortran/32238
* gfortran.dg/pr32238.f90: New test.
PR fortran/32222
* gfortran.dg/pr32222.f90: New test.
PR fortran/32242
* gfortran.dg/pr32242.f90: New test.
Added:
trunk/gcc/testsuite/gfortran.dg/cmplx_intrinsic_1.f90
trunk/gcc/testsuite/gfortran.dg/pr32222.f90
trunk/gcc/testsuite/gfortran.dg/pr32238.f90
trunk/gcc/testsuite/gfortran.dg/pr32242.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/trans-intrinsic.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32222
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/32222] [4.3 Regression] ICE in gfc_trans_assignment_1
2007-06-05 16:08 [Bug fortran/32222] New: [gfortran, regression] ICE in gfc_trans_assignment_1 martin at mpa-garching dot mpg dot de
` (3 preceding siblings ...)
2007-07-16 19:13 ` lmillward at gcc dot gnu dot org
@ 2007-07-16 19:14 ` lmillward at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: lmillward at gcc dot gnu dot org @ 2007-07-16 19:14 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from lmillward at gcc dot gnu dot org 2007-07-16 19:14 -------
Fixed.
--
lmillward at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32222
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2007-07-16 19:14 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-05 16:08 [Bug fortran/32222] New: [gfortran, regression] ICE in gfc_trans_assignment_1 martin at mpa-garching dot mpg dot de
2007-06-05 17:40 ` [Bug fortran/32222] [4.3 Regression] " burnus at gcc dot gnu dot org
2007-06-08 8:04 ` fxcoudert at gcc dot gnu dot org
2007-06-29 18:39 ` mmitchel at gcc dot gnu dot org
2007-07-16 19:13 ` lmillward at gcc dot gnu dot org
2007-07-16 19:14 ` lmillward 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).