https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88090
Bug ID: 88090 Summary: [9 regression] obj-c++.dg/attributes/method-nonnull-1.mm FAILs Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: testsuite Assignee: unassigned at gcc dot gnu.org Reporter: ro at gcc dot gnu.org CC: msebor at gcc dot gnu.org Target Milestone: --- Target: *-*-solaris2.* Between 20181115 (r266188) and 20181116 (r266202), the obj-c++.dg/attributes/method-nonnull-1.mm test started to FAIL on 32 and 64-bit Solaris (both sparc and x86): +FAIL: obj-c++.dg/attributes/method-nonnull-1.mm -fgnu-runtime (test for warnings, line 28) +FAIL: obj-c++.dg/attributes/method-nonnull-1.mm -fgnu-runtime (test for warnings, line 29) +FAIL: obj-c++.dg/attributes/method-nonnull-1.mm -fgnu-runtime (test for excess errors) Excess errors: /vol/gcc/src/hg/trunk/local/gcc/testsuite/obj-c++.dg/attributes/method-nonnull-1.mm:28:74: warning: 'nonnull' attribute argument value '3' refers to parameter type 'std::size_t' {aka 'unsigned int'} [-Wattributes] /vol/gcc/src/hg/trunk/local/gcc/testsuite/obj-c++.dg/attributes/method-nonnull-1.mm:29:74: warning: 'nonnull' attribute argument value '3' refers to parameter type 'std::size_t' {aka 'unsigned int'} [-Wattributes] This is probably due to this patch: PR c++/87541 - ICE using a constant decl as an attribute alloc_size argument PR c++/87542 - bogus error on attribute format with a named constant argument