This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/33297] SIZE intrinsic crashes gfortran on invalid usage

------- Comment #1 from fxcoudert at gcc dot gnu dot org  2007-09-04 10:42 -------
  integer array(5), i1, i2
  print *, size(array,(/i1,i2/))

#0  fancy_abort (file=0xb1b960 "../../../trunk2/gcc/fortran/trans-expr.c",
    line=2857, function=0xb1c1e0 "gfc_conv_array_constructor_expr")
    at ../../../trunk2/gcc/diagnostic.c:654
#1  0x0000000000494610 in gfc_conv_expr (se=0x7fffe7913840, expr=0xea5c60)
    at ../../../trunk2/gcc/fortran/trans-expr.c:2857
#2  0x0000000000495a68 in gfc_conv_expr_val (se=0x7fffe7913840, expr=0xb29)
    at ../../../trunk2/gcc/fortran/trans-expr.c:3361
#3  0x0000000000495b19 in gfc_conv_expr_type (se=0xb1b960, expr=0xb29,
    type=0xb1c1e0) at ../../../trunk2/gcc/fortran/trans-expr.c:3375
#4  0x000000000049c7e4 in gfc_conv_intrinsic_size (se=0x7fffe7913cb0,
    expr=0xea5540) at ../../../trunk2/gcc/fortran/trans-intrinsic.c:2833


fxcoudert at gcc dot gnu dot org changed:

           What    |Removed                     |Added
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   GCC host triplet|2.6.20-16-generic           |
 GCC target triplet|x86_64-linux-gnu            |
           Keywords|                            |ice-on-invalid-code
      Known to fail|                            |4.1.2 4.3.0
   Last reconfirmed|0000-00-00 00:00:00         |2007-09-04 10:42:06
               date|                            |

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]