This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/34240] New: ICE with __builtin_isnormal
- From: "pcarlini at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Nov 2007 20:06:04 -0000
- Subject: [Bug c++/34240] New: ICE with __builtin_isnormal
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
#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