🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.arch
Article #988

Re: vector length CSR?

#988
From: Tim Rentsch
Date: Mon, 30 Nov 2026 15:12
16 lines
2477 bytes
aph@littlepinkcloud.invalid writes:

[...]

> No pass within GCC (and probably any other compiler) may introduce
> undefined behaviour where there was none in the program.  That is
> because a later pass might detect the introduced UB and miscompile
> it, or even drop it onto the floor altogether.

I understand what you're trying to say, but this isn't how to say
it.  "Undefined behavior" is a circumstance that depends on
program source code and on the state of the abstract machine
during a putative execution.  A compiler cannot "introduce
undefined behavior";  what it can do (but shouldn't) is transform
the program being compiled in a way that changes the semantics
required by the language being translated.
Technical Details
Message-ID: <86fqwijqu1.fsf@linuxsc.com>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <11cpqih$acf5$1@dont-email.me> <sgu0flpndaqltpdbft40fghmi7vk78q2hs@4ax.com> <11cq2v7$dh5b$1@dont-email.me> <8jk1fl182pskj3fsmp4ju6qf420pgl0htg@4ax.com> <11csull$1ef6e$1@dont-email.me> <2026Nov9.230104@mips.complang.tuwien.ac.at> <11cvcr4$28k7g$1@dont-email.me> <11d3npt$3mmho$1@dont-email.me> <11dn936$2ebc2$1@dont-email.me> <11dndfd$2fr9j$1@dont-email.me> <11dngb5$2he51$1@dont-email.me> <2026Nov19.203832@mips.complang.tuwien.ac.at> <11dq56a$3f094$1@dont-email.me> <11ds0io$12f8$1@dont-email.me> <11ds88c$46jd$1@dont-email.me> <11ds95m$4co4$1@dont-email.me> <11dsbag$5a43$1@dont-email.me> <11dschm$5rju$1@dont-email.me> <Xq-dnT0DMOYjxZj2nZ2dnZfqnPGdnZ2d@supernews.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: Tim Rentsch <tr.17687@z991.linuxsc.com>
Newsgroups: comp.arch
Subject: Re: vector length CSR?
Date: Mon, 30 Nov 2026 07:12:38 -0800
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <86fqwijqu1.fsf@linuxsc.com>
References: <11cpqih$acf5$1@dont-email.me> <sgu0flpndaqltpdbft40fghmi7vk78q2hs@4ax.com> <11cq2v7$dh5b$1@dont-email.me> <8jk1fl182pskj3fsmp4ju6qf420pgl0htg@4ax.com> <11csull$1ef6e$1@dont-email.me> <2026Nov9.230104@mips.complang.tuwien.ac.at> <11cvcr4$28k7g$1@dont-email.me> <11d3npt$3mmho$1@dont-email.me> <11dn936$2ebc2$1@dont-email.me> <11dndfd$2fr9j$1@dont-email.me> <11dngb5$2he51$1@dont-email.me> <2026Nov19.203832@mips.complang.tuwien.ac.at> <11dq56a$3f094$1@dont-email.me> <11ds0io$12f8$1@dont-email.me> <11ds88c$46jd$1@dont-email.me> <11ds95m$4co4$1@dont-email.me> <11dsbag$5a43$1@dont-email.me> <11dschm$5rju$1@dont-email.me> <Xq-dnT0DMOYjxZj2nZ2dnZfqnPGdnZ2d@supernews.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Date: Mon, 30 Nov 2026 15:12:41 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="560674"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX19erXFaXy4Zr5OR6FVRvtmJ1qHAripc/QY="; posting-host="14b2dabe2e9870fe799d0b4575e040c3"
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux)
Cancel-Lock: sha1:vscWZYOJ66GrID9ng4tL1U+spx8=
	sha1:Hc1TR/wWDZurA5kouIlXtIHi5xU= sha256:7TnbMFIJ841nhapmnsJ84n/JHnCAM92HDnGudEUWoys=
	sha1:uCXjENoLkt5AKNW9WhprC7DOsUA= sha256:+Pk4ns4hPlc1kKSEYkw3kXJz4PPgss241nRQATHE6GI=