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

Rainer Orth <ro at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |ro at gcc dot gnu.org
         Resolution|FIXED                       |---

--- Comment #7 from Rainer Orth <ro at gcc dot gnu.org> ---
The new testcase FAILs badly on Solaris/SPARC and x86, 32 and 64-bit:

+FAIL: gcc.dg/torture/pr67222.c   -O0  (test for excess errors)
+FAIL: gcc.dg/torture/pr67222.c   -O1  (test for excess errors)
+FAIL: gcc.dg/torture/pr67222.c   -O2  (test for excess errors)
+FAIL: gcc.dg/torture/pr67222.c   -O2 -flto  (test for excess errors)
+FAIL: gcc.dg/torture/pr67222.c   -O2 -flto -flto-partition=none  (test for
excess errors)
+FAIL: gcc.dg/torture/pr67222.c   -O3 -g  (test for excess errors)
+FAIL: gcc.dg/torture/pr67222.c   -Os  (test for excess errors)

Excess errors:
/vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.dg/torture/pr67222.c:7:3:
warning: too few arguments to built-in function 'posix_memalign' expecting 3
[-Wbuiltin-declaration-mismatch]
/vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.dg/torture/pr67222.c:8:3:
warning: too few arguments to built-in function 'posix_memalign' expecting 3
[-Wbuiltin-declaration-mismatch]
/vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.dg/torture/pr67222.c:9:3:
warning: too few arguments to built-in function 'posix_memalign' expecting 3
[-Wbuiltin-declaration-mismatch]
/vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.dg/torture/pr67222.c:10:22:
warning: 'posix_memalign' argument 2 type is 'int' where 'unsigned int' is
expected in a call to built-in function declared without prototype
[-Wbuiltin-declaration-mismatch]
/vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.dg/torture/pr67222.c:10:3:
warning: too few arguments to built-in function 'posix_memalign' expecting 3
[-Wbuiltin-declaration-mismatch]
/vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.dg/torture/pr67222.c:11:22:
warning: passing argument 2 of 'posix_memalign' makes integer from pointer
without a cast [-Wint-conversion]
/vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.dg/torture/pr67222.c:11:3:
warning: too few arguments to built-in function 'posix_memalign' expecting 3
[-Wbuiltin-declaration-mismatch]
/vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.dg/torture/pr67222.c:12:19:
warning: passing argument 1 of 'posix_memalign' from incompatible pointer type
[-Wincompatible-pointer-types]
/vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.dg/torture/pr67222.c:12:26:
warning: passing argument 2 of 'posix_memalign' makes integer from pointer
without a cast [-Wint-conversion]
/vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.dg/torture/pr67222.c:12:3:
warning: too few arguments to built-in function 'posix_memalign' expecting 3
[-Wbuiltin-declaration-mismatch]
/vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.dg/torture/pr67222.c:13:19:
warning: passing argument 1 of 'posix_memalign' makes pointer from integer
without a cast [-Wint-conversion]
/vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.dg/torture/pr67222.c:13:22:
warning: passing argument 2 of 'posix_memalign' makes integer from pointer
without a cast [-Wint-conversion]
/vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.dg/torture/pr67222.c:13:3:
warning: too few arguments to built-in function 'posix_memalign' expecting 3
[-Wbuiltin-declaration-mismatch]
/vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.dg/torture/pr67222.c:14:19:
warning: passing argument 1 of 'posix_memalign' makes pointer from integer
without a cast [-Wint-conversion]
/vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.dg/torture/pr67222.c:14:22:
warning: 'posix_memalign' argument 2 type is 'int' where 'unsigned int' is
expected in a call to built-in function declared without prototype
[-Wbuiltin-declaration-mismatch]
/vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.dg/torture/pr67222.c:14:3:
warning: too few arguments to built-in function 'posix_memalign' expecting 3
[-Wbuiltin-declaration-mismatch]
/vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.dg/torture/pr67222.c:15:19:
warning: passing argument 1 of 'posix_memalign' makes pointer from integer
without a cast [-Wint-conversion]
/vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.dg/torture/pr67222.c:15:22:
warning: 'posix_memalign' argument 2 type is 'int' where 'unsigned int' is
expected in a call to built-in function declared without prototype
[-Wbuiltin-declaration-mismatch]
/vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.dg/torture/pr67222.c:15:25:
warning: 'posix_memalign' argument 3 type is 'int' where 'unsigned int' is
expected in a call to built-in function declared without prototype
[-Wbuiltin-declaration-mismatch]
/vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.dg/torture/pr67222.c:16:22:
warning: passing argument 2 of 'posix_memalign' makes integer from pointer
without a cast [-Wint-conversion]
/vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.dg/torture/pr67222.c:16:25:
warning: passing argument 3 of 'posix_memalign' makes integer from pointer
without a cast [-Wint-conversion]
/vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.dg/torture/pr67222.c:17:22:
warning: passing argument 2 of 'posix_memalign' makes integer from pointer
without a cast [-Wint-conversion]
/vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.dg/torture/pr67222.c:17:29:
warning: 'posix_memalign' argument 3 type is 'int' where 'unsigned int' is
expected in a call to built-in function declared without prototype
[-Wbuiltin-declaration-mismatch]
/vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.dg/torture/pr67222.c:18:22:
warning: 'posix_memalign' argument 2 type is 'int' where 'unsigned int' is
expected in a call to built-in function declared without prototype
[-Wbuiltin-declaration-mismatch]
/vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.dg/torture/pr67222.c:18:25:
warning: 'posix_memalign' argument 3 type is 'int' where 'unsigned int' is
expected in a call to built-in function declared without prototype
[-Wbuiltin-declaration-mismatch]

Reply via email to