public inbox for fortran@gcc.gnu.org
 help / color / mirror / Atom feed
From: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
To: gcc-patches@gcc.gnu.org, fortran@gcc.gnu.org
Cc: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>,
	Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
Subject: [PATCH,Fortran 4/7] Fortran: make some trans-array functions static
Date: Mon, 25 Oct 2021 00:30:20 +0200	[thread overview]
Message-ID: <20211024223023.1410274-5-rep.dot.nop@gmail.com> (raw)
In-Reply-To: <20211024223023.1410274-1-rep.dot.nop@gmail.com>

From: Bernhard Reutner-Fischer <aldot@gcc.gnu.org>

gcc/fortran/ChangeLog:

	* trans-array.c (gfc_trans_scalarized_loop_end): Make static.
	* trans-array.h (gfc_trans_scalarized_loop_end,
	gfc_conv_tmp_ref, gfc_conv_array_transpose): Delete declaration.
---
 gcc/fortran/trans-array.c | 2 +-
 gcc/fortran/trans-array.h | 6 ------
 2 files changed, 1 insertion(+), 7 deletions(-)

diff --git a/gcc/fortran/trans-array.c b/gcc/fortran/trans-array.c
index bceb8b24ba4..5ceb261b698 100644
--- a/gcc/fortran/trans-array.c
+++ b/gcc/fortran/trans-array.c
@@ -4161,7 +4161,7 @@ gfc_start_scalarized_body (gfc_loopinfo * loop, stmtblock_t * pbody)
 
 /* Generates the actual loop code for a scalarization loop.  */
 
-void
+static void
 gfc_trans_scalarized_loop_end (gfc_loopinfo * loop, int n,
 			       stmtblock_t * pbody)
 {
diff --git a/gcc/fortran/trans-array.h b/gcc/fortran/trans-array.h
index 1d3dc4819eb..12068c742a5 100644
--- a/gcc/fortran/trans-array.h
+++ b/gcc/fortran/trans-array.h
@@ -118,8 +118,6 @@ void gfc_copy_loopinfo_to_se (gfc_se *, gfc_loopinfo *);
 
 /* Marks the start of a scalarized expression, and declares loop variables.  */
 void gfc_start_scalarized_body (gfc_loopinfo *, stmtblock_t *);
-/* Generates one actual loop for a scalarized expression.  */
-void  gfc_trans_scalarized_loop_end (gfc_loopinfo *, int, stmtblock_t *);
 /* Generates the actual loops for a scalarized expression.  */
 void gfc_trans_scalarizing_loops (gfc_loopinfo *, stmtblock_t *);
 /* Mark the end of the main loop body and the start of the copying loop.  */
@@ -137,8 +135,6 @@ tree gfc_build_null_descriptor (tree);
 void gfc_conv_array_ref (gfc_se *, gfc_array_ref *, gfc_expr *, locus *);
 /* Translate a reference to a temporary array.  */
 void gfc_conv_tmp_array_ref (gfc_se * se);
-/* Translate a reference to an array temporary.  */
-void gfc_conv_tmp_ref (gfc_se *);
 
 /* Calculate the overall offset, including subreferences.  */
 void gfc_get_dataptr_offset (stmtblock_t*, tree, tree, tree, bool, gfc_expr*);
@@ -149,8 +145,6 @@ void gfc_conv_expr_descriptor (gfc_se *, gfc_expr *);
 /* Convert an array for passing as an actual function parameter.  */
 void gfc_conv_array_parameter (gfc_se *, gfc_expr *, bool,
 			       const gfc_symbol *, const char *, tree *);
-/* Evaluate and transpose a matrix expression.  */
-void gfc_conv_array_transpose (gfc_se *, gfc_expr *);
 
 /* These work with both descriptors and descriptorless arrays.  */
 tree gfc_conv_array_data (tree);
-- 
2.33.0


  parent reply	other threads:[~2021-10-24 22:30 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-24 22:30 [PATCH,Fortran 0/7] delete some unused decls, make static Bernhard Reutner-Fischer
2021-10-24 22:30 ` [PATCH,Fortran 1/7] Fortran: make some trans* functions static Bernhard Reutner-Fischer
2021-10-25  5:47   ` Thomas Koenig
2021-10-25  6:43     ` Tobias Burnus
2021-10-25  8:00       ` Bernhard Reutner-Fischer
2021-10-26  9:34   ` Tobias Burnus
2021-10-24 22:30 ` [PATCH,Fortran 2/7] Fortran: make some match* " Bernhard Reutner-Fischer
2021-10-26  9:37   ` Tobias Burnus
2021-10-24 22:30 ` [PATCH,Fortran 3/7] Fortran: make some constructor* " Bernhard Reutner-Fischer
2021-10-26  9:30   ` Tobias Burnus
2021-10-24 22:30 ` Bernhard Reutner-Fischer [this message]
2021-10-26  9:39   ` [PATCH,Fortran 4/7] Fortran: make some trans-array " Tobias Burnus
2021-10-24 22:30 ` [PATCH,Fortran 5/7] Fortran: Delete unused decl in trans-stmt.h Bernhard Reutner-Fischer
2021-10-26  9:40   ` Tobias Burnus
2021-10-24 22:30 ` [PATCH,Fortran 6/7] Fortran: Delete unused decl in trans-types.h Bernhard Reutner-Fischer
2021-10-26  9:40   ` Tobias Burnus
2021-10-24 22:30 ` [PATCH,Fortran 7/7] Fortran: Delete unused decl in intrinsic.h Bernhard Reutner-Fischer
2021-10-24 22:46 ` [PATCH,Fortran 0/7] delete some unused decls, make static Bernhard Reutner-Fischer
2021-10-25  9:25 ` Bernhard Reutner-Fischer
2021-10-29 18:13 ` missing simplify of CAF get_team [was: Re: [PATCH,Fortran 0/7] delete some unused decls, make static] Bernhard Reutner-Fischer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211024223023.1410274-5-rep.dot.nop@gmail.com \
    --to=rep.dot.nop@gmail.com \
    --cc=aldot@gcc.gnu.org \
    --cc=fortran@gcc.gnu.org \
    --cc=gcc-patches@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).