This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/78482] [5/6/7 Regression] wrong code at -O3 in both 32-bit and 64-bit modes on x86_64-linux-gnu
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 23 Nov 2016 19:02:37 +0000
- Subject: [Bug tree-optimization/78482] [5/6/7 Regression] wrong code at -O3 in both 32-bit and 64-bit modes on x86_64-linux-gnu
- Auto-submitted: auto-generated
- References: <bug-78482-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78482
--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 40135
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40135&action=edit
gcc7-pr78482-test.patch
Does this patch fix that?
In addition to changing char to signed char, I've changed the testcase so that
it actually FAILs with unfixed compiler and PASSes with fixed one, previously
with unfixed compiler it would just print 2 on stdout where nothing would
notice that.