http://bugzilla.novell.com/show_bug.cgi?id=500138 Summary: problems with the compilation and the work of the program (loop for(;;), language C, GCC) Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: i686 OS/Version: openSUSE 11.1 Status: NEW Severity: Normal Priority: P5 - None Component: Development AssignedTo: pth@novell.com ReportedBy: egd.free@gmail.com QAContact: qa@suse.de Found By: --- Created an attachment (id=289487) --> (http://bugzilla.novell.com/attachment.cgi?id=289487) code User-Agent: Opera/9.64 (X11; Linux i686; U; ru) Presto/2.1.1 after pompilyatsii this code, the function returns 2 replace the condition for breaking the cycle of "j! = n+1" for "j ! = n" - functions, always returns -1 ie for (j = 0; j! = n; + + j), for (j = 1; j! = n; + + j) return -1 Reproducible: Always Steps to Reproduce: 1. gcc 12.6.1.c -o code 2. ./code gcc -v Using built-in specs. Target: i586-suse-linux Configured with: ../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.3 --enable-ssp --disable-libssp --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --disable-libmudflap --with-slibdir=/lib --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-runtime-libs --program-suffix=-4.3 --enable-linux-futex --without-system-libunwind --with-cpu=generic --build=i586-suse-linux Thread model: posix gcc version 4.3.2 [gcc-4_3-branch revision 141291] (SUSE Linux) -- 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.