agozillon
8f5df88918
[Flang][Semantics] Allow declare target to be used on functions external to the declare targets scope ( #122546 )
...
Whilst a little contrived, OpenMP allows you to utilise declare target
in the scope of one function to mark another function declare target,
currently this leads to a semantic error.
This appears to be because when we process the declare target directive
in the scope of another function (referring to another function), we do
not search externally from that functions scope to find possible prior
definitions, we only search in the current scope, this leads to us
implicitly defining a new variable and using that when implicit none is
not specified and then error'ng out or error'ng out earlier when implict
none is defined. This patch tries to address this behaviour by looking
externally for a function first and using that, before defaulting back
to the prior behaviour.
2025-01-21 16:05:12 +01:00
..
2024-10-24 05:54:35 -05:00
2024-05-22 10:21:46 +01:00
2024-05-22 10:21:46 +01:00
2024-05-22 10:21:46 +01:00
2024-05-22 10:21:46 +01:00
2024-05-22 10:21:46 +01:00
2024-05-22 10:21:46 +01:00
2024-05-22 10:21:46 +01:00
2024-05-22 10:21:46 +01:00
2024-05-22 10:21:46 +01:00
2025-01-06 11:02:31 +00:00
2024-12-02 08:11:49 -06:00
2024-05-22 22:16:40 +01:00
2024-12-02 08:11:49 -06:00
2024-05-22 10:21:46 +01:00
2024-05-22 10:21:46 +01:00
2024-12-02 08:11:49 -06:00
2024-12-02 08:11:49 -06:00
2024-12-02 08:11:49 -06:00
2024-12-11 16:29:02 +00:00
2024-10-23 08:57:31 +05:30
2024-05-22 10:21:46 +01:00
2024-05-22 10:21:46 +01:00
2024-12-11 16:29:02 +00:00
2024-10-21 13:07:48 +05:30
2024-12-11 16:29:02 +00:00
2024-09-26 08:56:41 -05:00
2024-05-16 07:28:40 -07:00
2024-12-02 15:05:21 +00:00
2024-09-18 10:40:41 +01:00
2024-05-22 10:21:46 +01:00
2024-09-03 10:19:22 +01:00
2024-12-12 12:19:35 -06:00
2024-09-26 08:56:41 -05:00
2024-11-25 07:38:12 -06:00
2024-05-22 22:16:40 +01:00
2024-05-22 22:16:40 +01:00
2024-08-15 14:14:18 -03:00
2024-05-22 22:16:40 +01:00
2024-05-22 22:16:40 +01:00
2024-05-22 22:16:40 +01:00
2024-05-22 22:16:40 +01:00
2024-05-22 22:16:40 +01:00
2024-05-22 22:16:40 +01:00
2024-05-22 22:16:40 +01:00
2024-05-22 22:16:40 +01:00
2024-05-22 22:16:40 +01:00
2024-07-31 14:39:06 -03:00
2024-11-28 12:37:22 +00:00
2024-05-22 22:16:40 +01:00
2024-05-22 22:16:40 +01:00
2024-05-21 10:20:59 +01:00
2024-12-06 12:11:46 -06:00
2024-10-17 11:32:21 -03:00
2024-11-14 09:35:34 +00:00
2024-11-14 09:35:34 +00:00
2024-11-14 09:35:34 +00:00
2024-11-14 09:35:34 +00:00
2024-10-21 13:07:48 +05:30
2024-09-26 08:56:41 -05:00
2024-09-26 08:56:41 -05:00
2024-05-21 10:20:59 +01:00
2024-05-21 10:20:59 +01:00
2024-05-21 10:20:59 +01:00
2024-10-17 11:32:21 -03:00
2024-05-21 10:20:59 +01:00
2025-01-21 16:05:12 +01:00
2024-05-21 10:20:59 +01:00
2024-05-21 10:20:59 +01:00
2024-05-21 10:20:59 +01:00
2024-10-27 18:58:47 +00:00
2024-09-09 14:09:45 -03:00
2024-11-25 07:38:12 -06:00
2024-11-18 07:04:10 -06:00
2024-05-21 10:20:59 +01:00
2024-05-21 10:20:59 +01:00
2024-05-21 10:20:59 +01:00
2024-10-28 16:06:22 -05:00
2024-12-02 15:22:05 -06:00
2024-11-11 08:48:51 -06:00
2024-11-11 08:48:51 -06:00
2024-11-11 08:48:51 -06:00
2024-11-11 08:48:51 -06:00
2024-10-30 10:58:26 +00:00
2024-05-21 10:20:59 +01:00
2024-11-18 07:04:10 -06:00
2024-05-21 10:20:59 +01:00
2024-05-21 10:20:59 +01:00
2024-05-24 14:31:09 +01:00
2024-05-21 10:20:59 +01:00
2024-05-21 10:20:59 +01:00
2024-05-21 10:20:59 +01:00
2024-10-09 16:47:06 +02:00
2024-11-15 09:10:36 -08:00
2024-05-21 10:20:59 +01:00
2024-05-21 10:20:59 +01:00
2024-05-21 10:20:59 +01:00
2024-05-21 10:20:59 +01:00
2024-07-16 11:41:19 +01:00
2024-05-21 10:20:59 +01:00
2024-05-21 10:20:59 +01:00
2024-05-21 10:20:59 +01:00
2024-05-21 10:20:59 +01:00
2024-05-21 10:20:59 +01:00
2024-05-21 10:20:59 +01:00
2024-05-21 10:20:59 +01:00
2024-05-21 10:20:59 +01:00
2024-05-21 10:20:59 +01:00
2024-05-21 10:20:59 +01:00
2024-09-13 12:57:11 +01:00
2024-12-04 12:03:37 +00:00
2024-05-21 10:20:59 +01:00
2024-10-18 10:12:50 +05:30
2024-05-21 10:20:59 +01:00
2024-05-21 10:20:59 +01:00
2024-05-21 10:20:59 +01:00
2024-05-21 10:20:59 +01:00
2024-05-21 10:20:59 +01:00
2024-05-21 10:20:59 +01:00
2024-05-21 10:20:59 +01:00
2024-11-11 10:10:16 -06:00
2025-01-20 15:46:11 -03:00
2025-01-03 09:21:36 -06:00
2024-05-21 10:20:59 +01:00
2024-05-21 10:20:59 +01:00
2024-05-21 10:20:59 +01:00
2024-11-25 16:08:39 +05:30
2025-01-20 15:46:11 -03:00
2024-12-06 12:00:48 -06:00
2024-11-25 07:38:12 -06:00
2024-12-02 16:36:31 -06:00
2024-09-13 12:57:11 +01:00
2024-12-12 12:19:12 -06:00
2024-10-25 18:57:01 +01:00
2024-05-21 10:20:59 +01:00
2024-05-21 10:20:59 +01:00
2024-05-21 10:20:59 +01:00
2024-12-12 12:19:35 -06:00
2024-12-12 12:19:35 -06:00
2024-12-12 12:19:35 -06:00
2024-10-18 10:12:50 +05:30
2024-11-08 05:17:31 +01:00
2024-05-21 10:20:59 +01:00
2024-11-20 09:23:41 +00:00
2024-11-25 07:38:12 -06:00
2024-11-25 07:38:12 -06:00
2024-05-20 21:32:41 -07:00
2024-05-21 10:20:59 +01:00
2024-10-08 13:58:13 -05:00
2024-10-25 18:57:01 +01:00
2024-11-15 09:10:36 -08:00
2024-05-21 10:20:59 +01:00
2024-05-21 10:20:59 +01:00
2024-11-08 05:17:31 +01:00
2024-11-15 09:10:36 -08:00
2024-11-15 09:10:36 -08:00
2024-11-22 08:24:08 -06:00
2024-11-08 05:17:31 +01:00
2024-05-21 10:20:59 +01:00
2024-09-26 08:56:41 -05:00
2024-09-28 08:12:29 +05:30
2024-10-22 19:29:21 -07:00
2024-05-21 10:20:59 +01:00
2024-12-13 21:44:43 +09:00
2024-09-26 08:56:41 -05:00
2024-11-11 10:10:16 -06:00
2024-05-21 10:20:59 +01:00
2024-11-11 10:10:16 -06:00
2024-11-15 09:10:36 -08:00
2024-05-21 10:20:59 +01:00
2024-05-21 10:20:59 +01:00
2024-05-21 10:20:59 +01:00
2024-05-21 10:20:59 +01:00
2024-05-21 10:20:59 +01:00
2024-05-21 10:20:59 +01:00
2024-05-21 10:20:59 +01:00
2024-05-21 10:20:59 +01:00
2024-05-21 10:20:59 +01:00
2024-05-21 10:20:59 +01:00
2024-05-21 10:20:59 +01:00
2024-05-21 10:20:59 +01:00
2024-05-21 10:20:59 +01:00
2024-07-31 14:39:06 -03:00
2024-08-15 14:14:18 -03:00
2024-05-21 10:20:59 +01:00
2024-05-21 10:20:59 +01:00
2024-10-04 10:46:31 +01:00
2024-09-17 11:21:06 +01:00
2024-05-21 10:20:59 +01:00
2024-05-21 10:20:59 +01:00
2024-05-21 10:20:59 +01:00
2024-05-21 10:20:59 +01:00
2024-12-06 12:00:48 -06:00
2024-05-21 10:20:59 +01:00
2024-12-06 12:00:48 -06:00
2024-05-21 10:20:59 +01:00
2024-07-31 14:39:06 -03:00
2024-07-31 14:39:06 -03:00
2024-05-21 10:20:59 +01:00
2024-05-21 10:20:59 +01:00
2024-12-06 12:00:48 -06:00
2024-06-05 11:26:34 +01:00
2024-06-13 10:04:22 +01:00
2024-12-06 12:00:48 -06:00
2024-12-06 12:00:48 -06:00
2024-11-15 09:10:36 -08:00
2024-10-02 10:21:14 +01:00
2024-05-21 10:20:59 +01:00
2024-05-21 10:20:59 +01:00
2024-05-21 10:20:59 +01:00
2024-05-21 10:20:59 +01:00
2024-09-26 08:56:41 -05:00
2024-09-26 08:56:41 -05:00
2024-05-21 10:20:59 +01:00
2024-05-21 10:20:59 +01:00
2024-05-21 10:20:59 +01:00
2024-05-21 10:20:59 +01:00
2024-09-26 08:56:41 -05:00
2024-09-26 08:56:41 -05:00
2024-05-21 10:20:59 +01:00
2024-05-21 10:20:59 +01:00
2024-05-21 10:20:59 +01:00
2024-05-21 10:20:59 +01:00
2024-05-21 10:20:59 +01:00
2024-12-02 08:11:49 -06:00
2024-11-15 09:10:36 -08:00
2024-11-15 09:10:36 -08:00
2024-05-24 06:41:55 +01:00
2024-05-24 06:41:55 +01:00
2024-10-09 14:22:34 -05:00
2024-05-23 22:04:00 +01:00
2024-05-23 22:04:00 +01:00
2024-05-24 14:31:09 +01:00
2024-05-24 06:41:55 +01:00
2024-09-26 08:56:41 -05:00
2024-05-22 18:02:41 +01:00
2024-05-22 18:02:41 +01:00
2024-05-23 22:04:00 +01:00
2024-09-13 12:57:11 +01:00
2024-09-13 12:57:11 +01:00
2024-09-13 12:57:11 +01:00
2024-05-22 18:02:41 +01:00
2024-07-31 14:39:06 -03:00
2024-05-22 18:02:41 +01:00
2024-09-13 12:57:11 +01:00
2024-12-12 12:19:12 -06:00
2024-09-13 12:57:11 +01:00
2024-05-23 22:04:00 +01:00
2024-05-23 22:04:00 +01:00
2024-09-26 08:56:41 -05:00
2024-05-21 10:20:59 +01:00
2024-05-21 10:20:59 +01:00
2024-05-21 10:20:59 +01:00
2024-05-21 10:20:59 +01:00
2024-12-12 12:19:12 -06:00
2025-01-21 09:10:25 +05:30
2024-12-12 12:19:12 -06:00
2024-05-24 06:41:55 +01:00
2024-05-24 06:41:55 +01:00
2024-05-24 14:31:09 +01:00
2024-05-21 10:20:59 +01:00
2024-05-24 06:41:55 +01:00
2024-05-22 18:02:41 +01:00
2024-05-22 18:02:41 +01:00
2024-05-22 18:02:41 +01:00
2024-05-22 18:02:41 +01:00
2024-05-22 18:02:41 +01:00
2024-05-22 18:02:41 +01:00
2024-05-22 18:02:41 +01:00
2024-10-21 13:07:48 +05:30
2024-12-06 12:00:48 -06:00
2024-11-25 07:38:12 -06:00
2024-12-06 12:00:48 -06:00
2024-09-26 08:56:41 -05:00
2024-12-06 12:00:48 -06:00
2024-05-24 06:41:55 +01:00
2024-05-23 22:04:00 +01:00
2024-10-18 10:11:59 +05:30
2024-05-23 22:04:00 +01:00
2024-05-23 22:04:00 +01:00
2024-05-23 22:04:00 +01:00