public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/61198] Crash when selecting specializations through aliases.
  2014-05-16  0:31 [Bug c++/61198] New: Crash when selecting specializations through aliases i-photon at hotmail dot com
@ 2014-05-16  0:31 ` i-photon at hotmail dot com
  2014-05-16  8:35 ` paolo.carlini at oracle dot com
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: i-photon at hotmail dot com @ 2014-05-16  0:31 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Chris <i-photon at hotmail dot com> ---
Created attachment 32802
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=32802&action=edit
A sample of offending code.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug c++/61198] New: Crash when selecting specializations through aliases.
@ 2014-05-16  0:31 i-photon at hotmail dot com
  2014-05-16  0:31 ` [Bug c++/61198] " i-photon at hotmail dot com
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: i-photon at hotmail dot com @ 2014-05-16  0:31 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 61198
           Summary: Crash when selecting specializations through aliases.
           Product: gcc
           Version: 4.8.2
            Status: UNCONFIRMED
          Severity: blocker
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: i-photon at hotmail dot com

Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-pc-cygwin/4.8.2/lto-wrapper.exe
Target: i686-pc-cygwin
Configured with: /cygdrive/i/szsz/tmpp/gcc4/gcc-4.8.2-2/src/gcc-4.8.2/configure
--srcdir=/cygdrive/i/szsz/tmpp/gcc4/gcc-4.8.2-2/src/gcc-4.8.2 --prefix=/usr
--exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin
--libexecdir=/usr/libexec --datadir=/usr/share --localstatedir=/var
--sysconfdir=/etc --libdir=/usr/lib --datarootdir=/usr/share
--docdir=/usr/share/doc/gcc --htmldir=/usr/share/doc/gcc/html -C
--build=i686-pc-cygwin --host=i686-pc-cygwin --target=i686-pc-cygwin
--without-libiconv-prefix --without-libintl-prefix --enable-shared
--enable-shared-libgcc --enable-static --enable-version-specific-runtime-libs
--enable-bootstrap --disable-__cxa_atexit --with-dwarf2 --with-arch=i686
--with-tune=generic --disable-sjlj-exceptions
--enable-languages=ada,c,c++,fortran,java,lto,objc,obj-c++ --enable-graphite
--enable-threads=posix --enable-libatomic --enable-libgomp --disable-libitm
--enable-libquadmath --enable-libquadmath-support --enable-libssp
--enable-libada --enable-libjava --enable-libgcj-sublibs --disable-java-awt
--disable-symvers --with-ecj-jar=/usr/share/java/ecj.jar --with-gnu-ld
--with-gnu-as --with-cloog-include=/usr/include/cloog-isl
--without-libiconv-prefix --without-libintl-prefix --with-system-zlib
--libexecdir=/usr/lib
Thread model: posix
gcc version 4.8.2 (GCC) 
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-std=c++11' '-shared-libgcc'
'-mtune=generic' '-march=i686'
 /usr/lib/gcc/i686-pc-cygwin/4.8.2/cc1plus.exe -E -quiet -v -Dunix -idirafter
/usr/lib/gcc/i686-pc-cygwin/4.8.2/../../../../include/w32api -idirafter
../../include/w32api test.cpp -mtune=generic -march=i686 -std=c++11
-fpch-preprocess -o test.ii
ignoring nonexistent directory "/usr/local/include"
ignoring nonexistent directory
"/usr/lib/gcc/i686-pc-cygwin/4.8.2/../../../../i686-pc-cygwin/include"
ignoring nonexistent directory "../../include/w32api"
#include "..." search starts here:
#include <...> search starts here:
 /usr/lib/gcc/i686-pc-cygwin/4.8.2/include/c++
 /usr/lib/gcc/i686-pc-cygwin/4.8.2/include/c++/i686-pc-cygwin
 /usr/lib/gcc/i686-pc-cygwin/4.8.2/include/c++/backward
 /usr/lib/gcc/i686-pc-cygwin/4.8.2/include
 /usr/lib/gcc/i686-pc-cygwin/4.8.2/include-fixed
 /usr/include
 /usr/lib/gcc/i686-pc-cygwin/4.8.2/../../../../include/w32api
End of search list.
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-std=c++11' '-shared-libgcc'
'-mtune=generic' '-march=i686'
 /usr/lib/gcc/i686-pc-cygwin/4.8.2/cc1plus.exe -fpreprocessed test.ii -quiet
-dumpbase test.cpp -mtune=generic -march=i686 -auxbase test -std=c++11 -version
-o test.s
GNU C++ (GCC) version 4.8.2 (i686-pc-cygwin)
    compiled by GNU C version 4.8.2, GMP version 5.1.3, MPFR version 3.1.2, MPC
version 1.0.1
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
GNU C++ (GCC) version 4.8.2 (i686-pc-cygwin)
    compiled by GNU C version 4.8.2, GMP version 5.1.3, MPFR version 3.1.2, MPC
version 1.0.1
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 68b77e646651014e4504034a5c7768ce
test.cpp: In substitution of ‘template<class target_t> using rebind = broken<2,
derp_t> [with target_t = float]’:
test.cpp:18:33:   required from here
test.cpp:13:36: internal compiler error: in retrieve_specialization, at
cp/pt.c:1021
  using rebind = broken<2, target_t>;
                                    ^

test.cpp:13:36: internal compiler error: Aborted
g++: internal compiler error: Aborted (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
>From gcc-bugs-return-451728-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 16 03:43:57 2014
Return-Path: <gcc-bugs-return-451728-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 19292 invoked by alias); 16 May 2014 03:43:54 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 19225 invoked by uid 55); 16 May 2014 03:43:49 -0000
From: "bergner at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/61193] ABI incompatibility between POWER and Z HTM builtins and intrinsics
Date: Fri, 16 May 2014 03:43: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: 4.8.3
X-Bugzilla-Keywords: ABI
X-Bugzilla-Severity: blocker
X-Bugzilla-Who: bergner at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 4.8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-61193-4-J6bXI2K3v8@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-61193-4@http.gcc.gnu.org/bugzilla/>
References: <bug-61193-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-05/txt/msg01420.txt.bz2
Content-length: 482

https://gcc.gnu.org/bugzilla/show_bug.cgi?ida193

--- Comment #1 from Peter Bergner <bergner at gcc dot gnu.org> ---
Author: bergner
Date: Fri May 16 03:43:12 2014
New Revision: 210486

URL: http://gcc.gnu.org/viewcvs?rev!0486&root=gcc&view=rev
Log:
    PR target/61193
    * config/rs6000/htmxlintrin.h (_HTM_TBEGIN_STARTED): New define.
    (__TM_simple_begin): Use it.
    (__TM_begin): Likewise.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/rs6000/htmxlintrin.h


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug c++/61198] Crash when selecting specializations through aliases.
  2014-05-16  0:31 [Bug c++/61198] New: Crash when selecting specializations through aliases i-photon at hotmail dot com
  2014-05-16  0:31 ` [Bug c++/61198] " i-photon at hotmail dot com
@ 2014-05-16  8:35 ` paolo.carlini at oracle dot com
  2014-05-16  8:43 ` paolo.carlini at oracle dot com
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: paolo.carlini at oracle dot com @ 2014-05-16  8:35 UTC (permalink / raw)
  To: gcc-bugs

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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|blocker                     |normal


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug c++/61198] Crash when selecting specializations through aliases.
  2014-05-16  0:31 [Bug c++/61198] New: Crash when selecting specializations through aliases i-photon at hotmail dot com
  2014-05-16  0:31 ` [Bug c++/61198] " i-photon at hotmail dot com
  2014-05-16  8:35 ` paolo.carlini at oracle dot com
@ 2014-05-16  8:43 ` paolo.carlini at oracle dot com
  2014-12-14 14:24 ` ville.voutilainen at gmail dot com
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: paolo.carlini at oracle dot com @ 2014-05-16  8:43 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Closely related to c++/60767


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug c++/61198] Crash when selecting specializations through aliases.
  2014-05-16  0:31 [Bug c++/61198] New: Crash when selecting specializations through aliases i-photon at hotmail dot com
                   ` (2 preceding siblings ...)
  2014-05-16  8:43 ` paolo.carlini at oracle dot com
@ 2014-12-14 14:24 ` ville.voutilainen at gmail dot com
  2014-12-18 12:18 ` ktietz at gcc dot gnu.org
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: ville.voutilainen at gmail dot com @ 2014-12-14 14:24 UTC (permalink / raw)
  To: gcc-bugs

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

Ville Voutilainen <ville.voutilainen at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2014-12-14
                 CC|                            |ville.voutilainen at gmail dot com
     Ever confirmed|0                           |1
      Known to fail|                            |4.8.2, 4.9.1, 5.0

--- Comment #3 from Ville Voutilainen <ville.voutilainen at gmail dot com> ---
Clang accepts the code.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug c++/61198] Crash when selecting specializations through aliases.
  2014-05-16  0:31 [Bug c++/61198] New: Crash when selecting specializations through aliases i-photon at hotmail dot com
                   ` (3 preceding siblings ...)
  2014-12-14 14:24 ` ville.voutilainen at gmail dot com
@ 2014-12-18 12:18 ` ktietz at gcc dot gnu.org
  2014-12-19 16:44 ` ktietz at gcc dot gnu.org
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: ktietz at gcc dot gnu.org @ 2014-12-18 12:18 UTC (permalink / raw)
  To: gcc-bugs

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

Kai Tietz <ktietz at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zreed1 at gmail dot com

--- Comment #5 from Kai Tietz <ktietz at gcc dot gnu.org> ---
*** Bug 60767 has been marked as a duplicate of this bug. ***


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug c++/61198] Crash when selecting specializations through aliases.
  2014-05-16  0:31 [Bug c++/61198] New: Crash when selecting specializations through aliases i-photon at hotmail dot com
                   ` (4 preceding siblings ...)
  2014-12-18 12:18 ` ktietz at gcc dot gnu.org
@ 2014-12-19 16:44 ` ktietz at gcc dot gnu.org
  2014-12-19 16:48 ` ktietz at gcc dot gnu.org
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: ktietz at gcc dot gnu.org @ 2014-12-19 16:44 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from Kai Tietz <ktietz at gcc dot gnu.org> ---
Author: ktietz
Date: Fri Dec 19 16:44:15 2014
New Revision: 218955

URL: https://gcc.gnu.org/viewcvs?rev=218955&root=gcc&view=rev
Log:
    PR c++/61198
    * pt.c (most_general_template): Don't break for template-alias.


Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug c++/61198] Crash when selecting specializations through aliases.
  2014-05-16  0:31 [Bug c++/61198] New: Crash when selecting specializations through aliases i-photon at hotmail dot com
                   ` (5 preceding siblings ...)
  2014-12-19 16:44 ` ktietz at gcc dot gnu.org
@ 2014-12-19 16:48 ` ktietz at gcc dot gnu.org
  2014-12-19 16:50 ` ktietz at gcc dot gnu.org
  2015-05-22 15:33 ` paolo.carlini at oracle dot com
  8 siblings, 0 replies; 10+ messages in thread
From: ktietz at gcc dot gnu.org @ 2014-12-19 16:48 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #7 from Kai Tietz <ktietz at gcc dot gnu.org> ---
Author: ktietz
Date: Fri Dec 19 16:47:59 2014
New Revision: 218956

URL: https://gcc.gnu.org/viewcvs?rev=218956&root=gcc&view=rev
Log:
    PR c++/61198
    * g++.dg/template/using30.C: New file.


Added:
    trunk/gcc/testsuite/g++.dg/template/using30.C
Modified:
    trunk/gcc/testsuite/ChangeLog


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug c++/61198] Crash when selecting specializations through aliases.
  2014-05-16  0:31 [Bug c++/61198] New: Crash when selecting specializations through aliases i-photon at hotmail dot com
                   ` (6 preceding siblings ...)
  2014-12-19 16:48 ` ktietz at gcc dot gnu.org
@ 2014-12-19 16:50 ` ktietz at gcc dot gnu.org
  2015-05-22 15:33 ` paolo.carlini at oracle dot com
  8 siblings, 0 replies; 10+ messages in thread
From: ktietz at gcc dot gnu.org @ 2014-12-19 16:50 UTC (permalink / raw)
  To: gcc-bugs

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

Kai Tietz <ktietz at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #8 from Kai Tietz <ktietz at gcc dot gnu.org> ---
Fixed.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug c++/61198] Crash when selecting specializations through aliases.
  2014-05-16  0:31 [Bug c++/61198] New: Crash when selecting specializations through aliases i-photon at hotmail dot com
                   ` (7 preceding siblings ...)
  2014-12-19 16:50 ` ktietz at gcc dot gnu.org
@ 2015-05-22 15:33 ` paolo.carlini at oracle dot com
  8 siblings, 0 replies; 10+ messages in thread
From: paolo.carlini at oracle dot com @ 2015-05-22 15:33 UTC (permalink / raw)
  To: gcc-bugs

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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |galbramc at mit dot edu

--- Comment #9 from Paolo Carlini <paolo.carlini at oracle dot com> ---
*** Bug 65764 has been marked as a duplicate of this bug. ***


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2015-05-22 15:33 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-16  0:31 [Bug c++/61198] New: Crash when selecting specializations through aliases i-photon at hotmail dot com
2014-05-16  0:31 ` [Bug c++/61198] " i-photon at hotmail dot com
2014-05-16  8:35 ` paolo.carlini at oracle dot com
2014-05-16  8:43 ` paolo.carlini at oracle dot com
2014-12-14 14:24 ` ville.voutilainen at gmail dot com
2014-12-18 12:18 ` ktietz at gcc dot gnu.org
2014-12-19 16:44 ` ktietz at gcc dot gnu.org
2014-12-19 16:48 ` ktietz at gcc dot gnu.org
2014-12-19 16:50 ` ktietz at gcc dot gnu.org
2015-05-22 15:33 ` paolo.carlini at oracle dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).