http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47296
--- Comment #7 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> 2011-01-15 18:16:33 UTC --- Unpatched on Cygwin on Windows 7, I do not get the segfault. I also do not get the OS error. The assign error mechanism of the test case picks up that there is a problem. The windows version does not give an error and sets the tempfile name string even though no file is opened. I am doing a rebuild to latest trunk on the Win7 box, so when that is done, I will see what mechanism we need to error out on this.