Thomas Haller
6a231008e4
gobject/performance: fix "type-check" test to not optimize out test code
...
Despite assigning the function to a variable, gcc can still detect that
the function never changes and most of the test code is optimized out.
Initialize it somewhere, where the compiler cannot prove that this
function pointer is always set to the same value.
We could also make the pointer volatile, but this approach seems
preferable to me.
2025-02-26 12:22:24 +01:00
..
2025-02-26 12:22:24 +01:00
2023-01-29 12:36:06 +00:00
2023-01-29 12:36:06 +00:00
2023-11-29 13:41:34 +00:00
2023-10-16 23:34:04 +01:00
2023-11-29 13:41:34 +00:00
2023-10-16 23:34:20 +01:00
2023-12-31 09:09:48 +00:00
2022-10-13 20:53:56 -04:00
2024-04-26 00:21:15 +01:00
2023-10-16 23:35:05 +01:00
2024-11-06 22:26:06 +01:00
2024-01-15 17:32:11 -08:00
2024-12-13 23:40:32 +00:00
2024-12-13 23:40:32 +00:00
2024-03-25 15:17:59 -04:00
2024-03-25 15:17:59 -04:00
2023-12-31 09:09:48 +00:00
2022-10-26 18:07:55 +01:00
2022-10-13 20:53:56 -04:00
2023-12-12 17:30:01 +00:00
2012-10-15 19:48:44 -04:00
2022-06-01 12:44:23 +01:00
2023-10-23 10:25:30 +01:00
2024-04-25 12:39:46 +01:00
2025-02-24 17:41:18 +01:00
2023-10-16 23:34:24 +01:00
2018-01-04 22:19:30 +01:00
2023-12-30 00:20:17 +01:00
2024-09-26 22:47:30 +03:00
2024-05-21 22:32:20 +00:00
2024-12-06 18:07:47 +01:00
2024-06-28 14:35:00 +01:00
2022-10-13 20:53:56 -04:00
2024-12-02 14:28:59 +00:00
2025-01-10 12:51:45 +05:30
2023-11-29 13:41:34 +00:00
2023-10-16 23:34:44 +01:00
2023-10-04 14:50:54 +01:00
2022-10-13 20:53:56 -04:00
2024-07-01 18:39:48 +01:00
2025-02-03 14:38:24 +00:00
2025-02-10 10:26:42 +01:00
2023-12-21 18:25:36 +01:00
2023-10-16 23:34:59 +01:00
2023-10-23 11:26:53 +01:00
2023-10-16 23:34:53 +01:00
2023-10-11 14:01:29 +01:00
2022-10-13 20:53:56 -04:00
2024-06-28 15:27:18 +01:00
2023-10-16 23:34:39 +01:00
2023-10-23 13:18:13 +01:00
2024-06-28 14:35:57 +01:00
2024-06-28 14:35:57 +01:00
2023-11-04 10:40:30 +00:00
2016-05-23 10:52:10 -04:00
2025-02-11 11:57:30 +00:00