public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug fortran/94347] New: Assignment pointer at declaration @ 2020-03-26 19:36 rondam at yandex dot ru 2020-03-26 20:10 ` [Bug fortran/94347] " kargl at gcc dot gnu.org ` (4 more replies) 0 siblings, 5 replies; 6+ messages in thread From: rondam at yandex dot ru @ 2020-03-26 19:36 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94347 Bug ID: 94347 Summary: Assignment pointer at declaration Product: gcc Version: 8.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: rondam at yandex dot ru Target Milestone: --- I am trying to compile the code: program main character(10), target :: a character(:), pointer :: p => null() p => a end program main gfortran version 8.3.0 produces: internal compiler error: in gfc_get_symbol_decl, at fortran/trans-decl.c:1820 gfortran version 7.5.0 produces: internal compiler error: in gfc_get_symbol_decl, at fortran/trans-decl.c:1777 But this: program main character(10), target :: a character(:), pointer :: p p => null() p => a end program main or this: program main character, dimension(10), target :: a character, dimension(:), pointer :: p => null() p => a end program main is compliled ok. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/94347] Assignment pointer at declaration 2020-03-26 19:36 [Bug fortran/94347] New: Assignment pointer at declaration rondam at yandex dot ru @ 2020-03-26 20:10 ` kargl at gcc dot gnu.org 2020-04-19 11:53 ` tkoenig at gcc dot gnu.org ` (3 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: kargl at gcc dot gnu.org @ 2020-03-26 20:10 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94347 kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P4 Known to work| |10.0, 9.2.1 CC| |kargl at gcc dot gnu.org --- Comment #1 from kargl at gcc dot gnu.org --- Upgrade to a newer version. This will likely get closed as WONTFIX in a year or two. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/94347] Assignment pointer at declaration 2020-03-26 19:36 [Bug fortran/94347] New: Assignment pointer at declaration rondam at yandex dot ru 2020-03-26 20:10 ` [Bug fortran/94347] " kargl at gcc dot gnu.org @ 2020-04-19 11:53 ` tkoenig at gcc dot gnu.org 2020-04-19 12:06 ` cvs-commit at gcc dot gnu.org ` (2 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: tkoenig at gcc dot gnu.org @ 2020-04-19 11:53 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94347 Thomas Koenig <tkoenig at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Last reconfirmed| |2020-04-19 CC| |tkoenig at gcc dot gnu.org Status|UNCONFIRMED |NEW --- Comment #2 from Thomas Koenig <tkoenig at gcc dot gnu.org> --- Works with current trunk and gcc 9. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/94347] Assignment pointer at declaration 2020-03-26 19:36 [Bug fortran/94347] New: Assignment pointer at declaration rondam at yandex dot ru 2020-03-26 20:10 ` [Bug fortran/94347] " kargl at gcc dot gnu.org 2020-04-19 11:53 ` tkoenig at gcc dot gnu.org @ 2020-04-19 12:06 ` cvs-commit at gcc dot gnu.org 2020-04-19 12:08 ` cvs-commit at gcc dot gnu.org 2020-04-19 12:15 ` tkoenig at gcc dot gnu.org 4 siblings, 0 replies; 6+ messages in thread From: cvs-commit at gcc dot gnu.org @ 2020-04-19 12:06 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94347 --- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Thomas Kथà¤nig <tkoenig@gcc.gnu.org>: https://gcc.gnu.org/g:ba36d0b9d472c4193772878969d57d3d5ea1ee5a commit r10-7797-gba36d0b9d472c4193772878969d57d3d5ea1ee5a Author: Thomas König <tkoenig@gcc.gnu.org> Date: Sun Apr 19 14:05:46 2020 +0200 PR 94347 - add a test case for something a PR has fixed itself. 2020-04-19 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/94347 * gfortran.dg/char_pointer_init_1.f90: New test. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/94347] Assignment pointer at declaration 2020-03-26 19:36 [Bug fortran/94347] New: Assignment pointer at declaration rondam at yandex dot ru ` (2 preceding siblings ...) 2020-04-19 12:06 ` cvs-commit at gcc dot gnu.org @ 2020-04-19 12:08 ` cvs-commit at gcc dot gnu.org 2020-04-19 12:15 ` tkoenig at gcc dot gnu.org 4 siblings, 0 replies; 6+ messages in thread From: cvs-commit at gcc dot gnu.org @ 2020-04-19 12:08 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94347 --- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Thomas Kथà¤nig <tkoenig@gcc.gnu.org>: https://gcc.gnu.org/g:82aa0d5b9b5e288f7f83f69089aef030965046fe commit r10-7798-g82aa0d5b9b5e288f7f83f69089aef030965046fe Author: Thomas König <tkoenig@gcc.gnu.org> Date: Sun Apr 19 14:08:16 2020 +0200 PR 94347 - fix previous ChangeLog entry. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/94347] Assignment pointer at declaration 2020-03-26 19:36 [Bug fortran/94347] New: Assignment pointer at declaration rondam at yandex dot ru ` (3 preceding siblings ...) 2020-04-19 12:08 ` cvs-commit at gcc dot gnu.org @ 2020-04-19 12:15 ` tkoenig at gcc dot gnu.org 4 siblings, 0 replies; 6+ messages in thread From: tkoenig at gcc dot gnu.org @ 2020-04-19 12:15 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94347 Thomas Koenig <tkoenig at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #5 from Thomas Koenig <tkoenig at gcc dot gnu.org> --- Fixed, closing. Thanks for the bug report! ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2020-04-19 12:15 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2020-03-26 19:36 [Bug fortran/94347] New: Assignment pointer at declaration rondam at yandex dot ru 2020-03-26 20:10 ` [Bug fortran/94347] " kargl at gcc dot gnu.org 2020-04-19 11:53 ` tkoenig at gcc dot gnu.org 2020-04-19 12:06 ` cvs-commit at gcc dot gnu.org 2020-04-19 12:08 ` cvs-commit at gcc dot gnu.org 2020-04-19 12:15 ` tkoenig at gcc dot gnu.org
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).