The attached program causes an arithmetic overflow error with the following gfortran versions: 4.3.1, 4.3.2, and the trunk at revision 143193. It does NOT cause an error with version 4.2.1.
Also attached is the output from running gfortran -v --save-temps. -- Summary: Arithmetic Overflow with Integer Parameter Assignment Product: gcc Version: unknown Status: UNCONFIRMED Severity: blocker Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tom dot browder at gmail dot com GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38773