From: Alan Modra Date: Wed, 18 Jan 2006 15:16:10 +0000 (+0000) Subject: rs6000.c (rs6000_assemble_integer): Correct unlikely_test_section_p test. X-Git-Tag: releases/gcc-4.2.0~4776 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4325ca904b4f1176efeb7a76be7a7955b0422740;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3ffd26882e69..79cdd173edd5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2006-01-19 Alan Modra + + * config/rs6000/rs6000.c (rs6000_assemble_integer): Correct + unlikely_test_section_p test. + 2006-01-18 Kazu Hirata * mode-switching.c (optimize_mode_switching): Make it static. diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 97430dd414e5..204bb518a711 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