This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Don't call record_block_change if ib_boundaries_block is null
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- To: gcc-patches at gcc dot gnu dot org
- Date: Fri, 18 Nov 05 08:33:18 EST
- Subject: Don't call record_block_change if ib_boundaries_block is null
This is the second kludge that I was hoping to find a better patch for
but did not. RTH seemed to like this even though I didn't. If my notes
are correct, this fixes ACATS tests c48009e and cd10002 on some platform.
Tested on x86_64-linux-gnu and committed.
2005-11-18 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* expr.c (expand_expr_real): Don't call record_block_change unless
ib_boundaries_block is non-null
*** expr.c (revision 107176)
--- expr.c (working copy)
*************** expand_expr_real (tree exp, rtx target,
*** 6489,6493 ****
used the file/line information embedded in the tree nodes rather
than globals. */
! if (cfun && EXPR_HAS_LOCATION (exp))
{
location_t saved_location = input_location;
--- 6489,6493 ----
used the file/line information embedded in the tree nodes rather
than globals. */
! if (cfun && cfun->ib_boundaries_block && EXPR_HAS_LOCATION (exp))
{
location_t saved_location = input_location;