This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/78021] [5/6/7 Regression] Wrong result with optimization on character constant
- From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 24 Oct 2016 22:12:38 +0000
- Subject: [Bug fortran/78021] [5/6/7 Regression] Wrong result with optimization on character constant
- Auto-submitted: auto-generated
- References: <bug-78021-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78021
--- Comment #6 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Author: tkoenig
Date: Mon Oct 24 22:12:06 2016
New Revision: 241498
URL: https://gcc.gnu.org/viewcvs?rev=241498&root=gcc&view=rev
Log:
2016-10-24 Thomas Koenig <tkoenig@gcc.gnu.org>
Backport from trunk
PR fortran/78021
* gfc_compare_functions: Strings with different lengths in
argument lists compare unequal.
2016-10-24 Thomas Koenig <tkoenig@gcc.gnu.org>
Backport from trunk
PR fortran/78021
* gfortran.dg/string_length_3.f90: New test.
Added:
branches/gcc-5-branch/gcc/testsuite/gfortran.dg/string_length_3.f90
Modified:
branches/gcc-5-branch/gcc/fortran/ChangeLog
branches/gcc-5-branch/gcc/fortran/dependency.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog