public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/101204] New: infinite recursion in gtype-desc.c
@ 2021-06-25  7:39 dcb314 at hotmail dot com
  2021-06-25  8:39 ` [Bug middle-end/101204] " jakub at gcc dot gnu.org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: dcb314 at hotmail dot com @ 2021-06-25  7:39 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 101204
           Summary: infinite recursion in gtype-desc.c
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

For a recent gcc build with clang, I get:

gtype-desc.c:10853:1: warning: all paths through this function will call itself
[-Winfinite-recursion]

Source code is

void
gt_pch_nx (int_hash<key_type_t,0,UINT_MAX>* x ATTRIBUTE_UNUSED,
        ATTRIBUTE_UNUSED gt_pointer_operator op,
        ATTRIBUTE_UNUSED void *cookie)
{
    gt_pch_nx (&((*x)), op, cookie);
}

I think this has probably first appeared in the last week or so.

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2021-11-09 12:29 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-25  7:39 [Bug c/101204] New: infinite recursion in gtype-desc.c dcb314 at hotmail dot com
2021-06-25  8:39 ` [Bug middle-end/101204] " jakub at gcc dot gnu.org
2021-06-25 23:49 ` msebor at gcc dot gnu.org
2021-06-26  7:48 ` dcb314 at hotmail dot com
2021-07-01  9:24 ` [Bug middle-end/101204] [12 Regression] infinite recursion in gtype-desc.c since r12-1801-g7036e9ef462fde8181bece4ac4e03f3aa27204dc marxin at gcc dot gnu.org
2021-09-19 23:01 ` pinskia at gcc dot gnu.org
2021-09-19 23:05 ` pinskia at gcc dot gnu.org
2021-09-19 23:13 ` pinskia at gcc dot gnu.org
2021-11-08  9:58 ` tschwinge at gcc dot gnu.org
2021-11-09 12:21 ` cvs-commit at gcc dot gnu.org
2021-11-09 12:29 ` tschwinge 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).