This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/82410] [7/8 Regression] ICE in replace_placeholders_r


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

gcc-bugs at marehr dot dialup.fu-berlin.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gcc-bugs at marehr dot dialup.fu-b
                   |                            |erlin.de

--- Comment #4 from gcc-bugs at marehr dot dialup.fu-berlin.de ---
I (may) have run into the same issue:

```
template <typename value_t>
struct twice
{
    value_t _first{};
    value_t _second{_first};

    struct inner{};

    inner get() const
    {
        return inner{};
    }
};

template<typename value_t>
twice(value_t first)
  -> twice<value_t>;

int main()
{
    auto result = twice{0u}.get();
}
```

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]