public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "janus at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/45848] [OOP] ICE on invalid code in fortran/symbol.c:2410
Date: Fri, 01 Oct 2010 09:24:00 -0000	[thread overview]
Message-ID: <20101001092400.fG7jkJHscOW1yjH0B9swgyYGdJNyvTooU_fjSq-asIA@z> (raw)
In-Reply-To: <bug-45848-4@http.gcc.gnu.org/bugzilla/>

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

janus at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-invalid-code
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2010.10.01 09:24:03
                 CC|                            |janus at gcc dot gnu.org
     Ever Confirmed|0                           |1

--- Comment #1 from janus at gcc dot gnu.org 2010-10-01 09:24:03 UTC ---
Confirmed. Valgrind shows lots of errors, e.g.:

==1988== Invalid write of size 8
==1988==    at 0x519596: next_statement (parse.c:891)
==1988==    by 0x51CBB8: parse_executable (parse.c:3616)
==1988==    by 0x51BE94: parse_select_type_block (parse.c:2986)
==1988==    by 0x51CC63: parse_executable (parse.c:3678)
==1988==    by 0x51D33C: parse_progunit (parse.c:3948)
==1988==    by 0x51D13A: parse_contained (parse.c:3862)
==1988==    by 0x51D6F6: parse_module (parse.c:4118)
==1988==    by 0x51DD52: gfc_parse_file (parse.c:4345)
==1988==    by 0x562BF5: gfc_be_parse_file (f95-lang.c:242)
==1988==    by 0xA3E740: compile_file (toplev.c:939)
==1988==    by 0xA40C8E: do_compile (toplev.c:2379)
==1988==    by 0xA40D5C: toplev_main (toplev.c:2420)
==1988==  Address 0x5d81f00 is 1,856 bytes inside a block of size 2,552 free'd
==1988==    at 0x4C280BD: free (vg_replace_malloc.c:366)
==1988==    by 0x507FB1: gfc_free (misc.c:51)
==1988==    by 0x50558F: free_case (match.c:4338)
==1988==    by 0x5055B7: gfc_free_case_list (match.c:4352)
==1988==    by 0x552C5F: gfc_free_statement (st.c:133)
==1988==    by 0x5198AA: undo_new_statement (parse.c:1077)
==1988==    by 0x51A262: reject_statement (parse.c:1664)
==1988==    by 0x51BE51: parse_select_type_block (parse.c:2975)
==1988==    by 0x51CC63: parse_executable (parse.c:3678)
==1988==    by 0x51D33C: parse_progunit (parse.c:3948)
==1988==    by 0x51D13A: parse_contained (parse.c:3862)
==1988==    by 0x51D6F6: parse_module (parse.c:4118)
==1988== 
==1988== Invalid read of size 8
==1988==    at 0x51BF2B: parse_select_type_block (parse.c:3016)
==1988==    by 0x51CC63: parse_executable (parse.c:3678)
==1988==    by 0x51D33C: parse_progunit (parse.c:3948)
==1988==    by 0x51D13A: parse_contained (parse.c:3862)
==1988==    by 0x51D6F6: parse_module (parse.c:4118)
==1988==    by 0x51DD52: gfc_parse_file (parse.c:4345)
==1988==    by 0x562BF5: gfc_be_parse_file (f95-lang.c:242)
==1988==    by 0xA3E740: compile_file (toplev.c:939)
==1988==    by 0xA40C8E: do_compile (toplev.c:2379)
==1988==    by 0xA40D5C: toplev_main (toplev.c:2420)
==1988==    by 0x5F5453: main (main.c:36)
==1988==  Address 0x5d81ff0 is 2,096 bytes inside a block of size 2,552 free'd
==1988==    at 0x4C280BD: free (vg_replace_malloc.c:366)
==1988==    by 0x507FB1: gfc_free (misc.c:51)
==1988==    by 0x50558F: free_case (match.c:4338)
==1988==    by 0x5055B7: gfc_free_case_list (match.c:4352)
==1988==    by 0x552C5F: gfc_free_statement (st.c:133)
==1988==    by 0x5198AA: undo_new_statement (parse.c:1077)
==1988==    by 0x51A262: reject_statement (parse.c:1664)
==1988==    by 0x51BE51: parse_select_type_block (parse.c:2975)
==1988==    by 0x51CC63: parse_executable (parse.c:3678)
==1988==    by 0x51D33C: parse_progunit (parse.c:3948)
==1988==    by 0x51D13A: parse_contained (parse.c:3862)
==1988==    by 0x51D6F6: parse_module (parse.c:4118)


  reply	other threads:[~2010-10-01  9:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-30 23:23 [Bug fortran/45848] New: " anlauf at gmx dot de
2010-10-01  9:24 ` janus at gcc dot gnu.org [this message]
2010-10-01 13:34 ` [Bug fortran/45848] " mikael at gcc dot gnu.org
2011-01-13 16:38 ` burnus at gcc dot gnu.org
2011-01-13 16:41 ` burnus at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20101001092400.fG7jkJHscOW1yjH0B9swgyYGdJNyvTooU_fjSq-asIA@z \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).