Re: Last call for bikeshedding on attribute sym/exalias/reverse_alias

2023-09-08 Thread Roy Jacobson via Gcc
There's a related [[preferred_name]] attribute in Clang but it's not a success story. If you come up with something more usable I think we'll be happy to implement it as well :) https://clang.llvm.org/docs/AttributeReference.html#preferred-name On Fri, 8 Sept 2023, 11:34 Jonathan Wakely via Gcc,

Re: [GSoC] Conflicted Built-in Trait Name

2023-03-25 Thread Roy Jacobson via Gcc
Clang has been providing __is_void for a very long time now, and is definitely compatible with libstdc++. Does defining this builtin cause a problem? Might be that the lookup rules for builtins are different or something. https://clang.llvm.org/docs/LanguageExtensions.html#type-trait-primitives O

A plugin for -ftime-trace like tracing in GCC

2023-02-21 Thread Roy Jacobson via Gcc
There were some discussions here about -ftime-trace. I've written a GCC plugin with similar functionality last year: https://github.com/royjacobson/externis. It works at least on GCC11 and GCC12. It was written by practically reverse engineering the GCC AST and can only make use of the GCC plugin c