gas or as generates large bins

2024-06-29 Thread Houssem H1 via Gcc
i prefer using the gas syntax than using the nasm but i don't know it looks like it generates pretty large binaries, so i wanna know if there is any flags that i am missing or this is the way that it works? i compiled this `movb $0, al` and it's about 720 byte and i wan't to use it instead of nasm

Re: consistent unspecified pointer comparison

2024-06-29 Thread Jonathan Wakely via Gcc
On Thu, 27 Jun 2024 at 20:07, Andrew Pinski via Gcc wrote: > > On Thu, Jun 27, 2024 at 11:57 AM Jason Merrill via Gcc > wrote: > > > > On Thu, Jun 27, 2024 at 2:38 PM Richard Biener > > wrote: > > > > Am 27.06.2024 um 19:04 schrieb Jason Merrill via Gcc : > > > > > > > > https://www.open-std.o

IFNDR on UB? [was: Straw poll on shifts with out of range operands]

2024-06-29 Thread Matthias Kretz via Gcc
On Tuesday, 25 June 2024 21:44:15 CDT Andrew Pinski via Gcc wrote: > I am in the middle of improving the isolation path pass for shifts > with out of range operands. > There are 3 options we could do really: > 1) isolate the path to __builtin_unreachable > 2) isolate the path to __builtin_trap >

Re: IFNDR on UB? [was: Straw poll on shifts with out of range operands]

2024-06-29 Thread Martin Uecker via Gcc
Am Samstag, dem 29.06.2024 um 08:50 -0500 schrieb Matthias Kretz via Gcc: ... > I.e. once UB becomes IFNDR, the dreaded time-travel optimizations can't > happen > anymore. Instead precondition checks bubble up because otherwise the program > is ill-formed. It is not clear to mean what you mea

Dry Ft

2024-06-29 Thread Bob Lange
The d Uh Dein moon Sent from my iPhone guy Dr treetops set duty yfyfufyfyf chi by C byR Bob Sent from my iPhone

gcc-14-20240629 is now available

2024-06-29 Thread GCC Administrator via Gcc
Snapshot gcc-14-20240629 is now available on https://gcc.gnu.org/pub/gcc/snapshots/14-20240629/ and on various mirrors, see https://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 14 git branch with the following options: git://gcc.gnu.org/git/gcc.git branch

Re: IFNDR on UB? [was: Straw poll on shifts with out of range operands]

2024-06-29 Thread Matthias Kretz via Gcc
On Saturday, 29 June 2024 16:20:55 GMT+2 Martin Uecker wrote: > Am Samstag, dem 29.06.2024 um 08:50 -0500 schrieb Matthias Kretz via Gcc: > > I.e. once UB becomes IFNDR, the dreaded time-travel optimizations can't > > happen anymore. Instead precondition checks bubble up because otherwise > > the p

Re: IFNDR on UB? [was: Straw poll on shifts with out of range operands]

2024-06-29 Thread Martin Uecker via Gcc
Am Sonntag, dem 30.06.2024 um 05:03 +0200 schrieb Matthias Kretz: > On Saturday, 29 June 2024 16:20:55 GMT+2 Martin Uecker wrote: > > Am Samstag, dem 29.06.2024 um 08:50 -0500 schrieb Matthias Kretz via Gcc: > > > I.e. once UB becomes IFNDR, the dreaded time-travel optimizations can't > > > happen

Re: IFNDR on UB? [was: Straw poll on shifts with out of range operands]

2024-06-29 Thread Martin Uecker via Gcc
Actually, it is very much aligned with what I want in C. In general I want to have pragma-based compilation modes for memory safety: https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3211.pdf (Bjarne Stroustrup has a proposal for profiles in C++ which goes in similar direction I think) >From a