dot org
ReportedBy: tneumann at pi3 dot informatik dot uni-mannheim dot de
GCC host triplet: x86_64-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27465
--- Comment #3 from tneumann at pi3 dot informatik dot uni-mannheim dot de
2006-05-26 16:35 ---
This still happens with gcc-4.0-20060518, see the error message below. The
gcc-4.[12] branches presumably work, I only tried 4.1.
./gcc4/bin/g++ -c foo.cpp
foo.cpp: In member function
--- Additional Comments From tneumann at pi3 dot informatik dot
uni-mannheim dot de 2005-07-06 07:42 ---
How about using a union-cast to hash floating point numbers? Something like this
unsigned hash(double v) {
union { double a; unsigned long long b; } tmp;
tmp.a=v; return tmp.b
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: tneumann at pi3 dot informatik dot uni-mannheim dot de
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22354
tatus: UNCONFIRMED
Severity: enhancement
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: tneumann at pi3 dot informatik dot uni-mannheim dot de
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bug