Re: Fix for compiler warning triggered in WinGetFuncArgInPartition() - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Fix for compiler warning triggered in WinGetFuncArgInPartition()
Date
Msg-id 2953757.1760023701@sss.pgh.pa.us
Whole thread Raw
In response to Re: Fix for compiler warning triggered in WinGetFuncArgInPartition()  (Nathan Bossart <nathandbossart@gmail.com>)
Responses Re: Fix for compiler warning triggered in WinGetFuncArgInPartition()
List pgsql-hackers
Nathan Bossart <nathandbossart@gmail.com> writes:
> Just curious, what compiler/version is this?  I skimmed the buildfarm a bit
> but didn't find any such warnings.

My warning-scraping script found

 arowana       | 2025-10-07 04:51:16 | nodeWindowAgg.c:3723:8: warning: 'forward' may be used uninitialized in this
function[-Wmaybe-uninitialized] 
 arowana       | 2025-10-07 04:51:16 | nodeWindowAgg.c:3790:8: warning: 'notnull_relpos' may be used uninitialized in
thisfunction [-Wmaybe-uninitialized] 
 buri          | 2025-10-05 21:30:13 | nodeWindowAgg.c:3723:8: warning: 'forward' may be used uninitialized in this
function[-Wmaybe-uninitialized] 
 buri          | 2025-10-05 21:30:13 | nodeWindowAgg.c:3790:8: warning: 'notnull_relpos' may be used uninitialized in
thisfunction [-Wmaybe-uninitialized] 
 dhole         | 2025-10-05 07:34:51 | nodeWindowAgg.c:3723:8: warning: 'forward' may be used uninitialized in this
function[-Wmaybe-uninitialized] 
 dhole         | 2025-10-05 07:34:51 | nodeWindowAgg.c:3790:8: warning: 'notnull_relpos' may be used uninitialized in
thisfunction [-Wmaybe-uninitialized] 
 rhinoceros    | 2025-10-09 11:10:27 | nodeWindowAgg.c:3724:8: warning: 'forward' may be used uninitialized in this
function[-Wmaybe-uninitialized] 
 rhinoceros    | 2025-10-09 11:10:27 | nodeWindowAgg.c:3809:2: warning: 'notnull_relpos' may be used uninitialized in
thisfunction [-Wmaybe-uninitialized] 
 shelduck      | 2025-10-09 12:14:10 | nodeWindowAgg.c:3724:6: warning: 'forward' may be used uninitialized in this
function[-Wmaybe-uninitialized] 
 shelduck      | 2025-10-09 12:14:10 | nodeWindowAgg.c:3809:2: warning: 'notnull_relpos' may be used uninitialized in
thisfunction [-Wmaybe-uninitialized] 

These all seem to be RHEL7 derivatives running gcc 4.8.something.
Since Greg saw it only for notnull_relpos, I'm guessing he's
running something else.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Fix for compiler warning triggered in WinGetFuncArgInPartition()
Next
From: Jacob Champion
Date:
Subject: Re: Support getrandom() for pg_strong_random() source