* Missed hunk in microblaze.c changes
@ 2016-10-26 17:03 Jeff Law
0 siblings, 0 replies; only message in thread
From: Jeff Law @ 2016-10-26 17:03 UTC (permalink / raw)
To: gcc-patches
[-- Attachment #1: Type: text/plain, Size: 266 bytes --]
This should have been in the microblaze.c changes, but was missed.
Essentially it had a fallthru path, but using fallthru didn't really
simplify the code in a meaningful way. So I just added the return to
avoid the fallthru path.
Installed on the trunk.
Jeff
[-- Attachment #2: P --]
[-- Type: text/plain, Size: 1124 bytes --]
commit 370f943246c079efebe323b4a77eaaf2482292a0
Author: law <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Wed Oct 26 17:00:18 2016 +0000
* config/microblaze/microblaze.c (tls_mentioned_p): Avoid
fallthru.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@241587 138bc75d-0d04-0410-961f-82ee72b054a4
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 106a3a3..dc4fd27 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -41,6 +41,9 @@
2016-10-26 Jeff Law <law@redhat.com>
+ * config/microblaze/microblaze.c (tls_mentioned_p): Avoid
+ fallthru.
+
* config/arc/arc.c (acr_print_operand): Adjust fallthru comment.
(check_if_valid_sleep_operand): Add missing fallthru comment.
(arc_register_move_cost): Increase buffer size.
diff --git a/gcc/config/microblaze/microblaze.c b/gcc/config/microblaze/microblaze.c
index 4b7a9ba..be90796 100644
--- a/gcc/config/microblaze/microblaze.c
+++ b/gcc/config/microblaze/microblaze.c
@@ -543,6 +543,7 @@ tls_mentioned_p (rtx x)
case UNSPEC:
if (XINT (x, 1) == UNSPEC_TLS)
return 1;
+ return 0;
default:
return 0;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-10-26 17:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-26 17:03 Missed hunk in microblaze.c changes Jeff Law
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).