This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/23906] New: inappropriate branch condition in function "transform_sections" in "dependency.c"


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]