summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/qstring/stringbuilder.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2010-12-22 11:12:30 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2010-12-22 12:16:58 (GMT)
commitfb9ded4e5e3e85672beef83945b3a7e17371368c (patch)
tree75f0a883ab9eb2c43a2bdafbf57a3965f153aca4 /doc/src/snippets/qstring/stringbuilder.cpp
parentcafbb2943eea989b0eeadb0c54c151ad921691b9 (diff)
downloadQt-fb9ded4e5e3e85672beef83945b3a7e17371368c.zip
Qt-fb9ded4e5e3e85672beef83945b3a7e17371368c.tar.gz
Qt-fb9ded4e5e3e85672beef83945b3a7e17371368c.tar.bz2
Work around an apparent GCC optimiser bug accessing arrays beyond end
Accessing arrays beyond their end is known to cause problems in gcc 4.4 and 4.5. So don't try to be too smart in accessing m[0][index] but instead access the array as it's meant to be. Upstream bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43247#c10 Reviewed-by: Olivier Goffart
Diffstat (limited to 'doc/src/snippets/qstring/stringbuilder.cpp')
0 files changed, 0 insertions, 0 deletions