|
|
Subscribe / Log in / New account

Development quote of the week

I'm about half tempted to file this as an LLVM bug. When it inlines a function, it should still reference the same string constants that the original code did, otherwise it's failing to be a transparent conversion. But they'll probably cite some standards-ese that claims this is undefined behavior:

	const char * foo(void) { return "foo"; }

	void bar(void) { Assert( foo() == foo() ); }

on which I call BS, but it's probably in there somewhere.

Tom Lane



to post comments


Copyright © 2024, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds