NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/59245: GCC silent data corruption due to "#pragma GCC diagnostic push/pop"
The following reply was made to PR bin/59245; it has been noted by GNATS.
From: RVP <rvp%SDF.ORG@localhost>
To: Sad Clouds <cryintothebluesky%gmail.com@localhost>
Cc: gnats-bugs%netbsd.org@localhost
Subject: Re: bin/59245: GCC silent data corruption due to "#pragma GCC
diagnostic push/pop"
Date: Thu, 3 Apr 2025 06:26:14 +0000 (UTC)
On Thu, 3 Apr 2025, Sad Clouds wrote:
> Without understanding the root cause,
>
It's just a GCC bug.
> rearranging compiler pragmas could be masking the issue [...]
>
As I said, a) functions and b) whole-blocks are the usual way of applying
pragmas. The way you've done it is decidedly odd, so not surprising that
older GCCs have trouble with it (which is what I wanted to show).
-RVP
Home |
Main Index |
Thread Index |
Old Index