------- Comment #2 from burnus at gcc dot gnu dot org  2010-01-19 15:41 -------
Confirm. Backtrace:

Program received signal SIGSEGV, Segmentation fault.
0x000000000053e011 in gfc_trans_runtime_error_vararg (error=<value optimized
out>, where=0x13ea980,
    msgid=0x13ea3f0 "Index '%ld' of dimension 1 of array 'arr' below lower
bound of %ld", ap=0x7fffffffcf10)
    at fortran/trans.c:393
393           line = LOCATION_LINE (where->lb->location);
(gdb) bt
#0  0x000000000053e011 in gfc_trans_runtime_error_vararg (error=<value
optimized out>, where=0x13ea980,
    msgid=0x13ea3f0 "Index '%ld' of dimension 1 of array 'arr' below lower
bound of %ld", ap=0x7fffffffcf10)
    at fortran/trans.c:393
#1  0x000000000053e7a8 in gfc_trans_runtime_check (error=1 '\001', once=0
'\000', cond=0x2aaaab94f3f0, pblock=0x7fffffffd310, where=0x13ea980,
    msgid=0x2aaaacbb7960 "") at
/projects/tob/gcc-trunk-checkout/gcc/fortran/trans.c:466
#2  0x0000000000543f03 in gfc_conv_array_ref (se=0x7fffffffd310, ar=0x13eaa08,
sym=<value optimized out>, where=<value optimized out>)
    at fortran/trans-array.c:2576
#3  0x000000000055f491 in gfc_conv_variable (se=0x7fffffffd310, expr=0x13ea930)
at fortran/trans-expr.c:694
#4  0x000000000055ed3e in gfc_conv_expr_reference (se=0x7fffffffd310,
expr=<value optimized out>)
    at fortran/trans-expr.c:4520


-- 

burnus at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
  GCC build triplet|i686-pc-mingw32             |
   GCC host triplet|i686-pc-mingw32             |
 GCC target triplet|i686-pc-mingw32             |
           Keywords|                            |ice-on-valid-code
      Known to fail|                            |4.5.0
   Last reconfirmed|0000-00-00 00:00:00         |2010-01-19 15:41:22
               date|                            |


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

Reply via email to