[Bug middle-end/47980] Inefficient code for local const char arrays

2011-03-04 Thread hubicka at ucw dot cz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47980 --- Comment #7 from Jan Hubicka 2011-03-04 16:26:06 UTC --- > I believe f could do: > assert (arg != "aoeuaoeuaeouaeouaoeuaoeaoxbxod"); > which would then fail with the proposed optimization. It is unspecified if > two string literals with the

[Bug middle-end/47980] Inefficient code for local const char arrays

2011-03-03 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47980 Andrew Pinski changed: What|Removed |Added Resolution|INVALID |DUPLICATE --- Comment #6 from Andrew Pins

[Bug middle-end/47980] Inefficient code for local const char arrays

2011-03-03 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47980 Andrew Pinski changed: What|Removed |Added Status|REOPENED|RESOLVED Component|c