forked from gcc-mirror/gcc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
2018-06-06 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/85641 * frontend-passes.c (is_fe_temp): Add prototype. (realloc_string_callback): Early return for frontend-generated temporary. 2018-06-06 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/85641 * gfortran.dg/realloc_on_assign_30.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@261248 138bc75d-0d04-0410-961f-82ee72b054a4
- Loading branch information
tkoenig
committed
Jun 6, 2018
1 parent
a4db72c
commit e035747
Showing
4 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
! { dg-do compile } | ||
! PR 85641 - this used to ICE due do infinite recursion. | ||
! Test case by Antony Lewis. | ||
program tester | ||
character(LEN=:), allocatable :: fields | ||
integer j | ||
character(LEN=4), parameter :: CMB_CL_Fields = 'TEBP' | ||
|
||
fields = '' | ||
j=1 | ||
fields = fields // CMB_CL_Fields(j:j) | ||
|
||
end program tester |