Clang 14 and 15 apparently optimizing away code that compiles as expected under Clang 13, ICC, GC...

Subscribers:
4,140
Published on ● Video Link: https://www.youtube.com/watch?v=Ob5A4hxF-58



Duration: 3:20
11 views
1


Clang 14 and 15 apparently optimizing away code that compiles as expected under Clang 13, ICC, GCC, MSVC
I hope you found a solution that worked for you :)
The Content (except music & images) is licensed under (https://meta.stackexchange.com/help/licensing)CC BY-SA |
Thanks to all those great people for their contributions!

(stackoverflow.com/users/401584/iamic)IamIC |
(stackoverflow.com/users/17732522/user17732522)user17732522 |
(stackoverflow.com/users/2630827/carsten-s)Carsten S |
(stackoverflow.com/users/363751/supercat)supercat |
A special thanks goes out to the (https://stackoverflow.com/questions/73843430/clang-14-and-15-apparently-optimizing-away-code-that-compiles-as-expected-under)Stackexchange community |

I wish you all a wonderful day! Stay safe :)




Other Videos By Peter Schneider


2022-10-27Can I do a WHERE clause to filter a json_agg column in the outer query?
2022-10-27Why does std::vector copy-construct instead of move-construct when the destructor may throw?
2022-10-27How to do a logical 'or' of requirements in a single concept?
2022-10-27Powershell Regex for German Umlaute based on upper/lowercase and position in String
2022-10-27Could we use an IP address in our network that does not fall into the RFC 1918 range?
2022-10-27Should two programs compiled with -O0 and -O2 each produce identical floating point results?
2022-10-27Defining entries [closed]
2022-10-27Can i use SCL, SDA pin for I2C
2022-10-27Load drinks and their ingredients into dictionaries
2022-10-27How to update Xcode to the latest acceptable version according with the current OS? It directly b...
2022-10-27Clang 14 and 15 apparently optimizing away code that compiles as expected under Clang 13, ICC, GC...
2022-10-27What's the point of a write-only collection?
2022-10-27Does a VPN hide the Device's name in a Local Network?
2022-10-27Processing a specific part of a text according to pattern from AWK script
2022-10-27What does "a collection of autonomous computers interconnected by a single technology" exactly mean?
2022-10-27For loop that takes turns between printing one thing or the other python
2022-10-27What is the iptables equivalent to what socat does?
2022-10-27tar suppress message "Treating date ... as ..."
2022-10-27postfix: conditionally ignoring certain "User unknown in virtual mailbox table" errors when using...
2022-10-27How do I persuade a remote Postfix to allow relaying from my ISP-assigned IP address?
2022-10-27Can I use jq to prettify a file in place?



Tags:
c++
clang
strict-aliasing
type-punning
compiler-optimization