------- Comment #27 from jvdelisle at gcc dot gnu dot org 2006-11-29 03:57 ------- Created an attachment (id=12704) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12704&action=view) Huge+ record size unformatted write then read test
This test program exercizes patch 10 with very large record sizes. The program executes correctly (except the recl value printed, noted elsewhere) on x86-64-linux-gnu. The program fails on x86-64-freebsd and never completes the first write. It just keeps going, and going, and going .... This is a target specific issue. My guess is that it has to do with alignment or types. Maybe mixed type arithmetic, size_t vs gfc_offset. Is size_t 32 bits on freebsd and gfc_offset 64? I will attempt to change all new variables to gfc_offset and see if that fixes it. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29568