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
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  <l...@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;

Reply via email to