--
fxcoudert at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Known to fail|4.3.0 4.2.0 4.1.2 |4.2.0 4.1.2 Known to work| |4.3.0 Summary|substring bound evaluated |[4.1/4.2 only] substring |multiple times: wrong code |bound evaluated multiple |for string(function():) = |times: wrong code for |'X' |string(function():) = 'X' Target Milestone|4.3.0 |4.2.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31725