public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug analyzer/102779] New: gcc.dg/analyzer/capacity-1.c etc.FAIL @ 2021-10-15 13:11 ro at gcc dot gnu.org 2021-10-15 13:11 ` [Bug analyzer/102779] " ro at gcc dot gnu.org ` (4 more replies) 0 siblings, 5 replies; 6+ messages in thread From: ro at gcc dot gnu.org @ 2021-10-15 13:11 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102779 Bug ID: 102779 Summary: gcc.dg/analyzer/capacity-1.c etc.FAIL Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: analyzer Assignee: dmalcolm at gcc dot gnu.org Reporter: ro at gcc dot gnu.org Target Milestone: --- Target: *-*-solaris2.11, powerpc-ibm-aix7.2.3.0, hppa*-hp-hpux11.11, avr-unknown-none gcc.dg/analyzer/capacity-1.c and gcc.dg/analyzer/capacity-3.c have been FAILing on several targets, apparently for the same reason: FAIL: gcc.dg/analyzer/capacity-1.c (test for excess errors) Excess errors: /vol/gcc/src/hg/master/local/gcc/testsuite/gcc.dg/analyzer/capacity-1.c:56:13: warning: implicit declaration of function 'alloca' [-Wimplicit-function-declaration] /vol/gcc/src/hg/master/local/gcc/testsuite/gcc.dg/analyzer/capacity-1.c:56:13: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] FAIL: gcc.dg/analyzer/capacity-3.c (test for excess errors) Excess errors: /vol/gcc/src/hg/master/local/gcc/testsuite/gcc.dg/analyzer/capacity-3.c:7:13: warning: implicit declaration of function 'alloca' [-Wimplicit-function-declaration] /vol/gcc/src/hg/master/local/gcc/testsuite/gcc.dg/analyzer/capacity-3.c:7:13: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] Unlike Linux, regular system headers don't implicitly declare alloca. E.g. on Solaris one needs to include <alloca.h>. I wonder how best to fix this: just use __builtin_alloca directly like some tests do, or have #define alloca __builtin_alloca like gcc.dg/analyzer/pr93355-localealias.c. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug analyzer/102779] gcc.dg/analyzer/capacity-1.c etc.FAIL 2021-10-15 13:11 [Bug analyzer/102779] New: gcc.dg/analyzer/capacity-1.c etc.FAIL ro at gcc dot gnu.org @ 2021-10-15 13:11 ` ro at gcc dot gnu.org 2021-11-15 23:25 ` dmalcolm at gcc dot gnu.org ` (3 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: ro at gcc dot gnu.org @ 2021-10-15 13:11 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102779 Rainer Orth <ro at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |12.0 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug analyzer/102779] gcc.dg/analyzer/capacity-1.c etc.FAIL 2021-10-15 13:11 [Bug analyzer/102779] New: gcc.dg/analyzer/capacity-1.c etc.FAIL ro at gcc dot gnu.org 2021-10-15 13:11 ` [Bug analyzer/102779] " ro at gcc dot gnu.org @ 2021-11-15 23:25 ` dmalcolm at gcc dot gnu.org 2021-11-17 2:00 ` cvs-commit at gcc dot gnu.org ` (2 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: dmalcolm at gcc dot gnu.org @ 2021-11-15 23:25 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102779 David Malcolm <dmalcolm at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2021-11-15 Ever confirmed|0 |1 Status|UNCONFIRMED |ASSIGNED --- Comment #1 from David Malcolm <dmalcolm at gcc dot gnu.org> --- Sorry about this; am working on a fix ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug analyzer/102779] gcc.dg/analyzer/capacity-1.c etc.FAIL 2021-10-15 13:11 [Bug analyzer/102779] New: gcc.dg/analyzer/capacity-1.c etc.FAIL ro at gcc dot gnu.org 2021-10-15 13:11 ` [Bug analyzer/102779] " ro at gcc dot gnu.org 2021-11-15 23:25 ` dmalcolm at gcc dot gnu.org @ 2021-11-17 2:00 ` cvs-commit at gcc dot gnu.org 2021-11-17 2:06 ` dmalcolm at gcc dot gnu.org 2021-11-17 21:12 ` ro at gcc dot gnu.org 4 siblings, 0 replies; 6+ messages in thread From: cvs-commit at gcc dot gnu.org @ 2021-11-17 2:00 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102779 --- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by David Malcolm <dmalcolm@gcc.gnu.org>: https://gcc.gnu.org/g:a80d4e098b10d5cd161f55e4fce64a6be9683ed3 commit r12-5329-ga80d4e098b10d5cd161f55e4fce64a6be9683ed3 Author: David Malcolm <dmalcolm@redhat.com> Date: Mon Nov 15 18:23:08 2021 -0500 analyzer: don't assume target has alloca [PR102779] gcc/testsuite/ChangeLog: PR analyzer/102779 * gcc.dg/analyzer/capacity-1.c: Add dg-require-effective-target alloca. Use __builtin_alloca rather than alloca. * gcc.dg/analyzer/capacity-3.c: Likewise. Signed-off-by: David Malcolm <dmalcolm@redhat.com> ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug analyzer/102779] gcc.dg/analyzer/capacity-1.c etc.FAIL 2021-10-15 13:11 [Bug analyzer/102779] New: gcc.dg/analyzer/capacity-1.c etc.FAIL ro at gcc dot gnu.org ` (2 preceding siblings ...) 2021-11-17 2:00 ` cvs-commit at gcc dot gnu.org @ 2021-11-17 2:06 ` dmalcolm at gcc dot gnu.org 2021-11-17 21:12 ` ro at gcc dot gnu.org 4 siblings, 0 replies; 6+ messages in thread From: dmalcolm at gcc dot gnu.org @ 2021-11-17 2:06 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102779 David Malcolm <dmalcolm at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |WAITING --- Comment #3 from David Malcolm <dmalcolm at gcc dot gnu.org> --- Did the above patch fix the issue for you? ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug analyzer/102779] gcc.dg/analyzer/capacity-1.c etc.FAIL 2021-10-15 13:11 [Bug analyzer/102779] New: gcc.dg/analyzer/capacity-1.c etc.FAIL ro at gcc dot gnu.org ` (3 preceding siblings ...) 2021-11-17 2:06 ` dmalcolm at gcc dot gnu.org @ 2021-11-17 21:12 ` ro at gcc dot gnu.org 4 siblings, 0 replies; 6+ messages in thread From: ro at gcc dot gnu.org @ 2021-11-17 21:12 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102779 Rainer Orth <ro at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|WAITING |RESOLVED --- Comment #4 from Rainer Orth <ro at gcc dot gnu.org> --- It did indeed on both Solaris/SPARC and x86. Thanks. ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2021-11-17 21:12 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2021-10-15 13:11 [Bug analyzer/102779] New: gcc.dg/analyzer/capacity-1.c etc.FAIL ro at gcc dot gnu.org 2021-10-15 13:11 ` [Bug analyzer/102779] " ro at gcc dot gnu.org 2021-11-15 23:25 ` dmalcolm at gcc dot gnu.org 2021-11-17 2:00 ` cvs-commit at gcc dot gnu.org 2021-11-17 2:06 ` dmalcolm at gcc dot gnu.org 2021-11-17 21:12 ` ro at gcc dot gnu.org
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).