public inbox for [email protected]  
help / color / mirror / Atom feed
Re: strict-aliasing warning
2+ messages / 2 participants
[nested] [flat]

* Re: strict-aliasing warning
@ 2025-12-10 03:04  Adrian Klaver <[email protected]>
  0 siblings, 1 reply; 2+ messages in thread

From: Adrian Klaver @ 2025-12-10 03:04 UTC (permalink / raw)
  To: ma lz <[email protected]>; [email protected] <[email protected]>

On 12/9/25 18:27, ma lz wrote:

What version of Postgres?

> In function "ExecEvalJsonCoercionFinish()"
> 
>       if (SOFT_ERROR_OCCURRED(&jsestate->escontext))
> 
> may produce strict-aliasing warning

> Don't use IsA may fix this problem

Why is it a problem?

This is something that should be submitted here(you will need create a 
community account):

https://www.postgresql.org/account/login/?next=/account/submitbug/

-- 
Adrian Klaver
[email protected]






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

* Re: strict-aliasing warning
@ 2025-12-10 06:44  Michael Paquier <[email protected]>
  parent: Adrian Klaver <[email protected]>
  0 siblings, 0 replies; 2+ messages in thread

From: Michael Paquier @ 2025-12-10 06:44 UTC (permalink / raw)
  To: Adrian Klaver <[email protected]>; +Cc: ma lz <[email protected]>; [email protected] <[email protected]>

On Tue, Dec 09, 2025 at 07:04:23PM -0800, Adrian Klaver wrote:
> On 12/9/25 18:27, ma lz wrote:
>> Don't use IsA may fix this problem
> 
> Why is it a problem?

Well, I don't think that this has proved to be a problem until now in
the buildfarm.  I doubt that it would be the only problematic area if
a new compiler flag is enforced by a buildfarm member, assuming that
we would add one but the bar is very high when it comes to that.

A 4-line message is short to present your arguments, what you are
trying to do, and why it could make sense in some way.
--
Michael


Attachments:

  [application/pgp-signature] signature.asc (833B, 2-signature.asc)
  download

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


end of thread, other threads:[~2025-12-10 06:44 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2025-12-10 03:04 Re: strict-aliasing warning Adrian Klaver <[email protected]>
2025-12-10 06:44 ` Michael Paquier <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox