public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/11078] [ABI] ICE in write_type with typeof and templates
       [not found] <bug-11078-6207@http.gcc.gnu.org/bugzilla/>
@ 2005-12-23 15:52 ` pinskia at gcc dot gnu dot org
  2007-05-12 13:44 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-12-23 15:52 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #25 from pinskia at gcc dot gnu dot org  2005-12-23 15:52 -------
*** Bug 25544 has been marked as a duplicate of this bug. ***


-- 


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


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

* [Bug c++/11078] [ABI] ICE in write_type with typeof and templates
       [not found] <bug-11078-6207@http.gcc.gnu.org/bugzilla/>
  2005-12-23 15:52 ` [Bug c++/11078] [ABI] ICE in write_type with typeof and templates pinskia at gcc dot gnu dot org
@ 2007-05-12 13:44 ` pinskia at gcc dot gnu dot org
  2007-05-15  1:36 ` blaisorblade_spam at yahoo dot it
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-05-12 13:44 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #26 from pinskia at gcc dot gnu dot org  2007-05-12 14:44 -------
*** Bug 31905 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |blaisorblade_spam at yahoo
                   |                            |dot it


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


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

* [Bug c++/11078] [ABI] ICE in write_type with typeof and templates
       [not found] <bug-11078-6207@http.gcc.gnu.org/bugzilla/>
  2005-12-23 15:52 ` [Bug c++/11078] [ABI] ICE in write_type with typeof and templates pinskia at gcc dot gnu dot org
  2007-05-12 13:44 ` pinskia at gcc dot gnu dot org
@ 2007-05-15  1:36 ` blaisorblade_spam at yahoo dot it
  2007-10-03 23:54 ` [Bug c++/11078] [ABI] decltype(T()) doesn't work jason at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 6+ messages in thread
From: blaisorblade_spam at yahoo dot it @ 2007-05-15  1:36 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #27 from blaisorblade_spam at yahoo dot it  2007-05-15 02:36 -------
What about actually doing as suggested comment #8? I.e. adding a nice error
message rather than an ICE?


-- 


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


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

* [Bug c++/11078] [ABI] decltype(T()) doesn't work
       [not found] <bug-11078-6207@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2007-05-15  1:36 ` blaisorblade_spam at yahoo dot it
@ 2007-10-03 23:54 ` jason at gcc dot gnu dot org
  2008-08-19 13:45 ` aldot at gcc dot gnu dot org
  2008-08-19 17:54 ` paolo dot carlini at oracle dot com
  5 siblings, 0 replies; 6+ messages in thread
From: jason at gcc dot gnu dot org @ 2007-10-03 23:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #28 from jason at gcc dot gnu dot org  2007-10-03 23:54 -------
Changing the testcase to use decltype instead of typeof produces this error
with current sources:

wa.C:2: sorry, unimplemented: zero-operand casts cannot be mangled due to a
defect in the C++ ABI

Now that we have decltype, I think we don't need to worry about mangling
typeof.  I'm just going to add a sorry to suggest that people use decltype
instead.


-- 

jason at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |doug dot gregor at gmail dot
                   |                            |com
           Keywords|ice-on-valid-code           |rejects-valid
            Summary|[ABI] ICE in write_type with|[ABI] decltype(T()) doesn't
                   |typeof and templates        |work


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


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

* [Bug c++/11078] [ABI] decltype(T()) doesn't work
       [not found] <bug-11078-6207@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2007-10-03 23:54 ` [Bug c++/11078] [ABI] decltype(T()) doesn't work jason at gcc dot gnu dot org
@ 2008-08-19 13:45 ` aldot at gcc dot gnu dot org
  2008-08-19 17:54 ` paolo dot carlini at oracle dot com
  5 siblings, 0 replies; 6+ messages in thread
From: aldot at gcc dot gnu dot org @ 2008-08-19 13:45 UTC (permalink / raw)
  To: gcc-bugs

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



------- Comment #29 from aldot at gcc dot gnu dot org  2008-08-19 13:43 -------
4.3.1 and later give:

GNU C++ (Debian 4.3.1-8) version 4.3.1 (i486-linux-gnu)
        compiled by GNU C version 4.3.1, GMP version 4.2.2, MPFR version 2.3.1.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 1a96b3b5ffa5cfd9037de3acec5e6692
known.C: In instantiation of ‘__typeof__ ((T1() + T2())) add(T1, T2) [with T1 =
double, T2 = char]’:
known.C:3:   instantiated from here
known.C:2: sorry, unimplemented: mangling typeof, use decltype instead


-- 

aldot at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |4.3.1


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


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

* [Bug c++/11078] [ABI] decltype(T()) doesn't work
       [not found] <bug-11078-6207@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2008-08-19 13:45 ` aldot at gcc dot gnu dot org
@ 2008-08-19 17:54 ` paolo dot carlini at oracle dot com
  5 siblings, 0 replies; 6+ messages in thread
From: paolo dot carlini at oracle dot com @ 2008-08-19 17:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #30 from paolo dot carlini at oracle dot com  2008-08-19 17:52 -------
Yes, this can be considered fixed.


-- 

paolo dot carlini at oracle dot com changed:

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


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


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

end of thread, other threads:[~2008-08-19 17:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-11078-6207@http.gcc.gnu.org/bugzilla/>
2005-12-23 15:52 ` [Bug c++/11078] [ABI] ICE in write_type with typeof and templates pinskia at gcc dot gnu dot org
2007-05-12 13:44 ` pinskia at gcc dot gnu dot org
2007-05-15  1:36 ` blaisorblade_spam at yahoo dot it
2007-10-03 23:54 ` [Bug c++/11078] [ABI] decltype(T()) doesn't work jason at gcc dot gnu dot org
2008-08-19 13:45 ` aldot at gcc dot gnu dot org
2008-08-19 17:54 ` paolo dot 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).