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/46971] [4.6 Regression] [OOP] ICE on long class names
Date: Fri, 31 Dec 2010 10:08:00 -0000	[thread overview]
Message-ID: <bug-46971-4-pciEesEJ9L@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-46971-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #5 from janus at gcc dot gnu.org 2010-12-31 10:08:22 UTC ---
Author: janus
Date: Fri Dec 31 10:08:17 2010
New Revision: 168363

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=168363
Log:
2010-12-31  Janus Weil  <janus@gcc.gnu.org>

    PR fortran/46971
    * gfortran.h (gfc_hash_value): Add prototype.
    * class.c (get_unique_type_string): Check if proc_name is present and
    make sure string contains an underscore.
    (get_unique_hashed_string): New function which creates a hashed string
    if the given unique string is too long.
    (gfc_hash_value): Moved here from decl.c, renamed and simplified.
    (gfc_build_class_symbol, gfc_find_derived_vtab): Use hashed strings.
    * decl.c (hash_value): Moved to class.c.
    (gfc_match_derived_decl): Renamed 'hash_value'.


2010-12-31  Janus Weil  <janus@gcc.gnu.org>

    PR fortran/46971
    * gfortran.dg/class_33.f90: New.

Added:
    trunk/gcc/testsuite/gfortran.dg/class_33.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/class.c
    trunk/gcc/fortran/decl.c
    trunk/gcc/fortran/gfortran.h
    trunk/gcc/testsuite/ChangeLog


  parent reply	other threads:[~2010-12-31 10:08 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-15 20:59 [Bug fortran/46971] New: " tkoenig at gcc dot gnu.org
2010-12-15 21:45 ` [Bug fortran/46971] " dominiq at lps dot ens.fr
2010-12-15 21:55 ` burnus at gcc dot gnu.org
2010-12-15 22:17 ` dominiq at lps dot ens.fr
2010-12-30 13:40 ` [Bug fortran/46971] [4.6 Regression] [OOP] " janus at gcc dot gnu.org
2010-12-31 10:08 ` janus at gcc dot gnu.org [this message]
2010-12-31 10:18 ` janus 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=bug-46971-4-pciEesEJ9L@http.gcc.gnu.org/bugzilla/ \
    --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).