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]

[tree-ssa] PATCH to cp_simplify_expr


Fixes g++.dg/parse/qualified1.C.

2003-02-07  Jason Merrill  <jason@redhat.com>

	* cp-simplify.c (cp_simplify_expr): Handle BASELINK.

*** cp-simplify.c.~1~	2003-02-05 17:23:57.000000000 -0500
--- cp-simplify.c	2003-02-07 15:55:55.000000000 -0500
*************** cp_simplify_expr (expr_p, pre_p, post_p)
*** 154,159 ****
--- 158,167 ----
        *expr_p = integer_zero_node;
        return 1;
  
+     case BASELINK:
+       *expr_p = BASELINK_FUNCTIONS (*expr_p);
+       return 1;
+ 
      default:
        break;
      }

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