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: [PATCH] Introduce mangle_assembler_name hook, resolve parts of PR43157, PR46674.


On 10/12/2010 19:53, Jakub Jelinek wrote:
> On Fri, Dec 10, 2010 at 01:08:07PM +0000, Dave Korn wrote:
>> gcc/testsuite/ChangeLog:
>>
>> 2010-12-10  Dave Korn  <...
>>
>> 	PR middle-end/46674
>> 	PR lto/43157
>> 	* gcc.dg/pr43157.c: New file.
>>
>> --- gcc/testsuite/gcc.dg/pr43157.c	(revision 0)
>> +++ gcc/testsuite/gcc.dg/pr43157.c	(revision 0)
>> @@ -0,0 +1,19 @@
>> +/* { dg-do link } */
>> +/* { dg-require-effective-target lto } */
>> +/* { dg-options "-O1 -flto -fuse-linker-plugin" } */

> The testcase fails when using GLD which doesn't support plugins.
> I guess you want
> /* { dg-require-linker-plugin "" } */
> 
> 	Jakub

  Oops, sorry, yes, you're certainly correct there.

gcc/testsuite/ChangeLog:

	* gcc.dg/pr43157.c: Add dg-require-linker-plugin  directive.

  OK once tested?

    cheers,
      DaveK
Index: gcc/testsuite/gcc.dg/pr43157.c
===================================================================
--- gcc/testsuite/gcc.dg/pr43157.c	(revision 167688)
+++ gcc/testsuite/gcc.dg/pr43157.c	(working copy)
@@ -1,5 +1,6 @@
 /* { dg-do link } */
 /* { dg-require-effective-target lto } */
+/* { dg-require-linker-plugin "" } */
 /* { dg-options "-O1 -flto -fuse-linker-plugin" } */
 
 #define LABEL3(pfx, x) # pfx x

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