This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/23906] New: inappropriate branch condition in function "transform_sections" in "dependency.c"
- From: "skyhover at hotmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Sep 2005 22:48:21 -0000
- Subject: [Bug fortran/23906] New: inappropriate branch condition in function "transform_sections" in "dependency.c"
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Line 422 in the file is a if-statement:
if (l_stride != NULL)
mpz_cdiv_q (X2, X2, r_stride->value.integer);
I am not clear about the functionality of "mpz_cdiv_q", but I think the
condition should be "r_stride != NULL" by looking at its surroundings and
complying to certain consistency rules.
Thank you.
--
Summary: inappropriate branch condition in function
"transform_sections" in "dependency.c"
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: skyhover at hotmail dot com
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23906