On Wed, 2006-05-31 at 10:49 -0700, Philip M. Gollucci wrote: > So, does library/t/parsers fail for you without the -fno-strict-aliasing flag > under -02 ?
Yes. The output is: ---------------------------- version....ok cookie.....ok params.....ok parsers....ok 1/542 ---------------------------- With process lt-parsers consuming all CPU and having no strace output (i.e. it's stuck in an infinite loop). Backtrace from gdb is: ---------------------------- (gdb) bt #0 0x0019c514 in split_on_bdry (out=0x8a569e8, in=0x8a56a08, pattern=0x8a563e0, bdry=0x8a563d1 "\r\n--AaB03x") at parser_multipart.c:167 #1 0x0019cb29 in apreq_parse_multipart (parser=0x8a56330, t=0x8a561b8, bb=0x8a56350) at parser_multipart.c:580 #2 0x0804ba87 in parse_multipart (AT=0x890e138) at ../../include/apreq_parser.h:126 #3 0x0804c3da in at_run (AT=0x890e138, test=0xbff45a30) at at.c:337 #4 0x08049426 in main () at parsers.c:546 ---------------------------- With -fno-strict-aliasing, I get: ---------------------------- version....ok cookie.....ok params.....ok parsers....ok error......ok util.......ok All tests successful. ---------------------------- -- Bojan