public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c/44828] [4.3/4.4 Regression] possible integer wrong code bug [not found] <bug-44828-4@http.gcc.gnu.org/bugzilla/> @ 2011-04-26 7:42 ` jakub at gcc dot gnu.org 0 siblings, 0 replies; 4+ messages in thread From: jakub at gcc dot gnu.org @ 2011-04-26 7:42 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44828 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |jakub at gcc dot gnu.org Known to work| | Resolution| |FIXED Target Milestone|4.3.6 |4.5.1 Known to fail| | --- Comment #14 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-04-26 07:40:15 UTC --- Fixed for 4.5.1+. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c/44828] New: possible integer wrong code bug @ 2010-07-05 22:52 regehr at cs dot utah dot edu 2010-07-08 11:57 ` [Bug c/44828] [4.3/4.4 Regression] " rguenth at gcc dot gnu dot org ` (2 more replies) 0 siblings, 3 replies; 4+ messages in thread From: regehr at cs dot utah dot edu @ 2010-07-05 22:52 UTC (permalink / raw) To: gcc-bugs regehr@john-home:~$ current-gcc -v Using built-in specs. COLLECT_GCC=current-gcc COLLECT_LTO_WRAPPER=/home/regehr/z/compiler-install/gcc-r161813-install/libexec/gcc/i686-pc-linux-gnu/4.6.0/lto-wrapper Target: i686-pc-linux-gnu Configured with: ../configure --with-libelf=/usr/local --enable-lto --prefix=/home/regehr/z/compiler-install/gcc-r161813-install --program-prefix=r161813- --enable-languages=c,c++ Thread model: posix gcc version 4.6.0 20100704 (experimental) (GCC) regehr@john-home:~$ current-gcc -O1 small.c -o small regehr@john-home:~$ ./small checksum g_40 = 274686410 regehr@john-home:~$ current-gcc -O2 small.c -o small regehr@john-home:~$ ./small checksum g_40 = -1 regehr@john-home:~$ cat small.c extern int printf (__const char *__restrict __format, ...); static char foo (char si1, char si2) { return si1* si2; } const volatile unsigned int g_2[8][3] = {{0L, 0L, 0L}, {0L, 0L, 0L}, {0L, 0L, 0L}, {0L, 0L, 0L}, {0L, 0L, 0L}, {0L, 0L, 0L}, {0L, 0L, 0L}, {0L, 0L, 0L}}; long long g_29 = 1; int g_40 = 0x105F61CAL; int *g_39 = &g_40; volatile int * volatile g_88[1] = {0}; volatile int g_429[5] = {1L, 1L, 1L, 1L, 1L}; int main(void) { int * const l_353 = &g_40; int l_414 = 0xF5B296C2L; if (!(g_2[5][2])) { int l_420 = 0x0332F5C8L; if (((foo (l_420, (*l_353))) > (!-10L))) { for (l_414 = 0; l_414 < 1; l_414 += 1) { g_88[l_414] = &g_429[2]; } (*g_39) = -1; } } printf("checksum g_40 = %d\n", g_40); return g_29; } -- Summary: possible integer wrong code bug Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: regehr at cs dot utah dot edu GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44828 ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c/44828] [4.3/4.4 Regression] possible integer wrong code bug 2010-07-05 22:52 [Bug c/44828] New: " regehr at cs dot utah dot edu @ 2010-07-08 11:57 ` rguenth at gcc dot gnu dot org 2010-07-08 14:18 ` bergner at gcc dot gnu dot org 2010-07-27 11:24 ` rguenth at gcc dot gnu dot org 2 siblings, 0 replies; 4+ messages in thread From: rguenth at gcc dot gnu dot org @ 2010-07-08 11:57 UTC (permalink / raw) To: gcc-bugs ------- Comment #12 from rguenth at gcc dot gnu dot org 2010-07-08 11:57 ------- Fixed for 4.5.1 as well. Backporting to older branches will regress vectorization if the fix for PR44284 isn't backported as well which IMHO isn't appropriate. -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work|4.2.4 4.6.0 |4.2.4 4.5.1 4.6.0 Summary|[4.3/4.4/4.5 Regression] |[4.3/4.4 Regression] |possible integer wrong code |possible integer wrong code |bug |bug http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44828 ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c/44828] [4.3/4.4 Regression] possible integer wrong code bug 2010-07-05 22:52 [Bug c/44828] New: " regehr at cs dot utah dot edu 2010-07-08 11:57 ` [Bug c/44828] [4.3/4.4 Regression] " rguenth at gcc dot gnu dot org @ 2010-07-08 14:18 ` bergner at gcc dot gnu dot org 2010-07-27 11:24 ` rguenth at gcc dot gnu dot org 2 siblings, 0 replies; 4+ messages in thread From: bergner at gcc dot gnu dot org @ 2010-07-08 14:18 UTC (permalink / raw) To: gcc-bugs ------- Comment #13 from bergner at gcc dot gnu dot org 2010-07-08 14:18 ------- Subject: Bug 44828 Author: bergner Date: Thu Jul 8 14:17:52 2010 New Revision: 161956 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=161956 Log: PR middle-end/44828 * gcc.c-torture/execute/pr44828.c (foo): Use signed char. * gcc.c-torture/execute/pr44828.x: Revert. Removed: trunk/gcc/testsuite/gcc.c-torture/execute/pr44828.x Modified: trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gcc.c-torture/execute/pr44828.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44828 ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c/44828] [4.3/4.4 Regression] possible integer wrong code bug 2010-07-05 22:52 [Bug c/44828] New: " regehr at cs dot utah dot edu 2010-07-08 11:57 ` [Bug c/44828] [4.3/4.4 Regression] " rguenth at gcc dot gnu dot org 2010-07-08 14:18 ` bergner at gcc dot gnu dot org @ 2010-07-27 11:24 ` rguenth at gcc dot gnu dot org 2 siblings, 0 replies; 4+ messages in thread From: rguenth at gcc dot gnu dot org @ 2010-07-27 11:24 UTC (permalink / raw) To: gcc-bugs -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|rguenth at gcc dot gnu dot |unassigned at gcc dot gnu |org |dot org Status|ASSIGNED |NEW http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44828 ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-04-26 7:42 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <bug-44828-4@http.gcc.gnu.org/bugzilla/> 2011-04-26 7:42 ` [Bug c/44828] [4.3/4.4 Regression] possible integer wrong code bug jakub at gcc dot gnu.org 2010-07-05 22:52 [Bug c/44828] New: " regehr at cs dot utah dot edu 2010-07-08 11:57 ` [Bug c/44828] [4.3/4.4 Regression] " rguenth at gcc dot gnu dot org 2010-07-08 14:18 ` bergner at gcc dot gnu dot org 2010-07-27 11:24 ` rguenth at gcc dot gnu dot org
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).