Product: gcc
Version: 4.1.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: peter at empeg dot com
GCC build triplet: i686-linux-gnu
GCC host triplet: i686-li
--- Comment #1 from peter at empeg dot com 2006-08-24 10:37 ---
Created an attachment (id=12124)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12124&action=view)
gzipped preprocessed source of testcase
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28833
#x27;t yet know
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: peter at empeg dot com
GCC build triplet: x86_64-
++
Assignee: unassigned at gcc dot gnu.org
Reporter: peter at empeg dot com
GCC 4.9.0 for x86_64 produces the wrong code for bar1 given this C++ file:
unsigned char foo();
bool bar1() { return foo() & 1; }
bool bar2() { return foo() & 2; }
gcc -O2 -S gcc49.cpp -Wall
--- Comment #4 from peter at empeg dot com 2010-01-26 19:29 ---
I get the same error on host=build=x86_64-linux, target=i586-mingw32. At least
in my case, this is a regression in 4.4.3, as 4.4.2 worked fine.
--
peter at empeg dot com changed:
What|Removed