Backport from mainline:
	2010-11-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* config/mips/iris.h [!IRIX_USING_GNU_LD]
	(SUPPORTS_INIT_PRIORITY): Define.

	gcc/testsuite:
	Backport from mainline:
	2010-11-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* lib/prune.exp (prune_gcc_output): Ignore IRIX 6 linker multiline
	warning.
	* g++.dg/cpp/_Pragma1.C: Skip on mips-sgi-irix*.

From-SVN: r167761
This commit is contained in:
Rainer Orth 2010-12-13 18:26:35 +00:00 committed by Rainer Orth
parent 6fd995bf5c
commit 3dca470502
5 changed files with 27 additions and 2 deletions

View File

@ -1,3 +1,11 @@
2010-12-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Backport from mainline:
2010-11-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* config/mips/iris.h [!IRIX_USING_GNU_LD]
(SUPPORTS_INIT_PRIORITY): Define.
2010-12-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Backport from mainline:

View File

@ -163,6 +163,11 @@ along with GCC; see the file COPYING3. If not see
library search directories. */
#define LINK_ELIMINATE_DUPLICATE_LDIRECTORIES 1
/* The SGI linker doesn't understand constructor priorities. */
#ifndef IRIX_USING_GNU_LD
#define SUPPORTS_INIT_PRIORITY 0
#endif
/* Add -g to mips.h default to avoid confusing gas with local symbols
generated from stabs info. */
#undef NM_FLAGS

View File

@ -1,3 +1,12 @@
2010-12-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Backport from mainline:
2010-11-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* lib/prune.exp (prune_gcc_output): Ignore IRIX 6 linker multiline
warning.
* g++.dg/cpp/_Pragma1.C: Skip on mips-sgi-irix*.
2010-12-09 Daniel Kraft <d@domob.eu>
PR fortran/46794

View File

@ -2,7 +2,7 @@
// This is supposed to succeed only if
// the target defines HANDLE_PRAGMA_PACK_PUSH_POP
// and doesn't define HANDLE_PRAGMA_PACK_WITH_EXPANSION.
// { dg-do compile { target { ! { powerpc-ibm-aix* *-*-solaris2* fido-*-* m68k-*-* sh*-[us]*-elf m32c-*-* } } } }
// { dg-do compile { target { ! { powerpc-ibm-aix* *-*-solaris2* fido-*-* m68k-*-* mips-sgi-irix* sh*-[us]*-elf m32c-*-* } } } }
#define push bar
#define foo _Pragma ("pack(push)")

View File

@ -1,4 +1,4 @@
# Copyright (C) 1997, 1999, 2000, 2002, 2004, 2007, 2008
# Copyright (C) 1997, 1999, 2000, 2002, 2004, 2007, 2008, 2010
# Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
@ -37,6 +37,9 @@ proc prune_gcc_output { text } {
regsub -all "(^|\n)\[^\n\]*: Additional NOP may be necessary to workaround Itanium processor A/B step errata" $text "" text
regsub -all "(^|\n)\[^\n*\]*: Assembler messages:\[^\n\]*" $text "" text
# Ignore second line of IRIX 6 linker multiline message.
regsub -all "(^|\n)\[ \t\]*that might degrade performance on an older version \\(rev. 2.2\\) R4000 processor.\[^\n\]*" $text "" text
# It would be nice to avoid passing anything to gcc that would cause it to
# issue these messages (since ignoring them seems like a hack on our part),
# but that's too difficult in the general case. For example, sometimes