Re: warning under gcc 16.1.0

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Erik Rijkers <er(at)xs4all(dot)nl>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: warning under gcc 16.1.0
Date: 2026-04-30 21:21:51
Message-ID: 814036.1777584111@sss.pgh.pa.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Erik Rijkers <er(at)xs4all(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jim Jones 2026-04-30 21:33:18 Re: Truncate logs by max_log_size
Previous Message Erik Rijkers 2026-04-30 20:52:36 warning under gcc 16.1.0