public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/66528] New: unbalanced IF/ENDIF with -fmax-errors=1 causes invalid free
@ 2015-06-13  8:32 tkoenig at gcc dot gnu.org
  2015-06-13 10:51 ` [Bug fortran/66528] " tkoenig at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: tkoenig at gcc dot gnu.org @ 2015-06-13  8:32 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 66528
           Summary: unbalanced IF/ENDIF with -fmax-errors=1 causes invalid
                    free
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: tkoenig at gcc dot gnu.org
  Target Milestone: ---

May be related to PR 66175

ig25@linux-fd1f:~/Krempel/Tree> gfortran -fmax-errors=1 unbal.f90 
unbal.f90:5:5:

   end
     1
Error: END IF-Anweisung bei (1) erwartet
Kompilierung wegen -fmax-errors=1 beendet.
*** Error in `/home/ig25/lib/gcc/x86_64-unknown-linux-gnu/6.0.0/f951': free():
invalid pointer: 0x0000000001cfefa8 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x7364f)[0x7fb028db564f]
/lib64/libc.so.6(+0x78eae)[0x7fb028dbaeae]
/home/ig25/lib/gcc/x86_64-unknown-linux-gnu/6.0.0/f951(_Z17diagnostic_finishP18diagnostic_context+0x5c)[0x126b11c]
/home/ig25/lib/gcc/x86_64-unknown-linux-gnu/6.0.0/f951(_Z30diagnostic_action_after_outputP18diagnostic_context12diagnostic_t+0x1a2)[0x126bf12]
/home/ig25/lib/gcc/x86_64-unknown-linux-gnu/6.0.0/f951(_Z15gfc_error_checkv+0x6c)[0x63fb0c]
/home/ig25/lib/gcc/x86_64-unknown-linux-gnu/6.0.0/f951[0x687e48]
/home/ig25/lib/gcc/x86_64-unknown-linux-gnu/6.0.0/f951[0x689741]
/home/ig25/lib/gcc/x86_64-unknown-linux-gnu/6.0.0/f951[0x68ba0d]
/home/ig25/lib/gcc/x86_64-unknown-linux-gnu/6.0.0/f951[0x68c431]
/home/ig25/lib/gcc/x86_64-unknown-linux-gnu/6.0.0/f951[0x68ca07]
/home/ig25/lib/gcc/x86_64-unknown-linux-gnu/6.0.0/f951(_Z14gfc_parse_filev+0x848)[0x68e168]
/home/ig25/lib/gcc/x86_64-unknown-linux-gnu/6.0.0/f951[0x6ce643]
/home/ig25/lib/gcc/x86_64-unknown-linux-gnu/6.0.0/f951[0xbca44f]
/home/ig25/lib/gcc/x86_64-unknown-linux-gnu/6.0.0/f951(_ZN6toplev4mainEiPPc+0x73d)[0x61033d]
/home/ig25/lib/gcc/x86_64-unknown-linux-gnu/6.0.0/f951(main+0x2a)[0x6126ea]
/lib64/libc.so.6(__libc_start_main+0xf5)[0x7fb028d63be5]
/home/ig25/lib/gcc/x86_64-unknown-linux-gnu/6.0.0/f951[0x612ad5]
======= Memory map: ========


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-06-24 22:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-13  8:32 [Bug fortran/66528] New: unbalanced IF/ENDIF with -fmax-errors=1 causes invalid free tkoenig at gcc dot gnu.org
2015-06-13 10:51 ` [Bug fortran/66528] " tkoenig at gcc dot gnu.org
2015-06-13 11:18 ` [Bug fortran/66528] [6 Regression] " dominiq at lps dot ens.fr
2015-06-14 16:25 ` manu at gcc dot gnu.org
2015-06-17 16:21 ` tkoenig at gcc dot gnu.org
2015-06-24 22:17 ` manu at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).