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

--- Comment #2 from gcc-bugs at marehr dot dialup.fu-berlin.de ---
This produces 

```
> g++-git -std=c++17 ice.cpp
ice.cpp: In instantiation of ‘void g() [with f = e]’:
ice.cpp:7:17:   required from here
ice.cpp:6:54: error: cannot deduce template arguments for ‘e<...auto...>’ from
‘()’
    6 | template <template <typename> typename f> void g() { f(); }
      | 
```

where

```
g++-git -v
Using built-in specs.
COLLECT_GCC=g++-git
COLLECT_LTO_WRAPPER=/opt/gcc/gcc-git/bin/../lib/gcc/x86_64-pc-linux-gnu/10.0.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /home/marehr/Packages/gcc-git/src/gcc/configure --prefix=/usr
--libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man
--infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/
--enable-languages=c,c++ --enable-shared --enable-threads=posix
--with-system-zlib --with-isl --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch
--disable-libssp --enable-gnu-unique-object --enable-linker-build-id
--enable-lto --enable-plugin --enable-install-libiberty
--with-linker-hash-style=gnu --enable-gnu-indirect-function --enable-multilib
--disable-werror --enable-checking=release --enable-default-pie
--enable-default-ssp --enable-cet=auto --disable-boostrap
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 10.0.0 20191207 (experimental) (GCC)
```
  • [Bug c++/90764] [10 Regression]... gcc-bugs at marehr dot dialup.fu-berlin.de

Reply via email to