public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/26763]  New: wrong final value of indaction variable calculated
@ 2006-03-19 23:03 debian-gcc at lists dot debian dot org
  2006-03-19 23:09 ` [Bug tree-optimization/26763] [4.1 Regression] " pinskia at gcc dot gnu dot org
                   ` (17 more replies)
  0 siblings, 18 replies; 20+ messages in thread
From: debian-gcc at lists dot debian dot org @ 2006-03-19 23:03 UTC (permalink / raw)
  To: gcc-bugs

[ forwarded from http://bugs.debian.org/356896 ]

void abort(void);

__attribute__((noinline))
int *foo(int *start) {
    int *tmp;
    for (tmp = start + 100; tmp > start; --tmp) ;
    return tmp;
}

int main() {
  int x[100];

  if (foo(x) != x)
      abort();

  return 0;
}

aborts with 4.1.0 20051124 at -O1 or higher
does not abort at -O0, or with 4.0.3 or 4.2.0 20060304


-- 
           Summary: wrong final value of indaction variable calculated
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: debian-gcc at lists dot debian dot org


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


^ permalink raw reply	[flat|nested] 20+ messages in thread
[parent not found: <bug-26763-4@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2014-02-16 13:12 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-19 23:03 [Bug tree-optimization/26763] New: wrong final value of indaction variable calculated debian-gcc at lists dot debian dot org
2006-03-19 23:09 ` [Bug tree-optimization/26763] [4.1 Regression] " pinskia at gcc dot gnu dot org
2006-03-20 10:15 ` [Bug tree-optimization/26763] [4.1 Regression] wrong final value of induction " rguenth at gcc dot gnu dot org
2006-03-25 22:14 ` rguenth at gcc dot gnu dot org
2006-03-27 15:43 ` rakdver at gcc dot gnu dot org
2006-03-27 22:33 ` rakdver at gcc dot gnu dot org
2006-03-28 12:08 ` rakdver at gcc dot gnu dot org
2006-03-28 13:33 ` rguenth at gcc dot gnu dot org
2006-03-31 21:12 ` rguenth at gcc dot gnu dot org
2006-04-03 16:45 ` patchapp at dberlin dot org
2006-04-03 16:53 ` rakdver at gcc dot gnu dot org
2006-04-03 16:59 ` rguenther at suse dot de
2006-04-03 17:22 ` rakdver at atrey dot karlin dot mff dot cuni dot cz
2006-04-04  8:15 ` patchapp at dberlin dot org
2006-04-05  8:16 ` [Bug tree-optimization/26763] [4.1/4.2 " rguenth at gcc dot gnu dot org
2006-04-05  8:20 ` rguenth at gcc dot gnu dot org
2006-04-05  8:22 ` rguenth at gcc dot gnu dot org
2006-04-17  2:27 ` pinskia at gcc dot gnu dot org
2006-04-17 10:10 ` rguenth at gcc dot gnu dot org
     [not found] <bug-26763-4@http.gcc.gnu.org/bugzilla/>
2014-02-16 13:12 ` jackie.rosen at hushmail dot com

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).