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]

Re: [rtl PATCH] PR/37889 and PR/38921, wrong code motion bugs


On Thu, Feb 5, 2009 at 6:24 AM, Andreas Schwab <schwab@suse.de> wrote:
> Paolo Bonzini <bonzini@gnu.org> writes:
>
>> 2009-02-04  Paolo Bonzini  <bonzini@gnu.org>
>>           Hans-Peter Nilsson  <hp@axis.com>
>>
>>       PR rtl-optimization/37889
>>       * rtlanal.c (rtx_addr_can_trap_p_1): Add offset and size arguments.
>>       Move offset handling from PLUS to before the switch.  Use new
>>       arguments when considering SYMBOL_REFs too.
>>       (rtx_addr_can_trap_p): Pass dummy offset and size.
>>       (enum may_trap_p_flags): Remove.
>>       (may_trap_p_1): Pass size from MEM_SIZE.
>>
>>       PR rtl-optimization/38921
>>       * loop-invariant.c (find_invariant_insn): Use may_trap_or_fault_p.
>>       * rtl.h (may_trap_after_code_motion_p): Delete prototype.
>>       * rtlanal.c (may_trap_after_code_motion_p): Delete.
>>       (may_trap_p, may_trap_or_fault_p): Pass 0/1 as flags.
>
> This is causing miscompilation of the fortran compiler on ia64.
>

I saw it also:

http://gcc.gnu.org/ml/gcc-regression/2009-02/msg00007.html

I opened:

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

-- 
H.J.


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