This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/33297] SIZE intrinsic crashes gfortran on invalid usage
- From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Sep 2007 10:42:06 -0000
- Subject: [Bug fortran/33297] SIZE intrinsic crashes gfortran on invalid usage
- References: <bug-33297-15061@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from fxcoudert at gcc dot gnu dot org 2007-09-04 10:42 -------
Confirmed:
integer array(5), i1, i2
print *, size(array,(/i1,i2/))
end
#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| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33297