]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/cfgexpand.c
cfgexpand.c (expand_gimple_cond): Always set the source location and block before...
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 28 Mar 2011 21:19:23 +0000 (21:19 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 28 Mar 2011 21:19:23 +0000 (21:19 +0000)
commitc82fee88dc9758441101e2d92d327f202504b120
tree5546780c03b01934b934347daf34220cf6414108
parente45425ecf8afa3ce7cbae97f267538c7d1e5650c
cfgexpand.c (expand_gimple_cond): Always set the source location and block before expanding the statement.

* cfgexpand.c (expand_gimple_cond): Always set the source location and
block before expanding the statement.
(expand_gimple_stmt_1): Likewise.  Set them here...
(expand_gimple_stmt): ...and not here.  Tidy.
* cfglayout.c (curr_insn_locator): Return 0 if the current location is
unknown.

From-SVN: r171629
gcc/ChangeLog
gcc/cfgexpand.c
gcc/cfglayout.c