diff mbox

Missed hunk in microblaze.c changes

Message ID 973e654c-66d4-7587-7097-c1fbe36fc8a7@redhat.com
State New
Headers show

Commit Message

Jeff Law Oct. 26, 2016, 5:03 p.m. UTC
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 mbox

Patch

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;