From: Jeff Law Date: Thu, 27 Jun 2019 02:42:30 +0000 (-0600) Subject: re PR tree-optimization/90883 (Generated code is worse if returned struct is unnamed) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=08c1638dab9becfafc65064891c1c59f5711c27f;p=gcc.git re PR tree-optimization/90883 (Generated code is worse if returned struct is unnamed) PR tree-optimization/90883 * tree-ssa-dse.c (delete_dead_or_redundant_call): Fix signature. (delete_dead_or_redundant_assignment): Likewise. From-SVN: r272726 --- diff --git a/gcc/tree-ssa-dse.c b/gcc/tree-ssa-dse.c index 9b4d19232ee..1b1a9f34230 100644 --- a/gcc/tree-ssa-dse.c +++ b/gcc/tree-ssa-dse.c @@ -76,8 +76,8 @@ along with GCC; see the file COPYING3. If not see fact, they are the same transformation applied to different views of the CFG. */ -static void delete_dead_or_redundant_assignment (gimple_stmt_iterator *, char []); -static void delete_dead_or_redundant_call (gimple_stmt_iterator *, char []); +static void delete_dead_or_redundant_assignment (gimple_stmt_iterator *, const char *); +static void delete_dead_or_redundant_call (gimple_stmt_iterator *, const char *); /* Bitmap of blocks that have had EH statements cleaned. We should remove their dead edges eventually. */ @@ -868,7 +868,7 @@ private: /* Delete a dead call at GSI, which is mem* call of some kind. */ static void -delete_dead_or_redundant_call (gimple_stmt_iterator *gsi, char *type) +delete_dead_or_redundant_call (gimple_stmt_iterator *gsi, const char *type) { gimple *stmt = gsi_stmt (*gsi); if (dump_file && (dump_flags & TDF_DETAILS)) @@ -902,7 +902,7 @@ delete_dead_or_redundant_call (gimple_stmt_iterator *gsi, char *type) /* Delete a dead store at GSI, which is a gimple assignment. */ static void -delete_dead_or_redundant_assignment (gimple_stmt_iterator *gsi, char *type) +delete_dead_or_redundant_assignment (gimple_stmt_iterator *gsi, const char *type) { gimple *stmt = gsi_stmt (*gsi); if (dump_file && (dump_flags & TDF_DETAILS))