http://bugzilla.novell.com/show_bug.cgi?id=586132 http://bugzilla.novell.com/show_bug.cgi?id=586132#c0 Summary: gcc internal error (factory, 4.5.0, 20100218 trunk 156860) (try_improve_iv_set) Classification: openSUSE Product: openSUSE 11.3 Version: Factory Platform: x86-64 OS/Version: openSUSE 11.3 Status: NEW Severity: Normal Priority: P5 - None Component: Development AssignedTo: pth@novell.com ReportedBy: tamas.visegrady@gmail.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.0) Gecko/20100115 SUSE/3.6.0-1.8 Firefox/3.6 bug.$ gcc -O1 test.c test.c: In function 'fail': test.c:11:6: internal compiler error: in try_improve_iv_set, at tree-ssa-loop-ivopts.c:5238 --------------------- void fail (int bps) { int *p = (int *) 42; long i = 0; /* does not fail with "int i" */ do { p[i]++; } while (i += bps); } ---------- Happens at anything above -00. Found in mplayer 2010.03.07. snapshot. fail() is a trivially wrong (see p), minimized version of the original function. --------------------- bug.$ gcc --version gcc (SUSE Linux) 4.5.0 20100218 (experimental) [trunk revision 156860] bug.$ rpm -qi gcc Version : 4.5 Vendor: openSUSE Release : 4.1 Build Date: Fri Feb 26 12:08:30 2010 Group : Development/Languages/C and C++ Source RPM: gcc-4.5-4.1.src.rpm .. bug.$ uname -a Linux xxxxxxx 2.6.33-rc7-3-desktop #1 SMP PREEMPT 2010-02-12 17:37:20 +0100 x86_64 x86_64 x86_64 GNU/Linux Reproducible: Always Steps to Reproduce: 1. compile included function with -O1 or above Actual Results: compiler internal error: internal compiler error: in try_improve_iv_set, at tree-ssa-loop-ivopts.c:5238 Expected Results: running program -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.