[fixed in 4.5] segfault when compiling malformed write statement
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gcc-4.4 (Ubuntu) |
Triaged
|
Low
|
Unassigned |
Bug Description
Binary package hint: gcc-4.4
When I compile the following program
program main
implicit none
! Syntax error here
write(
end program main
with gcc-4.4 on Ubuntu 9.10 using the following command
gfortran main.f90
, I get a segmentation fault. Complete GCC output:
f951: internal compiler error: Segmentation fault
Please submit a full bug report, with preprocessed source if appropriate.
See <file:/
Expected behaviour: gfortran raises an error.
Environment:
$ gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-
Thread model: posix
gcc version 4.4.1 (Ubuntu 4.4.1-4ubuntu8)
fixed in 4.5