tracker for the upstream Bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45695 Description of problem: FSF GDB HEAD by FSF GCC 4.5.HEAD errors on `print 0|0' with -O1 and higher. Version-Release number of selected component (if applicable): FAIL: gcc-4.5.1-3.fc14.x86_64 How reproducible: Always. Steps to Reproduce: gcc -O1 x.c ./a.out; echo $? __attribute__((noinline, noclone)) void g (int x) { asm volatile (""); } __attribute__((noinline, noclone)) int f (int a, int b, int d) { int r = -1; b += d; if (d == a) r = b - d; g (b); return r; } int main (void) { asm volatile ("mov $42, %%rbx" : : : "rbx"); return f (0, 1, 4) == 42 ? 1 : 0; } Actual results: 1 Expected results: 0 Additional info:
gcc-4.5.1-4.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/gcc-4.5.1-4.fc14
gcc-4.5.1-4.fc14 has been pushed to the Fedora 14 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update gcc'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/gcc-4.5.1-4.fc14
gcc-4.5.1-4.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.