[Bug fortran/33554] Seg.fault: Default initialization of derived type uses uninitialized values
anlauf at gmx dot de
gcc-bugzilla@gcc.gnu.org
Wed Sep 26 05:19:00 GMT 2007
------- Comment #4 from anlauf at gmx dot de 2007-09-26 05:19 -------
(In reply to comment #2)
This appears to be a regression, as the following version does not crash:
GNU Fortran (GCC) 4.3.0 20070416 (experimental)
while it occurs with
GNU Fortran (GCC) 4.3.0 20070907 (experimental) [trunk revision 128220]
and later.
> From the dump:
>
> construct_temp (temp)
> {
> int8 ubound.0;
> int8 stride.1;
> if (temp != 0)
> {
> {
> int8 D.888;
> int8 D.887;
>
> D.887 = offset.2;
> D.888 = ubound.0;
>
> Question to the reader: Which value has ubound and offset in the assignment
> above?
The dump produced by the 20070416 version looks quite different.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33554
More information about the Gcc-bugs
mailing list