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 tree-optimization/49018] Inline assembly block executed outside conditional check with "-O1 -ftree-vrp"


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

--- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-05-18 13:33:24 UTC ---
Author: rguenth
Date: Wed May 18 13:33:21 2011
New Revision: 173861

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=173861
Log:
2011-05-18  Richard Guenther  <rguenther@suse.de>

    PR tree-optimization/49018
    * gimple.c (gimple_has_side_effects): Volatile asms have side-effects.
    * tree-ssa-ifcombine.c (bb_no_side_effects_p): Use
    gimple_has_side_effects.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/gimple.c
    trunk/gcc/tree-ssa-ifcombine.c


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