This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/34240] New: ICE with __builtin_isnormal


#include <string> 

template<typename T>
  int isnan(T t)
  {
    return __builtin_isnormal(t);
  }

int f()
{
  return isnan(std::string());
}

ice.cc: In function ?int isnan(T) [with T = std::basic_string<char,
std::char_traits<char>, std::allocator<char> >]?:
ice.cc:6: internal compiler error: in expr_size, at explow.c:249


-- 
           Summary: ICE with __builtin_isnormal
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pcarlini at suse dot de
GCC target triplet: x86_64-unknown-linux-gnu


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]