public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jiong Wang <jiong.wang@arm.com>
To: Andreas Schwab <schwab@linux-m68k.org>
Cc: James Greenhalgh <James.Greenhalgh@arm.com>,
	gcc-patches <gcc-patches@gcc.gnu.org>
Subject: [COMMITTED][AArch64] Add the missing "," for enumeration element
Date: Tue, 11 Aug 2015 11:22:00 -0000	[thread overview]
Message-ID: <n99tws6dq8a.fsf@arm.com> (raw)
In-Reply-To: <n998u9ib48a.fsf@arm.com>

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


Jiong Wang writes:

> Andreas Schwab writes:
>
>> Jiong Wang <jiong.wang@arm.com> writes:
>>
>>>   I Just finished several round of rebuild & testing on clean
>>>   environment.
>>
>> How did you even manage to compile it?
>>
>> ../../gcc/ira.c: In function 'void print_translated_classes(FILE*, bool)':
>> ../../gcc/ira.c:1415:49: error: iteration 8u invokes undefined behavior [-Werror=aggressive-loop-optimizations]
>>      fprintf (f, " %s -> %s\n", reg_class_names[i],
>>                                                  ^
>> ../../gcc/ira.c:1414:17: note: containing loop
>>    for (i = 0; i < N_REG_CLASSES; i++)
>
> And, my new patch missed a ',' after "FIXED_REG0", sorry about
> that.. that should be the problem for the bootstrap issue.

committed patch below as obivious after bootstrap OK and check-go OK.

2015-08-11  Jiong Wang  <jiong.wang@arm.com>

gcc/
  * config/aarch64/aarch64.h (REG_CLASS_NAMES): Add the missing ',' after
  FIXED_REG0.


[-- Attachment #2: k.patch --]
[-- Type: text/x-diff, Size: 400 bytes --]

diff --git a/gcc/config/aarch64/aarch64.h b/gcc/config/aarch64/aarch64.h
index 43ff895..d3ae393 100644
--- a/gcc/config/aarch64/aarch64.h
+++ b/gcc/config/aarch64/aarch64.h
@@ -417,7 +417,7 @@ enum reg_class
 #define REG_CLASS_NAMES				\
 {						\
   "NO_REGS",					\
-  "FIXED_REG0"					\
+  "FIXED_REG0",					\
   "CALLER_SAVE_REGS",				\
   "GENERAL_REGS",				\
   "STACK_REG",					\

  reply	other threads:[~2015-08-11 11:22 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-28 14:02 [AArch64] Improve TLS Descriptor pattern to release RTL loop IV opt Jiong Wang
2015-08-04  9:48 ` James Greenhalgh
2015-08-06 16:13   ` [COMMITTED][AArch64] " Jiong Wang
2015-08-08 11:59     ` Andreas Schwab
2015-08-10 10:28       ` Jiong Wang
2015-08-10 13:08         ` Jiong Wang
2015-08-10 13:20           ` Andreas Schwab
2015-08-10 13:26             ` Jiong Wang
2015-08-10 13:33               ` Andreas Schwab
2015-08-10 22:55                 ` Jiong Wang
2015-08-11  7:11                   ` Andreas Schwab
2015-08-11  8:36                     ` Jiong Wang
2015-08-11  8:48                     ` Jiong Wang
2015-08-11 11:22                       ` Jiong Wang [this message]
2015-09-26  7:38 ` [AArch64] " Andrew Pinski
2015-09-26  7:42   ` Andrew Pinski
2015-09-28 15:17   ` Jiong Wang
2015-09-28 17:08     ` Jiong Wang
2015-09-28 16:10 ` Marcus Shawcroft

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=n99tws6dq8a.fsf@arm.com \
    --to=jiong.wang@arm.com \
    --cc=James.Greenhalgh@arm.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=schwab@linux-m68k.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).