public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/13434] New: [gfortran] ICE in gimplify.c (maxval with mask)
@ 2003-12-18 18:13 tow21 at cam dot ac dot uk
  2003-12-18 18:57 ` [Bug fortran/13434] " pinskia at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: tow21 at cam dot ac dot uk @ 2003-12-18 18:13 UTC (permalink / raw)
  To: gcc-bugs

(tree-ssa snapshot, 20031217)

parabrisas% cat test2.f

      subroutine all_phi
      implicit none
      
      integer maxlm
      integer, parameter :: maxphi=100

      integer :: ilm(maxphi)
      logical :: within(maxphi)

      maxlm = maxval( ilm , mask=within )

      end subroutine all_phi

parabrisas% gfortran -xf95 -c test2.f
test2.f: In function `all_phi':

test2.f:11: internal compiler error: tree check: expected class 't', have 'r'
(array_ref) in create_tmp_var, at gimplify.c:342
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

-- 
           Summary: [gfortran] ICE in gimplify.c (maxval with mask)
           Product: gcc
           Version: tree-ssa
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tow21 at cam dot ac dot uk
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13434


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug fortran/13434] [gfortran] ICE in gimplify.c (maxval with mask)
  2003-12-18 18:13 [Bug fortran/13434] New: [gfortran] ICE in gimplify.c (maxval with mask) tow21 at cam dot ac dot uk
@ 2003-12-18 18:57 ` pinskia at gcc dot gnu dot org
  2003-12-19  7:36 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-18 18:57 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-12-18 18:51 -------
I do not know if this is the gimplifier's fault or the fortran's front-end's.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
   Target Milestone|---                         |tree-ssa


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13434


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug fortran/13434] [gfortran] ICE in gimplify.c (maxval with mask)
  2003-12-18 18:13 [Bug fortran/13434] New: [gfortran] ICE in gimplify.c (maxval with mask) tow21 at cam dot ac dot uk
  2003-12-18 18:57 ` [Bug fortran/13434] " pinskia at gcc dot gnu dot org
@ 2003-12-19  7:36 ` pinskia at gcc dot gnu dot org
  2003-12-31 15:10 ` cvs-commit at gcc dot gnu dot org
  2003-12-31 15:41 ` pbrook at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-19  7:36 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-12-19 07:26 -------
Confirmed but I get a different ICE:

#0  build (code=COND_EXPR, tt=0x36) at /Volumes/UFS_Partition/pinskia/src/gccssa/src/gcc/
tree.c:2346
#1  0x00064f30 in gfc_conv_intrinsic_minmaxval (se=0x3, expr=0x36, op=4980736) at /
Volumes/UFS_Partition/pinskia/src/gccssa/src/gcc/fortran/trans-intrinsic.c:1634
#2  0x00064f30 in gfc_conv_intrinsic_minmaxval (se=0x3, expr=0x36, op=4980736) at /
Volumes/UFS_Partition/pinskia/src/gccssa/src/gcc/fortran/trans-intrinsic.c:1634
#3  0x00065cf4 in gfc_conv_intrinsic_function (se=0x1e0, expr=0x3) at /Volumes/UFS_Partition/
pinskia/src/gccssa/src/gcc/fortran/trans-intrinsic.c:2813
#4  0x00053b18 in gfc_conv_function_expr (se=0xbffff790, expr=0x1) at /Volumes/UFS_Partition/
pinskia/src/gccssa/src/gcc/fortran/trans-expr.c:1234
#5  0x0005203c in gfc_conv_expr (se=0xbffff790, expr=0x41b01cf0) at /Volumes/UFS_Partition/
pinskia/src/gccssa/src/gcc/fortran/trans-expr.c:1378
#6  0x0005493c in gfc_trans_assignment (expr1=0x41b01b80, expr2=0x41b01cf0) at /Volumes/
UFS_Partition/pinskia/src/gccssa/src/gcc/fortran/trans-expr.c:1786
#7  0x000494f8 in gfc_trans_code (code=0x41b02040) at /Volumes/UFS_Partition/pinskia/src/
gccssa/src/gcc/fortran/trans.c:464
#8  0x0004d124 in gfc_generate_function_code (ns=0x4200a400) at /Volumes/UFS_Partition/
pinskia/src/gccssa/src/gcc/fortran/trans-decl.c:1850
#9  0x000495e8 in gfc_generate_code (ns=0x4200a400) at /Volumes/UFS_Partition/pinskia/src/
gccssa/src/gcc/fortran/trans.c:625
#10 0x0002e378 in gfc_parse_file () at /Volumes/UFS_Partition/pinskia/src/gccssa/src/gcc/
fortran/parse.c:2482
#11 0x00045f60 in gfc_be_parse_file (set_yydebug=3851479) at /Volumes/UFS_Partition/pinskia/
src/gccssa/src/gcc/fortran/f95-lang.c:284
#12 0x002df544 in toplev_main (argc=1107338240, argv=0x41b012f0) at /Volumes/
UFS_Partition/pinskia/src/gccssa/src/gcc/toplev.c:1864
#13 0x000026f0 in _start (argc=11, argv=0xbffffcf8, envp=0xbffffd28) at /SourceCache/Csu/Csu
-46/crt.c:267

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2003-12-19 07:26:15
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13434


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug fortran/13434] [gfortran] ICE in gimplify.c (maxval with mask)
  2003-12-18 18:13 [Bug fortran/13434] New: [gfortran] ICE in gimplify.c (maxval with mask) tow21 at cam dot ac dot uk
  2003-12-18 18:57 ` [Bug fortran/13434] " pinskia at gcc dot gnu dot org
  2003-12-19  7:36 ` pinskia at gcc dot gnu dot org
@ 2003-12-31 15:10 ` cvs-commit at gcc dot gnu dot org
  2003-12-31 15:41 ` pbrook at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2003-12-31 15:10 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2003-12-31 12:15 -------
Subject: Bug 13434

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	tree-ssa-20020619-branch
Changes by:	pbrook@gcc.gnu.org	2003-12-31 12:15:43

Modified files:
	gcc/fortran    : ChangeLog trans-intrinsic.c 

Log message:
	PR fortran/13434
	* trans-intrinsic.c (gfc_conv_intrinsic_minmaxval): Fixed bug in
	minval/maxval.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.2.97&r2=1.1.2.98
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/trans-intrinsic.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.2.24&r2=1.1.2.25



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13434


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug fortran/13434] [gfortran] ICE in gimplify.c (maxval with mask)
  2003-12-18 18:13 [Bug fortran/13434] New: [gfortran] ICE in gimplify.c (maxval with mask) tow21 at cam dot ac dot uk
                   ` (2 preceding siblings ...)
  2003-12-31 15:10 ` cvs-commit at gcc dot gnu dot org
@ 2003-12-31 15:41 ` pbrook at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pbrook at gcc dot gnu dot org @ 2003-12-31 15:41 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pbrook at gcc dot gnu dot org  2003-12-31 12:21 -------
Fixed. 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13434


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-12-31 12:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-18 18:13 [Bug fortran/13434] New: [gfortran] ICE in gimplify.c (maxval with mask) tow21 at cam dot ac dot uk
2003-12-18 18:57 ` [Bug fortran/13434] " pinskia at gcc dot gnu dot org
2003-12-19  7:36 ` pinskia at gcc dot gnu dot org
2003-12-31 15:10 ` cvs-commit at gcc dot gnu dot org
2003-12-31 15:41 ` pbrook 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).