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]

Ping: [PATCH, testsuite]: check for weak support


Ping.  Ok to commit?

	paul

> On Oct 25, 2018, at 2:57 PM, Paul Koning <paulkoning@comcast.net> wrote:
> 
> I ran into a failures due to no weak symbol support in my target.  This patch cures that.  Is it right?  The test case uses "weakref" so I' not 100% sure that checking for "weak" support is correct.  If not, I can put in a skip-if check for the target (pdp11) instead.
> 
> 	paul
> 
> ChangeLog:
> 
> 2018-10-25  Paul Koning  <ni1d@arrl.net>
> 
> 	* gcc.dg/tree-ssa/attr-alias.c: Skip if no weak support.
> 
> Index: testsuite/gcc.dg/tree-ssa/attr-alias.c
> ===================================================================
> --- testsuite/gcc.dg/tree-ssa/attr-alias.c	(revision 265404)
> +++ testsuite/gcc.dg/tree-ssa/attr-alias.c	(working copy)
> @@ -1,5 +1,6 @@
> /* { dg-do compile } */
> /* { dg-require-alias "" } */
> +/* { dg-require-weak "" } */
> /* { dg-options "-O2 -fdump-tree-optimized -std=gnu89" } */
> void abort (void);
> __attribute__ ((weak))
> 


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