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

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;


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