On Sat, May 10, 2014 at 04:10:47PM +0200, Dominique Dhumieres wrote: > > ... > > Tested again x86_64-linux, ok now? > > > > 2014-05-02 Marek Polacek <pola...@redhat.com> > > > > PR c/50459 > > This caused on x86_64-apple-darwin13 > > FAIL: c-c++-common/pr50459.c -std=gnu++98 (test for excess errors) > FAIL: c-c++-common/pr50459.c -std=gnu++11 (test for excess errors) > FAIL: c-c++-common/pr50459.c -std=gnu++1y (test for excess errors) > FAIL: c-c++-common/pr50459.c -Wc++-compat (test for excess errors) > > The errors are > > /opt/gcc/work/gcc/testsuite/c-c++-common/pr50459.c:8:1: error: constructor > priorities are not supported > /opt/gcc/work/gcc/testsuite/c-c++-common/pr50459.c:9:1: error: destructor > priorities are not supported
Ah. The following untested patch should skip that test on Darwin. Ok? 2014-05-11 Marek Polacek <pola...@redhat.com> * c-c++-common/pr50459.c: Skip test on Darwin. diff --git gcc/testsuite/c-c++-common/pr50459.c gcc/testsuite/c-c++-common/pr50459.c index f837b63..1216fd6 100644 --- gcc/testsuite/c-c++-common/pr50459.c +++ gcc/testsuite/c-c++-common/pr50459.c @@ -1,6 +1,7 @@ /* PR c/50459 */ /* { dg-do compile } */ /* { dg-options "-Wall -Wextra" } */ +/* { dg-skip-if "Darwin does not support cdtor priorities" { *-*-darwin* } } */ enum { A = 128, B = 1 }; void *fn1 (void) __attribute__((assume_aligned (A))); Marek