[Bug c/20359] New: Incorrect code with global register variables

2005-03-07 Thread simonmar at microsoft dot com
AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: simonmar at microsoft dot com CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: x86_64-*-linux GCC host triplet: x86_64-*-linux GCC target triplet: x86_64-*-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20359

[Bug rtl-optimization/20359] Incorrect code with global register variables

2005-03-07 Thread simonmar at microsoft dot com
--- Additional Comments From simonmar at microsoft dot com 2005-03-07 15:11 --- Sorry, cut & pasted that gcc -v output from the wrong window. The bug really does occur with 3.4.2, here's the correct -v output: $ gcc -v Reading specs from /usr/lib/gcc/x86_64-redhat-linux/3.

[Bug c/34070] New: Wrong code for (int)x%4

2007-11-12 Thread simonmar at microsoft dot com
d on i686-unknown-linux. -- Summary: Wrong code for (int)x%4 Product: gcc Version: 4.2.1 Status: UNCONFIRMED Severity: major Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org Repo

[Bug c/26824] New: optimisation bug with -0x80000000

2006-03-23 Thread simonmar at microsoft dot com
rtedBy: simonmar at microsoft dot com GCC build triplet: x86_64-redhat-linux GCC host triplet: x86_64-redhat-linux GCC target triplet: x86_64-redhat-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26824

[Bug c/26824] optimisation bug with -0x80000000

2006-03-23 Thread simonmar at microsoft dot com
--- Comment #5 from simonmar at microsoft dot com 2006-03-23 15:10 --- I see your point, but I still think there's a bug. Let me change the code slightly: #include #include void f(int x) { long y; if (x < 0) { y = -x; if (y > 0) { prin