From mboxrd@z Thu Jan 1 00:00:00 1970 From: dje@watson.ibm.com To: gcc-gnats@gcc.gnu.org Cc: john@feith.com Subject: other/4520: cselib.c hash_rtx incorrectly hashes based on rtx address Date: Wed, 10 Oct 2001 07:56:00 -0000 Message-id: <20011010144755.14575.qmail@sourceware.cygnus.com> X-SW-Source: 2001-10/msg00192.html List-Id: >Number: 4520 >Category: other >Synopsis: cselib.c hash_rtx incorrectly hashes based on rtx address >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Wed Oct 10 07:56:00 PDT 2001 >Closed-Date: >Last-Modified: >Originator: dje@watson.ibm.com >Release: 3.1 (experimental) >Organization: >Environment: powerpc-ibm-aix4.3 >Description: cselib.c hash_rtx hashes based on the address of a symbol or label instead of the contents, assuming that a symbol will be unique and only appear once. Hashing based on the address of internal GCC data structures can produce non-deterministic results. >How-To-Repeat: >Fix: Work-around error by not applying ggc_strdup() to symbols in rs6000.c which covers up the design mistake. >Release-Note: >Audit-Trail: >Unformatted: