------- Additional Comments From tkoenig at gcc dot gnu dot org 2005-08-12 22:29 ------- This also segfaults (see below).
I am also seeing the gfortran testsuite failure prompted by this problem on http://gcc.gnu.org/ml/gcc-testresults/2005-08/msg00694.html and http://gcc.gnu.org/ml/gcc-testresults/2005-08/msg00683.html , so this is not a local issue. (gdb) r Starting program: /home/ig25/Krempel/a.out Program received signal SIGSEGV, Segmentation fault. 0x08048367 in main () at x.c:10 10 __builtin_ia32_ldmxcsr (mxcsr); (gdb) disassemble Dump of assembler code for function main: 0x08048334 <main+0>: push %ebp 0x08048335 <main+1>: mov %esp,%ebp 0x08048337 <main+3>: sub $0x18,%esp 0x0804833a <main+6>: and $0xfffffff0,%esp 0x0804833d <main+9>: mov $0x0,%eax 0x08048342 <main+14>: add $0xf,%eax 0x08048345 <main+17>: add $0xf,%eax 0x08048348 <main+20>: shr $0x4,%eax 0x0804834b <main+23>: shl $0x4,%eax 0x0804834e <main+26>: sub %eax,%esp 0x08048350 <main+28>: stmxcsr 0xffffffec(%ebp) 0x08048354 <main+32>: mov 0xffffffec(%ebp),%eax 0x08048357 <main+35>: mov %eax,0xfffffffc(%ebp) 0x0804835a <main+38>: orl $0x8040,0xfffffffc(%ebp) 0x08048361 <main+45>: mov 0xfffffffc(%ebp),%eax 0x08048364 <main+48>: mov %eax,0xffffffec(%ebp) 0x08048367 <main+51>: ldmxcsr 0xffffffec(%ebp) 0x0804836b <main+55>: mov $0x0,%eax 0x08048370 <main+60>: leave 0x08048371 <main+61>: ret End of assembler dump. (gdb) p/x $pc $1 = 0x8048367 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23360