[Bug c/43755] New: Bit shifting by a 8 byte variable isn't the same as bit shifting by an 8 or a 4 byte constant on 64bit platform.

2010-04-14 Thread mail dot alexhaase at gmail dot com
Severity: minor Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: mail dot alexhaase at gmail dot com GCC build triplet: x86_64-linux-gnu GCC host triplet: x86_64-linux-gnu GCC target triplet: x86_64-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43755

[Bug c/43755] Bit shifting by a 8 byte variable isn't the same as bit shifting by an 8 or a 4 byte constant on 64bit platform.

2010-04-14 Thread mail dot alexhaase at gmail dot com
--- Comment #1 from mail dot alexhaase at gmail dot com 2010-04-15 03:16 --- Created an attachment (id=20384) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20384&action=view) Bug demo -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43755

[Bug c/43756] New: Bit shifitng by a constant 32 isn't the same as bitshifting by a variable 32.

2010-04-14 Thread mail dot alexhaase at gmail dot com
dot gnu dot org ReportedBy: mail dot alexhaase at gmail dot com GCC build triplet: i486-linux-gnu GCC host triplet: i486-linux-gnu GCC target triplet: i486-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43756

[Bug c/43756] Bit shifitng by a constant 32 isn't the same as bitshifting by a variable 32.

2010-04-14 Thread mail dot alexhaase at gmail dot com
--- Comment #1 from mail dot alexhaase at gmail dot com 2010-04-15 03:32 --- Created an attachment (id=20385) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20385&action=view) a demo of this bug -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43756

[Bug c/43755] Bit shifting by a 8 byte variable isn't the same as bit shifting by an 8 or a 4 byte constant on 64bit platform.

2010-04-14 Thread mail dot alexhaase at gmail dot com
--- Comment #2 from mail dot alexhaase at gmail dot com 2010-04-15 03:33 --- I tested on 32bits and found slightly less confusing, though still confusing results. Bug id #43756 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43755