From c4e928a8f9d194a45ac4fd1b638c9978da790dea Mon Sep 17 00:00:00 2001
From: Maximilian Downey Twiss <creatorsmithmdt@gmail.com>
Date: Fri, 18 Nov 2022 14:29:21 +1100
Subject: [PATCH 25/56] java: Replace PTR with 'void *'.

gcc/java/ChangeLog:

	* expr.cc (pop_arguments): Use void * instead of PTR.
	* jcf.h (GTY): Likewise.
---
 gcc/java/expr.cc | 2 +-
 gcc/java/jcf.h   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/java/expr.cc b/gcc/java/expr.cc
index ba798ca3165..8d897550a59 100644
--- a/gcc/java/expr.cc
+++ b/gcc/java/expr.cc
@@ -1956,7 +1956,7 @@ pop_arguments (tree method_type)
   return args;
 }
 
-/* Attach to PTR (a block) the declaration found in ENTRY. */
+/* Attach to void * (a block) the declaration found in ENTRY. */
 
 int
 attach_init_test_initialization_flags (treetreehash_entry **slot, tree block)
diff --git a/gcc/java/jcf.h b/gcc/java/jcf.h
index f14b2388db0..87531edc13c 100644
--- a/gcc/java/jcf.h
+++ b/gcc/java/jcf.h
@@ -110,7 +110,7 @@ typedef struct GTY(()) JCF {
   unsigned int right_zip : 1;
   unsigned int finished : 1;
   jcf_filbuf_t filbuf;
-  PTR GTY ((skip)) read_state;
+  void * GTY ((skip)) read_state;
   const char *filename;
   const char *classname;
   /* Directory entry where it was found.  */
-- 
2.38.1

Reply via email to