aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2006-01-18 15:16:10 +0000
committerAlan Modra <amodra@gcc.gnu.org>2006-01-19 01:46:10 +1030
commit4325ca904b4f1176efeb7a76be7a7955b0422740 (patch)
tree9b1f728a499263a0decd2af9421605ee2e7068fd
parent271872469229d4cd8af5a9aa6bf625ba776ede3a (diff)
downloadgcc-4325ca904b4f1176efeb7a76be7a7955b0422740.zip
gcc-4325ca904b4f1176efeb7a76be7a7955b0422740.tar.gz
gcc-4325ca904b4f1176efeb7a76be7a7955b0422740.tar.bz2
rs6000.c (rs6000_assemble_integer): Correct unlikely_test_section_p test.
* config/rs6000/rs6000.c (rs6000_assemble_integer): Correct unlikely_test_section_p test. From-SVN: r109893
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/rs6000/rs6000.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 3ffd268..79cdd17 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2006-01-19 Alan Modra <amodra@bigpond.net.au>
+
+ * config/rs6000/rs6000.c (rs6000_assemble_integer): Correct
+ unlikely_test_section_p test.
+
2006-01-18 Kazu Hirata <kazu@codesourcery.com>
* mode-switching.c (optimize_mode_switching): Make it static.
diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c
index 97430dd..204bb51 100644
--- a/gcc/config/rs6000/rs6000.c
+++ b/gcc/config/rs6000/rs6000.c
@@ -10838,7 +10838,7 @@ rs6000_assemble_integer (rtx x, unsigned int size, int aligned_p)
if (TARGET_RELOCATABLE
&& in_section != toc_section
&& in_section != text_section
- && unlikely_text_section_p (in_section)
+ && !unlikely_text_section_p (in_section)
&& !recurse
&& GET_CODE (x) != CONST_INT
&& GET_CODE (x) != CONST_DOUBLE