Re: Support for NOINLINE attribute

2023-02-23 Thread Bernhard Reutner-Fischer via Fortran
Hi Rimvydas! On Sat, 18 Feb 2023 21:35:47 +0100 Bernhard Reutner-Fischer wrote: > On Fri, 10 Feb 2023 07:42:47 +0200 > Rimvydas Jasinskas via Fortran wrote: > > > * decl.cc: Add EXT_ATTR_NOINLINE, EXT_ATTR_NORETURN, EXT_ATTR_WEAK. > > * gfortran.h (ext_attr_id_t): Ditto. > > We had that dis

Re: Support for WEAK attribute, part 2

2023-02-23 Thread Rimvydas Jasinskas via Fortran
On Thu, Feb 23, 2023 at 10:53 PM Harald Anlauf wrote: > the patch is mostly fine, but there is a minor style issue: > > + if (sym->attr.ext_attr & (1 << EXT_ATTR_WEAK)) > + gfc_error ("Symbol %qs at %L has the WEAK attribute but is a %s", > + sym->name, &sym->declared_a

Re: Support for WEAK attribute, part 2

2023-02-23 Thread Harald Anlauf via Fortran
Hi Rimvydas, > Attached is part2 patch for weak variables support. the patch is mostly fine, but there is a minor style issue: + if (sym->attr.ext_attr & (1 << EXT_ATTR_WEAK)) + gfc_error ("Symbol %qs at %L has the WEAK attribute but is a %s", + sym->name, &sym->decla

GCC has been accepted as a GSoC mentoring org

2023-02-23 Thread Martin Jambor
Hello, I'm happy to announce that GCC has been accepted as a mentoring organization in Google Summer of Code 2023! The program is now in a phase that is called "Potential GSoC contributors discuss application ideas with mentoring organizations" and so let's do just that. Contributors will

Re: [Patch] Fortran/OpenMP: Fix mapping of array descriptors and deferred-length strings

2023-02-23 Thread Tobias Burnus
Minor change to previous patch – it did not affect the mainline build but it makes more sense this way and on OG12, i.e. with mapping allocatable components (patch posted last year in Q1 during Stage 4), it gave an ICE without this change as one '*' wasn't stripped. --- b/gcc/fortran/trans-openmp

Re: Willing to contribute to the project Idea "Fortran – DO CONCURRENT"

2023-02-23 Thread Steve Kargl via Fortran
On Thu, Feb 23, 2023 at 07:24:26AM -0800, Damian Rouson wrote: > I wonder if a relatively easy starting point would be enabling the > declaration of do concurrent construct variables: > > do concurrent (integer :: i = 1:n) > > It’s a minor convenience and less exciting than adding locality specif

Re: Willing to contribute to the project Idea "Fortran – DO CONCURRENT"

2023-02-23 Thread Tobias Burnus
(I have now also left out the gcc* mailing list, leaving only fortran@gcc.gnu.org in.) On 23.02.23 16:24, Damian Rouson wrote: I wonder if a relatively easy starting point would be enabling the declaration of do concurrent construct variables: do concurrent (integer :: i = 1:n) It’s a minor c

Re: Willing to contribute to the project Idea "Fortran – DO CONCURRENT"

2023-02-23 Thread Damian Rouson
I wonder if a relatively easy starting point would be enabling the declaration of do concurrent construct variables: do concurrent (integer :: i = 1:n) It’s a minor convenience and less exciting than adding locality specifiers but possibly a good first exercise. Damian On Thu, Feb 23, 2023 at

Re: Willing to contribute to the project Idea "Fortran – DO CONCURRENT"

2023-02-23 Thread Tobias Burnus
Hi, and welcome to the GCC / gfortran community. On 23.02.23 14:15, varma datla via Fortran wrote: I am willing to contribute to the project idea "Fortran – DO CONCURRENT". I hope the following helps a bit – it is admittedly a bit chaotic, but I try to write something cleaner later. But to h

Support for module-wide attributes

2023-02-23 Thread Rimvydas Jasinskas via Fortran
Hello everyone, this patch implements module-wide gcc directive support to apply attributes to the whole module. Patch closely follows how plain SAVE statement is implemented with seen_save/gfc_save_all() by using "mod_ext_attr" bitfield in a current namespace. There are certain complications ho

Re: Support for WEAK attribute, part 2

2023-02-23 Thread Rimvydas Jasinskas via Fortran
Thank you Harald, for the feedback! Attached is part2 patch for weak variables support. I'll post part3 patch for module-wide attribute support separately. Best regards, Rimvydas From fb1cf60d3fd7c6aa2d9787bb3af86f18e0178bf7 Mon Sep 17 00:00:00 2001 From: Rimvydas Jasinskas Date: Thu, 23 Feb 20

Willing to contribute to the project Idea "Fortran – DO CONCURRENT"

2023-02-23 Thread varma datla via Fortran
Hi, My name is Satyanarayana Varma. I am willing to contribute to the project idea "Fortran – DO CONCURRENT". Please suggest some resources to me so that I can learn your technologies. Could you please assign me some good first issues for the starting. Thank you, Regards. Satyanarayana Datla