diff options
author | Jeff Law <law@gcc.gnu.org> | 2019-06-26 20:42:30 -0600 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2019-06-26 20:42:30 -0600 |
commit | 08c1638dab9becfafc65064891c1c59f5711c27f (patch) | |
tree | 8eaf1906cee4a089dc86d664c2294d732caccf9b /gcc | |
parent | a9f054a56f5408080682169015be6cf049523cd6 (diff) | |
download | gcc-08c1638dab9becfafc65064891c1c59f5711c27f.zip gcc-08c1638dab9becfafc65064891c1c59f5711c27f.tar.gz gcc-08c1638dab9becfafc65064891c1c59f5711c27f.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/tree-ssa-dse.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/tree-ssa-dse.c b/gcc/tree-ssa-dse.c index 9b4d192..1b1a9f3 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)) |