[Bug fortran/79492] New: odd behaviour triggered on applying log function

oivulf at gmail dot com gcc-bugzilla@gcc.gnu.org
Mon Feb 13 16:56:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79492

            Bug ID: 79492
           Summary: odd behaviour triggered on applying log function
           Product: gcc
           Version: 6.3.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: oivulf at gmail dot com
  Target Milestone: ---

Created attachment 40728
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40728&action=edit
compile it with -g -fcheck=all to trigger runtime error

When compiling with all checks activated,
real, allocatable:: a(:)
real:: b(5)

a=b    !no complains
a=log(b) !Array bound mismatch for dimension 1 of array
but ...
a=b; a=log(b)  ! no complains


More information about the Gcc-bugs mailing list