------- Comment #1 from ajrobb at bigfoot dot com 2009-02-12 10:58 ------- Created an attachment (id=17285) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17285&action=view) small test file
run as: ./soundex burroughs ashcraft brc mcknight mcnaught mcknawt The optimised code produces: strlen("burroughs") B620 burroughs strlen("ashcraft") A261 ashcraft strlen("brc") B620 brc strlen("mcknight") M252 mcknight strlen("mcnaught") M252 mcnaught strlen("mcknawt") M253 mcknawt The debug code produces: strlen("burroughs") B620 burroughs strlen("ashcraft") Segmentation fault -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39166