https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71880
Dominique d'Humieres changed:
What|Removed |Added
CC||clange001 at gmail dot com
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71880
Paul Thomas changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71880
--- Comment #10 from Paul Thomas ---
Author: pault
Date: Sun Oct 21 17:32:06 2018
New Revision: 265353
URL: https://gcc.gnu.org/viewcvs?rev=265353=gcc=rev
Log:
2018-10-21 Paul Thomas
PR fortran/71880
* trans-expr.c
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71880
--- Comment #9 from paul.richard.thomas at gmail dot com ---
Not quite fixed. The lhs character length doesn't get set and so it
fails at runtime. I will commit the patch as 'obvious'.
Paul
2018-10-19 Paul Thomas
PR fortran/71880
*
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71880
Dominique d'Humieres changed:
What|Removed |Added
CC||pault at gcc dot gnu.org
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71880
--- Comment #7 from Harald Anlauf ---
(In reply to Harald Anlauf from comment #6)
> Additional data points:
>
> - The ICE in comment #4 can be reproduced with
>
> character(:), dimension(:), pointer :: p => NULL()
> write(*,*) size(p)!
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71880
--- Comment #6 from Harald Anlauf ---
Additional data points:
- The ICE in comment #4 can be reproduced with
character(:), dimension(:), pointer :: p => NULL()
write(*,*) size(p)! ICE
write(*,*) len(p) ! ICE
end
- The bug in the
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71880
--- Comment #5 from Harald Anlauf ---
Maybe the dump-tree gives a hint. Looking at the example
program t
character(:), dimension(:), allocatable, target :: c
character(:), dimension(:), pointer :: p
allocate(c(10),source='X')
p=>c
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71880
Harald Anlauf changed:
What|Removed |Added
CC||anlauf at gmx dot de
--- Comment #4
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71880
--- Comment #3 from Dominique d'Humieres ---
When compiled with '-m64 -fsanitize=address' the test give at run time
=
==81688==ERROR: AddressSanitizer: negative-size-param:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71880
Dominique d'Humieres changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71880
--- Comment #1 from Valery Weber ---
what about this one?
cat gcc-6.1b.f90
program t
character(:), dimension(:), allocatable, target :: c
character(:), dimension(:), pointer :: p
allocate(c(10),source='X')
p=>c(:)
write(*,*) 'p=<',p(1),'>
12 matches
Mail list logo