public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH][AArch64] Tidy: remove unused qualifier_const_pointer
@ 2014-08-20  9:32 Alan Lawrence
  2014-09-02 16:46 ` Marcus Shawcroft
  0 siblings, 1 reply; 2+ messages in thread
From: Alan Lawrence @ 2014-08-20  9:32 UTC (permalink / raw)
  To: gcc-patches

[-- Attachment #1: Type: text/plain, Size: 175 bytes --]

The only reference is in a comment.

gcc/ChangeLog:

	* config/aarch64/aarch64-builtins.c (enum aarch64_type_qualifiers):
	Remove qualifier_const_pointer, update comment.

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: rm_const_ptr.patch --]
[-- Type: text/x-patch; name=rm_const_ptr.patch, Size: 1068 bytes --]

diff --git a/gcc/config/aarch64/aarch64-builtins.c b/gcc/config/aarch64/aarch64-builtins.c
index 5217f4a5f39224dbf8029542ad33790ef2c191be..1683c59166ee3c9994511e2d6cd42d6baa09c74e 100644
--- a/gcc/config/aarch64/aarch64-builtins.c
+++ b/gcc/config/aarch64/aarch64-builtins.c
@@ -82,8 +82,6 @@ enum aarch64_type_qualifiers
   qualifier_const = 0x2, /* 1 << 1  */
   /* T *foo.  */
   qualifier_pointer = 0x4, /* 1 << 2  */
-  /* const T *foo.  */
-  qualifier_const_pointer = 0x6, /* qualifier_const | qualifier_pointer  */
   /* Used when expanding arguments if an operand could
      be an immediate.  */
   qualifier_immediate = 0x8, /* 1 << 3  */
@@ -98,7 +96,7 @@ enum aarch64_type_qualifiers
   qualifier_map_mode = 0x80, /* 1 << 7  */
   /* qualifier_pointer | qualifier_map_mode  */
   qualifier_pointer_map_mode = 0x84,
-  /* qualifier_const_pointer | qualifier_map_mode  */
+  /* qualifier_const | qualifier_pointer | qualifier_map_mode  */
   qualifier_const_pointer_map_mode = 0x86,
   /* Polynomial types.  */
   qualifier_poly = 0x100

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH][AArch64] Tidy: remove unused qualifier_const_pointer
  2014-08-20  9:32 [PATCH][AArch64] Tidy: remove unused qualifier_const_pointer Alan Lawrence
@ 2014-09-02 16:46 ` Marcus Shawcroft
  0 siblings, 0 replies; 2+ messages in thread
From: Marcus Shawcroft @ 2014-09-02 16:46 UTC (permalink / raw)
  To: Alan Lawrence; +Cc: gcc-patches

On 20 August 2014 10:31, Alan Lawrence <alan.lawrence@arm.com> wrote:
> The only reference is in a comment.
>
> gcc/ChangeLog:
>
>         * config/aarch64/aarch64-builtins.c (enum aarch64_type_qualifiers):
>         Remove qualifier_const_pointer, update comment.

OK /M

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-09-02 16:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-20  9:32 [PATCH][AArch64] Tidy: remove unused qualifier_const_pointer Alan Lawrence
2014-09-02 16:46 ` Marcus Shawcroft

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).