https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104021

            Bug ID: 104021
           Summary: gcc.dg/vect/tsvc tests failures
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rimvydas.jas at gmail dot com
  Target Milestone: ---

Created attachment 52185
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52185&action=edit
simple fix

Testsuite on x86_64-*-dragonfly gives:

$ gmake check-gcc-c -k RUNTESTFLAGS="vect.exp=vect-tsvc*"
Running /zzz/gg/gcc/testsuite/gcc.dg/vect/vect.exp ...
FAIL: gcc.dg/vect/tsvc/vect-tsvc-s000.c (test for excess errors)
FAIL: gcc.dg/vect/tsvc/vect-tsvc-s111.c (test for excess errors)
[SNIP]
FAIL: gcc.dg/vect/tsvc/vect-tsvc-vtv.c -flto -ffat-lto-objects (test for excess
errors)
FAIL: gcc.dg/vect/tsvc/vect-tsvc-vtvtv.c -flto -ffat-lto-objects (test for
excess errors)
Excess errors:
/data/gg/gcc/testsuite/gcc.dg/vect/tsvc/tsvc.h:15:10: fatal error: malloc.h: No
such file or directory

                === gcc Summary ===

# of unexpected failures        302
# of unresolved testcases       604
/build/trunk/gcc/xgcc  version 12.0.0 20220114 (experimental)
[remotes/origin/master -gb31cec9c22b] (GCC)

The DragonFly BSD does not have <malloc.h> nor memalign(3), but
posix_memalign(3) is available.
With patch applied:
$ gmake check-gcc-c -k RUNTESTFLAGS="vect.exp=vect-tsvc*"
                === gcc Summary ===

# of expected passes            736
# of expected failures          170

Reply via email to