public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug fortran/49268] New: Invalid code generated for assumed-size Cray pointee @ 2011-06-02 19:11 langton at gcc dot gnu.org 2011-06-02 19:12 ` [Bug fortran/49268] " langton at gcc dot gnu.org ` (2 more replies) 0 siblings, 3 replies; 4+ messages in thread From: langton at gcc dot gnu.org @ 2011-06-02 19:11 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49268 Summary: Invalid code generated for assumed-size Cray pointee Product: gcc Version: 4.5.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned@gcc.gnu.org ReportedBy: langton@gcc.gnu.org The attached code compiles but segfaults at runtime as of revision 157512. I have a tentative fix that I'll post shortly. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug fortran/49268] Invalid code generated for assumed-size Cray pointee 2011-06-02 19:11 [Bug fortran/49268] New: Invalid code generated for assumed-size Cray pointee langton at gcc dot gnu.org @ 2011-06-02 19:12 ` langton at gcc dot gnu.org 2011-06-02 21:57 ` langton at gcc dot gnu.org 2011-06-06 18:17 ` langton at gcc dot gnu.org 2 siblings, 0 replies; 4+ messages in thread From: langton at gcc dot gnu.org @ 2011-06-02 19:12 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49268 Asher Langton <langton at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot |langton at gcc dot gnu.org |gnu.org | --- Comment #1 from Asher Langton <langton at gcc dot gnu.org> 2011-06-02 19:11:52 UTC --- Created attachment 24418 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24418 Example that reproduces the bug ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug fortran/49268] Invalid code generated for assumed-size Cray pointee 2011-06-02 19:11 [Bug fortran/49268] New: Invalid code generated for assumed-size Cray pointee langton at gcc dot gnu.org 2011-06-02 19:12 ` [Bug fortran/49268] " langton at gcc dot gnu.org @ 2011-06-02 21:57 ` langton at gcc dot gnu.org 2011-06-06 18:17 ` langton at gcc dot gnu.org 2 siblings, 0 replies; 4+ messages in thread From: langton at gcc dot gnu.org @ 2011-06-02 21:57 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49268 Asher Langton <langton at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED --- Comment #2 from Asher Langton <langton at gcc dot gnu.org> 2011-06-02 21:56:54 UTC --- Author: langton Date: Thu Jun 2 21:41:12 2011 New Revision: 174584 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174584 Log: * trans-decl.c (gfc_trans_deferred_vars): Treat assumed-size Cray pointees as AS_EXPLICIT. * gfortran.dg/PR49268.f90: New test. Added: trunk/gcc/testsuite/gfortran.dg/PR49268.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/trans-decl.c trunk/gcc/testsuite/ChangeLog ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug fortran/49268] Invalid code generated for assumed-size Cray pointee 2011-06-02 19:11 [Bug fortran/49268] New: Invalid code generated for assumed-size Cray pointee langton at gcc dot gnu.org 2011-06-02 19:12 ` [Bug fortran/49268] " langton at gcc dot gnu.org 2011-06-02 21:57 ` langton at gcc dot gnu.org @ 2011-06-06 18:17 ` langton at gcc dot gnu.org 2 siblings, 0 replies; 4+ messages in thread From: langton at gcc dot gnu.org @ 2011-06-06 18:17 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49268 --- Comment #3 from Asher Langton <langton at gcc dot gnu.org> 2011-06-06 18:17:28 UTC --- Author: langton Date: Mon Jun 6 18:17:26 2011 New Revision: 174719 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174719 Log: PR fortran/49268 * trans-decl.c (gfc_trans_deferred_vars): Treat assumed-size Cray pointees as AS_EXPLICIT. PR fortran/49268 * gfortran.dg/PR49268.f90: New test. Added: branches/gcc-4_6-branch/gcc/testsuite/gfortran.dg/PR49268.f90 Modified: branches/gcc-4_6-branch/gcc/fortran/ChangeLog branches/gcc-4_6-branch/gcc/fortran/trans-decl.c branches/gcc-4_6-branch/gcc/testsuite/ChangeLog ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-06-06 18:17 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2011-06-02 19:11 [Bug fortran/49268] New: Invalid code generated for assumed-size Cray pointee langton at gcc dot gnu.org 2011-06-02 19:12 ` [Bug fortran/49268] " langton at gcc dot gnu.org 2011-06-02 21:57 ` langton at gcc dot gnu.org 2011-06-06 18:17 ` langton 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).