This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/28045] Bitfield, &&, and optimization => bad code generation



------- Comment #3 from Jerry dot James at usu dot edu  2006-06-17 21:05 -------
I can confirm that both the mainline and the current 4.1 branch compile the
testcase correctly.  Nevertheless, both the current 4.1 branch and the mainline
(revision 114741) are still miscompiling XEmacs when any optimization at all is
used, so the testcase must be too simple.  I just attached a more complex
testcase that includes much of the actual code from XEmacs.  I trimmed this
down quite a bit from the original code, but it's still over 600 lines.  This
code illustrates the bug on both the i386 and x86_64 platforms.  You have to
link with the GMP library (-lgmp) when compiling.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28045


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]