[forwarded from http://bugs.debian.org/269209] bug reporter sees this on alpha,powerpc,s390,sparc, Falk reproduced it on powerpc. works with gcc-3.2, gcc-3.4.2, current gcc-3.3 branch fails. reducing opt. to -O1 works. gcc -O2 -c int nxtmkr() { while (jpg1byte()) return 0; }
Subject: Bug 17363 CVSROOT: /cvs/gcc Module name: gcc Branch: gcc-3_3-branch Changes by: sayle@gcc.gnu.org 2004-09-20 22:52:38 Modified files: gcc : ChangeLog sched-rgn.c Log message: PR rtl-optimization/17363 Backport from mainline 2003-07-19 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> PR bootstrap/11593 * sched-rgn.c (find_rgns): Initialize current_edge correctly. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.16114.2.1017&r2=1.16114.2.1018 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/sched-rgn.c.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.50.2.1&r2=1.50.2.2
Fixed.