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] |
Hello! libgomp.fortran/threadprivate3.f90 segfaults on gcc-4.3 branch in alpha_expand_mov [1]. The problem is with force_const_mem that returns NULL_RTX when targetm.cannot_force_const_mem triggers, due to: /* Primarily this is required for TLS symbols, but given that our move patterns *ought* to be able to handle any symbol at any time, we should never be spilling symbolic operands to the constant pool, ever. */ Attached patch returns failse in this case, so we expand default movdi pattern then. 2009-02-26 Uros Bizjak <ubizjak@gmail.com> * config/alpha.h (alpha_expand_mov): Return false if force_const_mem returns NULL_RTX. Patch was bootstrapped and regression tested on alphaev56-unknown-linux-gnu. I will commit this patch to mainline (the bug doesn't trigger there) and gcc-4.3 branch shortly. Uros.
Attachment:
a.diff.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |