This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATCH: Fix PR/15666: [gcc 3.4 regression]: Abort on valid code


The problem in

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

is "using DECL_ASSEMBLER_NAME for a key in cgraph." It doesn't work
when DECL_ASSEMBLER_NAME changes as it is shown in the PR since the
hash values in the cgraph hash table used for insertion and lookup
may be different for the same node. Gcc mainline doesn't have the
problem since it uses DECL_UID as key. This patch is a workaround
for gcc 3.4.


H.J.

Attachment: gcc-3.4-cgraph-1.patch
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]