From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 118678 invoked by alias); 7 Oct 2017 20:11:06 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 108119 invoked by uid 48); 7 Oct 2017 20:10:59 -0000 From: "paolo.carlini at oracle dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/82466] Missing warning for re-declaration of built-in function as variable Date: Sat, 07 Oct 2017 20:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: paolo.carlini at oracle dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2017-10/txt/msg00744.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82466 --- Comment #1 from Paolo Carlini --- Thanks. I don't think there is *much* more than the below to it: Index: decl.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- decl.c (revision 253509) +++ decl.c (working copy) @@ -1431,7 +1431,13 @@ /* Avoid warnings redeclaring built-ins which have not been explicitly declared. */ if (DECL_ANTICIPATED (olddecl)) - return NULL_TREE; + { + if (TREE_PUBLIC (newdecl)) + warning_at (DECL_SOURCE_LOCATION (newdecl), + 0, "built-in function %qD declared as non-function", + newdecl); + return NULL_TREE; + } /* If you declare a built-in or predefined function name as stati= c, the old definition is overridden, but optionally warn this was= a however, with the warning unconditionally enabled, as in the C front-end, g++.dg/parse/builtin2.C fails. Maybe that's ok, maybe we want to give the warning a name. Bernd, are you willing to work on this issue too, for 8? >>From gcc-bugs-return-577687-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 07 20:24:39 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 94739 invoked by alias); 7 Oct 2017 20:24:38 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 94568 invoked by uid 48); 7 Oct 2017 20:24:33 -0000 From: "mikpelinux at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/82420] ICE with -malign-int and -m68000 Date: Sat, 07 Oct 2017 20:24:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mikpelinux at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2017-10/txt/msg00747.txt.bz2 Content-length: 888 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82420 --- Comment #2 from Mikael Pettersson --- Started with r145586, but that may simply have exposed a latent issue. BTW, the configuration of the reporter's gcc > $ m68k-elf-gcc -v > Using built-in specs. > COLLECT_GCC=3Dm68k-elf-gcc > COLLECT_LTO_WRAPPER=3D/opt/toolchains/m68k/libexec/gcc/m68k-elf/7.1.0/lto= -wrapper > Target: m68k-elf > Configured with: ../gcc-7.1.0/configure --target=3Dm68k-elf --program-pre= fix=3Dm68k-elf- --prefix=3D/opt/toolchains/m68k --with-local-prefix=3D/opt/= toolchains/m68k --with-newlib --enable-languages=3Dc,c++ --disabel-nls --di= sable-werror --enable-threads=3Dsingle --disable-libssp --disable-libquadma= th --with-cpu=3D68000 --with-arch=3Dm68k > Thread model: single > gcc version 7.1.0 (GCC) has a minor typo: it should be '--disable-nls' not '--disabel-nls'. >>From gcc-bugs-return-577685-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 07 20:24:04 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 93650 invoked by alias); 7 Oct 2017 20:24:03 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 93569 invoked by uid 48); 7 Oct 2017 20:23:58 -0000 From: "bernd.edlinger at hotmail dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/82466] Missing warning for re-declaration of built-in function as variable Date: Sat, 07 Oct 2017 20:24:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: bernd.edlinger at hotmail dot de X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2017-10/txt/msg00745.txt.bz2 Content-length: 342 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82466 --- Comment #2 from Bernd Edlinger --- Thanks for looking at this. I think your patch is fine. My thought was that it could also be enabled by OPT_Wbuiltin_declaration_mismatch, which is default-enabled but can be disabled in the test case, if needed. >>From gcc-bugs-return-577686-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 07 20:24:38 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 94630 invoked by alias); 7 Oct 2017 20:24:38 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 94561 invoked by uid 48); 7 Oct 2017 20:24:33 -0000 From: "heiko at hexco dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug preprocessor/82130] stringification (#) in traditional mode Date: Sat, 07 Oct 2017 20:24:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: preprocessor X-Bugzilla-Version: 7.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: heiko at hexco dot de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2017-10/txt/msg00746.txt.bz2 Content-length: 771 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82130 Heiko Ei=C3=9Ffeldt changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |heiko at hexco dot de --- Comment #1 from Heiko Ei=C3=9Ffeldt --- This variant works for me with: #define STRINGIFY(x) "x" #define _ASSERT_(expr) if (.not. (expr)) print *, STRINGIFY(ex= pr) program test logical :: check =3D .false. _ASSERT_(check) end cpp -traditional-cpp -P -E issues/fortranStringify.f gives program test logical :: check =3D .false. if (.not. (check)) print *, "check" end This is with cpp 6.3.0 on ubuntu 17.04 amd64. >>From gcc-bugs-return-577688-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 07 21:01:39 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 52401 invoked by alias); 7 Oct 2017 21:01:39 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 52356 invoked by uid 48); 7 Oct 2017 21:01:35 -0000 From: "saphirahemp at yahoo dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/82467] New: name mangling error when using constrained an specialized template functions Date: Sat, 07 Oct 2017 21:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: saphirahemp at yahoo dot de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2017-10/txt/msg00748.txt.bz2 Content-length: 3211 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82467 Bug ID: 82467 Summary: name mangling error when using constrained an specialized template functions Product: gcc Version: 6.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: saphirahemp at yahoo dot de Target Milestone: --- Created attachment 42321 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D42321&action=3Dedit the *i* file It seems that the compiler produces some collisions in case of this special constellation - template specialization for type T and constrained function that accepts T. example for integer:=20 template<> void f(int t) {}=20 template requires requires(T t){ t + t;} void f(T t) {} int main(){ f(1); } will result in an error when compiling: g++-6 -fconcepts int.cpp /tmp/ccooj1kv.s: Assembler messages: /tmp/ccooj1kv.s:65: Error: symbol `_Z1fIiEvT_' is already defined /tmp/ccooj1kv.s: Error: .size expression for _Z1fIiEvT_ does not evaluate t= o a constant The same code with float instead of int will produce the same error message, with a slightly different symbol: _Z1fIfEvT_ instead of _Z1fIiEvT_. further informations: the exact version of GCC and the system type; gcc version 6.3.0 20170519 (Ubuntu/Linaro 6.3.0-18ubuntu2~16.04)=20 Target: x86_64-linux-gnu the options given when GCC was configured/built; Configured with: ../src/configure -v --with-pkgversion=3D'Ubuntu/Linaro 6.3.0-18ubuntu2~16.04' --with-bugurl=3Dfile:///usr/share/doc/gcc-6/README.B= ugs --enable-languages=3Dc,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=3D/u= sr --program-suffix=3D-6 --program-prefix=3Dx86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=3D/usr/lib --without-included-gettext --enable-threads=3Dposix --libdir=3D/usr/lib --enable-nls --with-sysroot=3D/ --enable-clocale=3Dgnu --enable-libstdcxx-debug --enable-libstdcxx-time=3Dy= es --with-default-libstdcxx-abi=3Dnew --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=3Dgtk --enable-gtk-cairo --with-java-home=3D/usr/lib/jvm/java-1.5.0-gcj-6-amd64/jre --enable-java-ho= me --with-jvm-root-dir=3D/usr/lib/jvm/java-1.5.0-gcj-6-amd64 --with-jvm-jar-dir=3D/usr/lib/jvm-exports/java-1.5.0-gcj-6-amd64 --with-arch-directory=3Damd64 --with-ecj-jar=3D/usr/share/java/eclipse-ecj.= jar --with-target-system-zlib --enable-objc-gc=3Dauto --enable-multiarch --disable-werror --with-arch-32=3Di686 --with-abi=3Dm64 --with-multilib-list=3Dm32,m64,mx32 --enable-multilib --with-tune=3Dgeneric --enable-checking=3Drelease --build=3Dx86_64-linux-gnu --host=3Dx86_64-linu= x-gnu --target=3Dx86_64-linux-gnu the complete command line that triggers the bug; g++-6 -fconcepts int.cpp the compiler output (error messages, warnings, etc.); /tmp/ccooj1kv.s: Assembler messages: /tmp/ccooj1kv.s:65: Error: symbol `_Z1fIiEvT_' is already defined /tmp/ccooj1kv.s: Error: .size expression for _Z1fIiEvT_ does not evaluate t= o a constant >>From gcc-bugs-return-577689-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 07 21:13:31 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 113364 invoked by alias); 7 Oct 2017 21:13:31 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 113336 invoked by uid 48); 7 Oct 2017 21:13:27 -0000 From: "heiko at hexco dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug preprocessor/78581] Out of memory when preprocessing #include with -traditional Date: Sat, 07 Oct 2017 21:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: preprocessor X-Bugzilla-Version: 6.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: heiko at hexco dot de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2017-10/txt/msg00749.txt.bz2 Content-length: 819 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D78581 Heiko Ei=C3=9Ffeldt changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |heiko at hexco dot de --- Comment #2 from Heiko Ei=C3=9Ffeldt --- I can reproduce this with cpp 6.3.0 on Ubuntu 17.04 amd64. No environment variable setting is necessary. And if I simplify your test case "a" to #include "b" #if 0 #endif cpp does not see the '#if 0': =3D=3D=3D=3D=3D=3D=3D cpp -traditional-cpp -ffreestanding -P issues/a f issues/a:3:0: error: #endif without #if #endif #if 0 =3D=3D=3D=3D=3D=3D=3D So, it could have something to do with misparsing at the end of "b". Fascinating... >>From gcc-bugs-return-577690-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 07 21:14:47 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 114923 invoked by alias); 7 Oct 2017 21:14:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 114857 invoked by uid 55); 7 Oct 2017 21:14:41 -0000 From: "pault at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/82375] PDT components in PDT declarations fail to compile Date: Sat, 07 Oct 2017 21:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pault at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: pault at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2017-10/txt/msg00750.txt.bz2 Content-length: 2739 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82375 --- Comment #5 from Paul Thomas --- Author: pault Date: Sat Oct 7 21:14:06 2017 New Revision: 253514 URL: https://gcc.gnu.org/viewcvs?rev=3D253514&root=3Dgcc&view=3Drev Log: 2017-10-07 Paul Thomas PR fortran/82375 * class.c (gfc_find_derived_vtab): Return NULL for a passed pdt template to prevent bad procedures from being written. * decl.c (gfc_get_pdt_instance): Do not use the default initializer for pointer and allocatable pdt type components. If the component is allocatbale, set the 'alloc_comp' attribute of 'instance'. * module.c : Add a prototype for 'mio_actual_arglist'. Add a boolean argument 'pdt'. (mio_component): Call it for the parameter list of pdt type components with 'pdt' set to true. (mio_actual_arg): Add the boolean 'pdt' and, if it is set, call mio_integer for the 'spec_type'. (mio_actual_arglist): Add the boolean 'pdt' and use it in the call to mio_actual_arg. (mio_expr, mio_omp_udr_expr): Call mio_actual_arglist with 'pdt' set false. * resolve.c (get_pdt_spec_expr): Add the parameter name to the KIND parameter error. (get_pdt_constructor): Check that cons->expr is non-null. * trans-array.c (structure_alloc_comps): For deallocation of allocatable components, ensure that parameterized components are deallocated first. Likewise, when parameterized components are allocated, nullify allocatable components first. Do not recurse into pointer or allocatable pdt components while allocating or deallocating parameterized components. Test that parameterized arrays or strings are allocated before freeing them. (gfc_trans_pointer_assignment): Call the new function. Tidy up a minor whitespace issue. trans-decl.c (gfc_trans_deferred_vars): Set 'tmp' to NULL_TREE to prevent the expression from being used a second time. 2017-10-07 Paul Thomas PR fortran/82375 * gfortran.dg/pdt_13.f03 : New test. * gfortran.dg/pdt_14.f03 : New test. * gfortran.dg/pdt_15.f03 : New test. Added: trunk/gcc/testsuite/gfortran.dg/pdt_13.f03 trunk/gcc/testsuite/gfortran.dg/pdt_14.f03 trunk/gcc/testsuite/gfortran.dg/pdt_15.f03 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/class.c trunk/gcc/fortran/decl.c trunk/gcc/fortran/module.c trunk/gcc/fortran/resolve.c trunk/gcc/fortran/trans-array.c trunk/gcc/fortran/trans-decl.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-577691-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 07 21:16:08 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 117125 invoked by alias); 7 Oct 2017 21:16:08 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 117065 invoked by uid 48); 7 Oct 2017 21:15:58 -0000 From: "barry.revzin at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/82468] New: ICE with deduction guide template Date: Sat, 07 Oct 2017 21:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: barry.revzin at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2017-10/txt/msg00751.txt.bz2 Content-length: 2083 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82468 Bug ID: 82468 Summary: ICE with deduction guide template Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: barry.revzin at gmail dot com Target Milestone: --- If we try to make the template-name of the deduction guide a type-parameter, courtesy of W.F. on SO (https://stackoverflow.com/q/46624005/2069064): template struct Foo { Foo(T) { } }; template