public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/42567]  New: internal compiler error: in type_unification_real, at cp/pt.c:13310
@ 2009-12-31 19:17 smm2rc at Virginia dot EDU
  2009-12-31 19:22 ` [Bug c++/42567] " smm2rc at Virginia dot EDU
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: smm2rc at Virginia dot EDU @ 2009-12-31 19:17 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1673 bytes --]

/*To start off, I apologize if this bug already was reported (I didn't find it
mentioned anywhere...). Also, what exactly is meant by 'host triplet', 'target
triplet', and 'build triplet'? (I just sort of guessed at them - I'm assuming
they're the host system and the target system and the system on which the
compiler was built...??) */

/* Simplified test case code (located in main.cpp): */

template<typename B>
class A {
public:
        template<typename C>
        void fn(C c) {
                auto&& key = *c; /* same bug results if 'auto&&' is replaced
with 'auto&' */
        }
};

int main(int argc, char* argv[]) {}

/* Errors produced:
main.cpp: In member function ‘void A<B>::fn(C)’:
main.cpp:6:17: internal compiler error: in type_unification_real, at
cp/pt.c:13310
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
*/
/* The following is the command used to compile the code:
g++ -std=c++0x main.cpp
*/
/* System specs:
Ubuntu 9.10 32-bit, Intel P9500,
--> GCC 4.5.0 (built from source, revision 155485) <--
*/
/* Comments: Buh whuh? */


-- 
           Summary: internal compiler error: in type_unification_real, at
                    cp/pt.c:13310
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: smm2rc at Virginia dot EDU
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42567


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

* [Bug c++/42567] internal compiler error: in type_unification_real, at cp/pt.c:13310
  2009-12-31 19:17 [Bug c++/42567] New: internal compiler error: in type_unification_real, at cp/pt.c:13310 smm2rc at Virginia dot EDU
@ 2009-12-31 19:22 ` smm2rc at Virginia dot EDU
  2009-12-31 20:21 ` [Bug c++/42567] [C++0x] " paolo dot carlini at oracle dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: smm2rc at Virginia dot EDU @ 2009-12-31 19:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from smm2rc at Virginia dot EDU  2009-12-31 19:22 -------
Oh, and replacing the 'auto&& key = *b' line with 'auto&& key =
b.member_function()' results in a no-error compilation.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42567


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

* [Bug c++/42567] [C++0x] internal compiler error: in type_unification_real, at cp/pt.c:13310
  2009-12-31 19:17 [Bug c++/42567] New: internal compiler error: in type_unification_real, at cp/pt.c:13310 smm2rc at Virginia dot EDU
  2009-12-31 19:22 ` [Bug c++/42567] " smm2rc at Virginia dot EDU
@ 2009-12-31 20:21 ` paolo dot carlini at oracle dot com
  2010-01-04 17:53 ` [Bug c++/42567] [C++0x] ICE with auto " jason at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: paolo dot carlini at oracle dot com @ 2009-12-31 20:21 UTC (permalink / raw)
  To: gcc-bugs



-- 

paolo dot carlini at oracle dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jason at gcc dot gnu dot org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|0000-00-00 00:00:00         |2009-12-31 20:20:55
               date|                            |
            Summary|internal compiler error: in |[C++0x] internal compiler
                   |type_unification_real, at   |error: in
                   |cp/pt.c:13310               |type_unification_real, at
                   |                            |cp/pt.c:13310


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42567


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

* [Bug c++/42567] [C++0x] ICE with auto in type_unification_real, at cp/pt.c:13310
  2009-12-31 19:17 [Bug c++/42567] New: internal compiler error: in type_unification_real, at cp/pt.c:13310 smm2rc at Virginia dot EDU
  2009-12-31 19:22 ` [Bug c++/42567] " smm2rc at Virginia dot EDU
  2009-12-31 20:21 ` [Bug c++/42567] [C++0x] " paolo dot carlini at oracle dot com
@ 2010-01-04 17:53 ` jason at gcc dot gnu dot org
  2010-01-04 17:56 ` jason at gcc dot gnu dot org
  2010-01-04 17:56 ` jason at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: jason at gcc dot gnu dot org @ 2010-01-04 17:53 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from jason at gcc dot gnu dot org  2010-01-04 17:53 -------
Subject: Bug 42567

Author: jason
Date: Mon Jan  4 17:53:29 2010
New Revision: 155627

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155627
Log:
        PR c++/42567
        * semantics.c (describable_type): Remove decltype comment and
        semantics.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/auto17.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/semantics.c
    trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42567


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

* [Bug c++/42567] [C++0x] ICE with auto in type_unification_real, at cp/pt.c:13310
  2009-12-31 19:17 [Bug c++/42567] New: internal compiler error: in type_unification_real, at cp/pt.c:13310 smm2rc at Virginia dot EDU
                   ` (2 preceding siblings ...)
  2010-01-04 17:53 ` [Bug c++/42567] [C++0x] ICE with auto " jason at gcc dot gnu dot org
@ 2010-01-04 17:56 ` jason at gcc dot gnu dot org
  2010-01-04 17:56 ` jason at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: jason at gcc dot gnu dot org @ 2010-01-04 17:56 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from jason at gcc dot gnu dot org  2010-01-04 17:56 -------
Fixed.


-- 

jason at gcc dot gnu dot org changed:

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


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42567


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

* [Bug c++/42567] [C++0x] ICE with auto in type_unification_real, at cp/pt.c:13310
  2009-12-31 19:17 [Bug c++/42567] New: internal compiler error: in type_unification_real, at cp/pt.c:13310 smm2rc at Virginia dot EDU
                   ` (3 preceding siblings ...)
  2010-01-04 17:56 ` jason at gcc dot gnu dot org
@ 2010-01-04 17:56 ` jason at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: jason at gcc dot gnu dot org @ 2010-01-04 17:56 UTC (permalink / raw)
  To: gcc-bugs



-- 

jason at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |jason at gcc dot gnu dot org
                   |dot org                     |
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2009-12-31 20:20:55         |2010-01-04 17:56:04
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42567


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

end of thread, other threads:[~2010-01-04 17:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-31 19:17 [Bug c++/42567] New: internal compiler error: in type_unification_real, at cp/pt.c:13310 smm2rc at Virginia dot EDU
2009-12-31 19:22 ` [Bug c++/42567] " smm2rc at Virginia dot EDU
2009-12-31 20:21 ` [Bug c++/42567] [C++0x] " paolo dot carlini at oracle dot com
2010-01-04 17:53 ` [Bug c++/42567] [C++0x] ICE with auto " jason at gcc dot gnu dot org
2010-01-04 17:56 ` jason at gcc dot gnu dot org
2010-01-04 17:56 ` jason at gcc dot gnu dot org

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).