This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/65532] [5 Regression] Unexpected error with legacy code (D1MACH)
- From: "mikael at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 24 Mar 2015 10:57:12 +0000
- Subject: [Bug fortran/65532] [5 Regression] Unexpected error with legacy code (D1MACH)
- Auto-submitted: auto-generated
- References: <bug-65532-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65532
--- Comment #4 from Mikael Morin <mikael at gcc dot gnu.org> ---
With r221586, procedure d1mach is resolved more than once.
At the first time resolve_values is called, the problematic variables (diver,
large, etc) have a NULL sym->value, which is set afterwards in resolve_data.
On the second call, the value is non-null and the error is produced.