public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/40856]  New: numeric_limits not specialized for __int128_t or __uint128_t
@ 2009-07-25 15:02 john dot salmon at deshaw dot com
  2009-07-26  9:26 ` [Bug libstdc++/40856] " paolo dot carlini at oracle dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: john dot salmon at deshaw dot com @ 2009-07-25 15:02 UTC (permalink / raw)
  To: gcc-bugs

salmonj@drdblogin6.en.desres$ cat numeric128.cpp
#include <limits>
#include <iostream>

int main(int argc, char **argv){
    std::cout << "__int128_t is_specialized: " <<
std::numeric_limits<__int128_t>::is_specialized << "\n";
    std::cout << "__uint128_t is_specialized: " <<
std::numeric_limits<__uint128_t>::is_specialized << "\n";
    std::cout << "int is_specialized: " <<
std::numeric_limits<int>::is_specialized << "\n";
    return 0;
}
salmonj@drdblogin6.en.desres$ desres-cleanenv -m gcc/4.4.1-13/bin g++
--std=gnu++0x numeric128.cpp
salmonj@drdblogin6.en.desres$ a.out
__int128_t is_specialized: 0
__uint128_t is_specialized: 0
int is_specialized: 1
salmonj@drdblogin6.en.desres$


-- 
           Summary: numeric_limits not specialized for __int128_t or
                    __uint128_t
           Product: gcc
           Version: 4.4.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: john dot salmon at deshaw dot com


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


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

* [Bug libstdc++/40856] numeric_limits not specialized for __int128_t or __uint128_t
  2009-07-25 15:02 [Bug libstdc++/40856] New: numeric_limits not specialized for __int128_t or __uint128_t john dot salmon at deshaw dot com
@ 2009-07-26  9:26 ` paolo dot carlini at oracle dot com
  2009-12-17 12:09 ` paolo dot carlini at oracle dot com
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: paolo dot carlini at oracle dot com @ 2009-07-26  9:26 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from paolo dot carlini at oracle dot com  2009-07-26 09:26 -------
Certainly not a bug, at most an enhancement: in the current and future C++
Standards there is no mention of such types, of course.


-- 

paolo dot carlini at oracle dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement


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


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

* [Bug libstdc++/40856] numeric_limits not specialized for __int128_t or __uint128_t
  2009-07-25 15:02 [Bug libstdc++/40856] New: numeric_limits not specialized for __int128_t or __uint128_t john dot salmon at deshaw dot com
  2009-07-26  9:26 ` [Bug libstdc++/40856] " paolo dot carlini at oracle dot com
@ 2009-12-17 12:09 ` paolo dot carlini at oracle dot com
  2009-12-17 12:10 ` paolo dot carlini at oracle dot com
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: paolo dot carlini at oracle dot com @ 2009-12-17 12:09 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from paolo dot carlini at oracle dot com  2009-12-17 12:09 -------
Yeah, the usual accessibility issue: in Santa Cruz I discussed that briefly
with Doug, he pretended to convince people that with extended SFINAE you can
implement trivially *any* introspection trait, then somebody (me too) pointed
out the accessibility issue and he said "bah, I don't care, accessibility is
"broken" n  C++ anyway" ;)


-- 


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


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

* [Bug libstdc++/40856] numeric_limits not specialized for __int128_t or __uint128_t
  2009-07-25 15:02 [Bug libstdc++/40856] New: numeric_limits not specialized for __int128_t or __uint128_t john dot salmon at deshaw dot com
  2009-07-26  9:26 ` [Bug libstdc++/40856] " paolo dot carlini at oracle dot com
  2009-12-17 12:09 ` paolo dot carlini at oracle dot com
@ 2009-12-17 12:10 ` paolo dot carlini at oracle dot com
  2010-02-18 14:10 ` paolo dot carlini at oracle dot com
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: paolo dot carlini at oracle dot com @ 2009-12-17 12:10 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from paolo dot carlini at oracle dot com  2009-12-17 12:10 -------
Sorry, the last comment is for 40497.


-- 


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


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

* [Bug libstdc++/40856] numeric_limits not specialized for __int128_t or __uint128_t
  2009-07-25 15:02 [Bug libstdc++/40856] New: numeric_limits not specialized for __int128_t or __uint128_t john dot salmon at deshaw dot com
                   ` (2 preceding siblings ...)
  2009-12-17 12:10 ` paolo dot carlini at oracle dot com
@ 2010-02-18 14:10 ` paolo dot carlini at oracle dot com
  2010-02-18 14:11 ` paolo dot carlini at oracle dot com
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: paolo dot carlini at oracle dot com @ 2010-02-18 14:10 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from paolo dot carlini at oracle dot com  2010-02-18 14:10 -------
Created an attachment (id=19907)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19907&action=view)
Draft patch


-- 


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


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

* [Bug libstdc++/40856] numeric_limits not specialized for __int128_t or __uint128_t
  2009-07-25 15:02 [Bug libstdc++/40856] New: numeric_limits not specialized for __int128_t or __uint128_t john dot salmon at deshaw dot com
                   ` (3 preceding siblings ...)
  2010-02-18 14:10 ` paolo dot carlini at oracle dot com
@ 2010-02-18 14:11 ` paolo dot carlini at oracle dot com
  2010-05-25 20:57 ` paolo dot carlini at oracle dot com
  2010-05-25 21:04 ` paolo dot carlini at oracle dot com
  6 siblings, 0 replies; 8+ messages in thread
From: paolo dot carlini at oracle dot com @ 2010-02-18 14:11 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from paolo dot carlini at oracle dot com  2010-02-18 14:11 -------
Gaby, I just attached a draft patch which essentially does what submitter
requested, adds the two specializations. Shall we do this?


-- 

paolo dot carlini at oracle dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gdr at integrable-solutions
                   |                            |dot net


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


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

* [Bug libstdc++/40856] numeric_limits not specialized for __int128_t or __uint128_t
  2009-07-25 15:02 [Bug libstdc++/40856] New: numeric_limits not specialized for __int128_t or __uint128_t john dot salmon at deshaw dot com
                   ` (4 preceding siblings ...)
  2010-02-18 14:11 ` paolo dot carlini at oracle dot com
@ 2010-05-25 20:57 ` paolo dot carlini at oracle dot com
  2010-05-25 21:04 ` paolo dot carlini at oracle dot com
  6 siblings, 0 replies; 8+ messages in thread
From: paolo dot carlini at oracle dot com @ 2010-05-25 20:57 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from paolo dot carlini at oracle dot com  2010-05-25 20:57 -------
See http://gcc.gnu.org/ml/gcc-patches/2010-05/msg01912.html we are going to
have __int128 and unsigned __int128.


-- 


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


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

* [Bug libstdc++/40856] numeric_limits not specialized for __int128_t or __uint128_t
  2009-07-25 15:02 [Bug libstdc++/40856] New: numeric_limits not specialized for __int128_t or __uint128_t john dot salmon at deshaw dot com
                   ` (5 preceding siblings ...)
  2010-05-25 20:57 ` paolo dot carlini at oracle dot com
@ 2010-05-25 21:04 ` paolo dot carlini at oracle dot com
  6 siblings, 0 replies; 8+ messages in thread
From: paolo dot carlini at oracle dot com @ 2010-05-25 21:04 UTC (permalink / raw)
  To: gcc-bugs



-- 

paolo dot carlini at oracle dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|paolo dot carlini at oracle |
                   |dot com                     |
         AssignedTo|unassigned at gcc dot gnu   |paolo dot carlini at oracle
                   |dot org                     |dot com
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2010-05-25 21:03:55
               date|                            |


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


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

end of thread, other threads:[~2010-05-25 21:04 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-25 15:02 [Bug libstdc++/40856] New: numeric_limits not specialized for __int128_t or __uint128_t john dot salmon at deshaw dot com
2009-07-26  9:26 ` [Bug libstdc++/40856] " paolo dot carlini at oracle dot com
2009-12-17 12:09 ` paolo dot carlini at oracle dot com
2009-12-17 12:10 ` paolo dot carlini at oracle dot com
2010-02-18 14:10 ` paolo dot carlini at oracle dot com
2010-02-18 14:11 ` paolo dot carlini at oracle dot com
2010-05-25 20:57 ` paolo dot carlini at oracle dot com
2010-05-25 21:04 ` 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).