This is the mail archive of the gcc-bugs@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]

[Bug rtl-optimization/23567] [3.4/4.0/4.1 regression] if-conversion causes wrong code



------- Comment #10 from jakub at gcc dot gnu dot org  2005-11-07 08:28 -------
Subject: Bug 23567

Author: jakub
Date: Mon Nov  7 08:28:01 2005
New Revision: 106586

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106586
Log:
        PR rtl-optimization/23567
        * ifcvt.c (noce_mem_write_may_trap_or_fault_p): New function.
        (noce_process_if_block): Don't do any optimizations except
        if (cond) x = x; if !set_b and write into orig_x may trap
        or fault.

        * gcc.c-torture/execute/20051104-1.c: New test.

Added:
    branches/gcc-4_0-branch/gcc/testsuite/gcc.c-torture/execute/20051104-1.c
Modified:
    branches/gcc-4_0-branch/gcc/ChangeLog
    branches/gcc-4_0-branch/gcc/ifcvt.c
    branches/gcc-4_0-branch/gcc/testsuite/ChangeLog


-- 


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


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