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/47925] delete_trivially_dead_insns mishandles volatile mems


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

--- Comment #1 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> 2011-03-02 13:25:13 UTC ---
Author: rsandifo
Date: Wed Mar  2 13:25:10 2011
New Revision: 170613

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170613
Log:
gcc/
    PR rtl-optimization/47925
    * cse.c (count_reg_usage): Don't ignore the SET_DEST of instructions
    with side effects.  Remove the more-specific check for volatile asms.

gcc/testsuite/
    PR rtl-optimization/47925
    * gcc.c-torture/execute/pr47925.c: New test.

Added:
    trunk/gcc/testsuite/gcc.c-torture/execute/pr47925.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/cse.c
    trunk/gcc/testsuite/ChangeLog


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