[Bug c++/88095] class nontype template parameter UDL string literals doesn't accepts deduction placeholder

2019-05-26 Thread jeff-gcc at caffeinated dot me.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88095 Jeff Snyder changed: What|Removed |Added CC||jeff-gcc at caffeinated dot me.uk

[Bug ipa/119006] New: IPA ICF and LTO cause strcmp condition to be omitted

2025-02-24 Thread jeff-gcc at caffeinated dot me.uk via Gcc-bugs
Component: ipa Assignee: unassigned at gcc dot gnu.org Reporter: jeff-gcc at caffeinated dot me.uk Target Milestone: --- When compiled with -O2 -flto (or more minimally: -O -finline -fipa-icf-functions -foptimize-strlen -ftree-dse -ftree-vrp -flto), GCC miscompiles the following

[Bug ipa/119006] IPA ICF and LTO cause strcmp condition to be omitted

2025-02-24 Thread jeff-gcc at caffeinated dot me.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119006 --- Comment #2 from Jeff Snyder --- Further simplified: template struct FixedString { bool operator==(const char* rhs_) const { return rhs_ and not __builtin_strcmp(_str, rhs_); } bool operator!=(const char* rhs_) const { return !(*this