[Bug fortran/32238] [4.3 Regression] ICE in gfc_conv_constant (where() with complex arrays)

2007-07-16 Thread lmillward at gcc dot gnu dot org


--- Comment #5 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=32238



[Bug fortran/32238] [4.3 Regression] ICE in gfc_conv_constant (where() with complex arrays)

2007-07-16 Thread lmillward at gcc dot gnu dot org


--- Comment #4 from lmillward at gcc dot gnu dot org  2007-07-16 19:13 
---
Subject: Bug 32238

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/3
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/3
* gfortran.dg/pr3.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/pr3.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=32238



[Bug fortran/32238] [4.3 Regression] ICE in gfc_conv_constant (where() with complex arrays)

2007-06-29 Thread mmitchel at gcc dot gnu dot org


-- 

mmitchel at gcc dot gnu dot org changed:

   What|Removed |Added

   Priority|P3  |P5


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



[Bug fortran/32238] [4.3 Regression] ICE in gfc_conv_constant (where() with complex arrays)

2007-06-08 Thread fxcoudert at gcc dot gnu dot org


--- Comment #3 from fxcoudert at gcc dot gnu dot org  2007-06-08 08:06 
---
Patch reverted until Lee comes back, and bug assigned to him so that he takes
care of it in the next round.


-- 

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
   Keywords|ice-on-valid-code   |
  Known to fail|4.3.0   |


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



[Bug fortran/32238] [4.3 Regression] ICE in gfc_conv_constant (where() with complex arrays)

2007-06-07 Thread pault at gcc dot gnu dot org


--- Comment #2 from pault at gcc dot gnu dot org  2007-06-08 04:57 ---
This, in fact, worked fine up until GNU Fortran (GCC) 4.3.0 20070602.

Since there were only three fortran patches in that time, I reverted each of
them and found that the culprit is r125316.

2007-06-04 Lee Millward <[EMAIL PROTECTED]>

FX, you committed this; can you fix or remove, please?

Paul


-- 

pault at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||fxcoudert at gcc dot gnu dot
   ||org


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



[Bug fortran/32238] [4.3 Regression] ICE in gfc_conv_constant (where() with complex arrays)

2007-06-06 Thread burnus at gcc dot gnu dot org


-- 

burnus at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
  GCC build triplet|386-pc-linux-gnu|
 GCC target triplet|i386-pc-linux-gnu   |
   Keywords||ice-on-valid-code
  Known to fail||4.3.0
  Known to work||4.1.3 4.2.0
   Last reconfirmed|-00-00 00:00:00 |2007-06-07 06:33:31
   date||
Summary|ICE in gfc_conv_constant|[4.3 Regression] ICE in
   |(where with complex arrays) |gfc_conv_constant (where()
   ||with complex arrays)
   Target Milestone|--- |4.3.0


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