This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/52162] Bogus -fcheck=bounds with realloc on assignment to unallocated LHS
- From: "burnus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 09 Feb 2012 17:27:26 +0000
- Subject: [Bug fortran/52162] Bogus -fcheck=bounds with realloc on assignment to unallocated LHS
- Auto-submitted: auto-generated
- References: <bug-52162-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52162
--- Comment #2 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-02-09 17:27:26 UTC ---
(In reply to comment #1)
> As expr2->value.function.isym is set (expr2->value.function.isym->id ==
> GFC_ISYM_CONVERSION), the is_alloc_lhs is not set. Hence, the bound checking
> code is inserted.
All intrinsics, which do not call libgfortran, should be affected. For
instance:
B = tan(A)