[Bug c++/92197] New: String Concatenation, Commutativity, and Side-Effect Inducing Functions

2019-10-23 Thread LouisJenkinsCS at hotmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: LouisJenkinsCS at hotmail dot com Target Milestone: --- In GCC version 9.2.1 (and some previous versions as far back as 7.4.0), this program results in different behavior than

[Bug c++/92197] String Concatenation, Commutativity, and Side-Effect Inducing Functions

2019-10-23 Thread LouisJenkinsCS at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92197 --- Comment #1 from Louis Jenkins --- Can confirm that on Godbolt, this bug occurs _only_ with GCC, not with clang, nor icc, or ellcc. This bug has occurred since GCC version 4.7.3, presumably is still occurring in GCC version 10.0 (or whatever t