This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix spurious failure of g++.dg/other/unused1.C


Andrew Pinski <pinskia@physics.uc.edu> writes:

>> 
>> ia64 uses stringz instead of string for STRING_ASM_OP, causing a spurious
>> testsuite failure.  Tested on ia64-suse-linux and committed as obvious.
>> 
>
> This also fixes hppa and PR 27611.

I don't think so, there is also a tab missing.  I think STRING_ASM_OP for
hppa-linux should be changed to "\t.stringz\t".  OK?

Andreas.

2006-05-19  Andreas Schwab  <schwab@suse.de>

	* config/pa/pa-linux.h (STRING_ASM_OP): Prepend and append a tab.

Index: gcc/config/pa/pa-linux.h
===================================================================
--- gcc/config/pa/pa-linux.h	(revision 113903)
+++ gcc/config/pa/pa-linux.h	(working copy)
@@ -66,7 +66,7 @@ Boston, MA 02110-1301, USA.  */
    file which includes this one.  */
 
 #undef STRING_ASM_OP
-#define STRING_ASM_OP   ".stringz"
+#define STRING_ASM_OP   "\t.stringz\t"
 
 #define TEXT_SECTION_ASM_OP "\t.text"
 #define DATA_SECTION_ASM_OP "\t.data"

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]