https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82943

--- Comment #2 from Darrell Reich <dreich at yahoo dot com> ---
Debug backtrace
find . -iname '*.c' -type f -exec grep -inH --color ‘Error' {} \;
% gdb ~/c/work/compiler/build-gcc/gcc/f951
(gdb) break error.c:517
(gdb) run -Wall ~/c/work/workspace4/Test02/test.f90
(gdb) bt 
#0  gfc_move_error_buffer_from_to (
    buffer_from=buffer_from@entry=0x101c25320 <error_buffer>,
buffer_to=buffer_t
o@entry=0xffffc5b0)
    at ../../svn/gcc/fortran/error.c:1416
#1  0x000000010043474f in gfc_push_error (
    err=err@entry=0xffffc5b0)
    at ../../svn/gcc/fortran/error.c:1434
#2  0x0000000100471b2c in gfc_match_st_function ()
    at ../../svn/gcc/fortran/match.c:5529
#3  0x000000010048c33a in match_word_omp_simd (
    subr=<optimized out>, old_locus=0xffffc7a0,
    simd_matched=<optimized out>,
    str=<optimized out>)
    at ../../svn/gcc/fortran/parse.c:93
#4  0x000000010048fcac in match_word (
    old_locus=0xffffc7a0, subr=<optimized out>,
    str=0x0) at ../../svn/gcc/fortran/parse.c:368
#5  decode_statement ()
    at ../../svn/gcc/fortran/parse.c:366
#6  0x0000000100491b75 in next_free ()
    at ../../svn/gcc/fortran/parse.c:1225
#7  next_statement ()
    at ../../svn/gcc/fortran/parse.c:1457
#8  0x0000000100497232 in gfc_parse_file ()
    at ../../svn/gcc/fortran/parse.c:6161
#9  0x00000001004df17c in gfc_be_parse_file ()
    at ../../svn/gcc/fortran/f95-lang.c:204
#10 0x0000000100a566bd in compile_file ()
    at ../../svn/gcc/toplev.c:455
#11 0x00000001014a2a73 in do_compile ()
    at ../../svn/gcc/toplev.c:2059
#12 toplev::main (this=this@entry=0xffffcb6e,
    argc=<optimized out>, argc@entry=3,
    argv=<optimized out>, argv@entry=0xffffcbd0)
    at ../../svn/gcc/toplev.c:2194
#13 0x0000000101536223 in main (argc=3,
    argv=0xffffcbd0) at ../../svn/gcc/main.c:39

Reply via email to