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: [PR debug/41535] reset debug insns affected by scheduling


On Tue, Oct 20, 2009 at 4:48 PM, Jakub Jelinek <jakub@redhat.com> wrote:
> On Mon, Oct 19, 2009 at 11:52:38AM -0200, Alexandre Oliva wrote:
>> for ?gcc/ChangeLog
>> from ?Alexandre Oliva ?<aoliva@redhat.com>
>>
>> ? ? ? PR debug/41739
>> ? ? ? * haifa-sched.c (try_ready): Skip debug deps updating speculation
>> ? ? ? status.
>
> FYI, this passed bootstrap/regtest on x86_64-linux, i686-linux,
> powerpc64-linux (both -m32 and -m64).

Ok.

Thanks,
Richard.

>> --- gcc/haifa-sched.c.orig ? ?2009-10-19 11:28:14.000000000 -0200
>> +++ gcc/haifa-sched.c 2009-10-19 11:33:19.000000000 -0200
>> @@ -3754,6 +3754,10 @@ try_ready (rtx next)
>> ? ? ? ? ? {
>> ? ? ? ? ? ? ds_t ds = DEP_STATUS (dep) & SPECULATIVE;
>>
>> + ? ? ? ? ? if (DEBUG_INSN_P (DEP_PRO (dep))
>> + ? ? ? ? ? ? ? && !DEBUG_INSN_P (next))
>> + ? ? ? ? ? ? continue;
>> +
>> ? ? ? ? ? ? if (first_p)
>> ? ? ? ? ? ? ? {
>> ? ? ? ? ? ? ? ? first_p = false;
>
>
> ? ? ? ?Jakub
>


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