This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/48377] [4.6 regression] miscompilation at -O3
- From: "d.g.gorbachev at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 6 Apr 2011 05:25:34 +0000
- Subject: [Bug middle-end/48377] [4.6 regression] miscompilation at -O3
- Auto-submitted: auto-generated
- References: <bug-48377-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48377
--- Comment #8 from Dmitry Gorbachev <d.g.gorbachev at gmail dot com> 2011-04-06 05:25:21 UTC ---
In hashmap.hpp
static inline uint32_t
Hashcode( const char* s, uint32_t len, bool case_insensitive)
{
// prepare to run through string in 4-byte chunks
const uint32_t* wordp = (const uint32_t*)s;
bug: wordp can be incorrectly aligned.