https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125015

Aaron Ballman <aaron at aaronballman dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aaron at aaronballman dot com

--- Comment #4 from Aaron Ballman <aaron at aaronballman dot com> ---
Out of curiosity, how strict do you expect to be about "same type"? e.g.,

```
static int global = 10000;

enum E : int { Zero };

extern E y __attribute__((alias("_ZL6global"))); // Should this be fine? Same
answer in C and in C++?
extern signed int z __attribute__((alias("_ZL6global"))); // Presumably this is
fine, but...

static char other = 1;
extern signed char a __attribute__((alias("_ZL5other"))); // what about this
case where char vs signed/unsigned char is a bit different?
```

https://godbolt.org/z/9Mh35jfcr

Reply via email to