[Bug c++/46691] Null pointer in template deduction
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46691 --- Comment #6 from CVS Commits --- The releases/gcc-9 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:c8cd1acae4c26929400fae0d7fb17cfef8c15be0 commit r9-9712-gc8cd1acae4c26929400fae0d7fb17cfef8c15be0 Author: Paul Thomas Date: Thu May 6 14:41:33 2021 +0100 Fortran: Assumed and explicit size class arrays [PR46691/99819]. 2021-05-06 Paul Thomas gcc/fortran/ChangeLog PR fortran/46691 PR fortran/99819 * class.c (gfc_build_class_symbol): Remove the error that disables assumed size class arrays. Class array types that are not deferred shape or assumed rank are given a unique name and placed in the procedure namespace. * trans-array.c (gfc_trans_g77_array): Obtain the data pointer for class arrays. (gfc_trans_dummy_array_bias): Suppress the runtime error for extent violations in explicit shape class arrays because it always fails. * trans-expr.c (gfc_conv_procedure_call): Handle assumed size class actual arguments passed to non-descriptor formal args by using the data pointer, stored as the symbol's backend decl. gcc/testsuite/ChangeLog PR fortran/46691 PR fortran/99819 * gfortran.dg/class_dummy_6.f90: New test. * gfortran.dg/class_dummy_7.f90: New test. (cherry picked from commit a2c593009fef1564dbef2237ee71e9fd08f5361e)
[Bug c++/46691] Null pointer in template deduction
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46691 --- Comment #5 from CVS Commits --- The releases/gcc-10 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:53907e20ee1fdf91163ff19b8f1dc716563e903a commit r10-10081-g53907e20ee1fdf91163ff19b8f1dc716563e903a Author: Paul Thomas Date: Thu May 6 14:41:33 2021 +0100 Fortran: Assumed and explicit size class arrays [PR46691/99819]. 2021-05-06 Paul Thomas gcc/fortran/ChangeLog PR fortran/46691 PR fortran/99819 * class.c (gfc_build_class_symbol): Remove the error that disables assumed size class arrays. Class array types that are not deferred shape or assumed rank are given a unique name and placed in the procedure namespace. * trans-array.c (gfc_trans_g77_array): Obtain the data pointer for class arrays. (gfc_trans_dummy_array_bias): Suppress the runtime error for extent violations in explicit shape class arrays because it always fails. * trans-expr.c (gfc_conv_procedure_call): Handle assumed size class actual arguments passed to non-descriptor formal args by using the data pointer, stored as the symbol's backend decl. gcc/testsuite/ChangeLog PR fortran/46691 PR fortran/99819 * gfortran.dg/class_dummy_6.f90: New test. * gfortran.dg/class_dummy_7.f90: New test. (cherry picked from commit a2c593009fef1564dbef2237ee71e9fd08f5361e)
[Bug c++/46691] Null pointer in template deduction
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46691 --- Comment #4 from CVS Commits --- The releases/gcc-11 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:be64e725111fdb9caa05374823b4423b8ab49dc7 commit r11-8936-gbe64e725111fdb9caa05374823b4423b8ab49dc7 Author: Paul Thomas Date: Thu May 6 14:41:33 2021 +0100 Fortran: Assumed and explicit size class arrays [PR46691/99819]. 2021-05-06 Paul Thomas gcc/fortran/ChangeLog PR fortran/46691 PR fortran/99819 * class.c (gfc_build_class_symbol): Remove the error that disables assumed size class arrays. Class array types that are not deferred shape or assumed rank are given a unique name and placed in the procedure namespace. * trans-array.c (gfc_trans_g77_array): Obtain the data pointer for class arrays. (gfc_trans_dummy_array_bias): Suppress the runtime error for extent violations in explicit shape class arrays because it always fails. * trans-expr.c (gfc_conv_procedure_call): Handle assumed size class actual arguments passed to non-descriptor formal args by using the data pointer, stored as the symbol's backend decl. gcc/testsuite/ChangeLog PR fortran/46691 PR fortran/99819 * gfortran.dg/class_dummy_6.f90: New test. * gfortran.dg/class_dummy_7.f90: New test. (cherry picked from commit a2c593009fef1564dbef2237ee71e9fd08f5361e)
[Bug c++/46691] Null pointer in template deduction
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46691 Paul Thomas changed: What|Removed |Added CC||pault at gcc dot gnu.org --- Comment #3 from Paul Thomas --- (In reply to CVS Commits from comment #2) > The master branch has been updated by Paul Thomas : > Apologies for the noise : This should have been PR46991. Paul
[Bug c++/46691] Null pointer in template deduction
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46691 --- Comment #2 from CVS Commits --- The master branch has been updated by Paul Thomas : https://gcc.gnu.org/g:a2c593009fef1564dbef2237ee71e9fd08f5361e commit r12-570-ga2c593009fef1564dbef2237ee71e9fd08f5361e Author: Paul Thomas Date: Thu May 6 14:41:33 2021 +0100 Fortran: Assumed and explicit size class arrays [PR46691/99819]. 2021-05-06 Paul Thomas gcc/fortran/ChangeLog PR fortran/46691 PR fortran/99819 * class.c (gfc_build_class_symbol): Remove the error that disables assumed size class arrays. Class array types that are not deferred shape or assumed rank are given a unique name and placed in the procedure namespace. * trans-array.c (gfc_trans_g77_array): Obtain the data pointer for class arrays. (gfc_trans_dummy_array_bias): Suppress the runtime error for extent violations in explicit shape class arrays because it always fails. * trans-expr.c (gfc_conv_procedure_call): Handle assumed size class actual arguments passed to non-descriptor formal args by using the data pointer, stored as the symbol's backend decl. gcc/testsuite/ChangeLog PR fortran/46691 PR fortran/99819 * gfortran.dg/class_dummy_6.f90: New test. * gfortran.dg/class_dummy_7.f90: New test.
[Bug c++/46691] Null pointer in template deduction
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46691 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||DUPLICATE --- Comment #1 from Paolo Carlini paolo.carlini at oracle dot com 2010-11-28 10:48:46 UTC --- Looks like yet another duplicate to me. *** This bug has been marked as a duplicate of bug 23055 ***