Re: warning under gcc 16.1.0 - Mailing list pgsql-hackers

From Tom Lane
Subject Re: warning under gcc 16.1.0
Date
Msg-id 814036.1777584111@sss.pgh.pa.us
Whole thread
In response to warning under gcc 16.1.0  (Erik Rijkers <er@xs4all.nl>)
List pgsql-hackers
Erik Rijkers <er@xs4all.nl> writes:
> Compiling with gcc 16.1.0 gives the following warning and notes:
> (horizontally compressed a bit te avoid excessive wrapping)

> clauses.c: In function ‘recheck_cast_function_args.isra’:
> clauses.c:5139:19: warning: ‘actual_arg_types’ may be used uninitialized
> [-Wmaybe-uninitialized]

I'm inclined to write that off as "buggy early-version compiler".
That code is visibly okay, and no other compiler version has warned
about it.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Erik Rijkers
Date:
Subject: warning under gcc 16.1.0
Next
From: Jim Jones
Date:
Subject: Re: Truncate logs by max_log_size