public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "manuel.holtgrewe@fu-berlin.de" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/47460] Inconsistent behaviour of __sync_fetch_and_add builtin? Date: Tue, 25 Jan 2011 17:00:00 -0000 [thread overview] Message-ID: <bug-47460-4-P2jxPww3FP@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-47460-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47460 --- Comment #3 from Manuel Holtgrewe <manuel.holtgrewe@fu-berlin.de> 2011-01-25 16:53:23 UTC --- Sorry for posting this here again, but could somebody clarify the following, nevertheless and if this is expected behaviour, close the bug as invalid? In the future, I'll first try to ask on the list. Versions 4.4 and 4.5 were built with the same parameters (modulo some libraries), so my question is: Why are the __sync_fetch* builtins not found in 4.4 by default? Is this related to the configure parameters? --with-cloog=/group/agabi/software/i686/gcc-4.4.5 --with-ppl=/group/agabi/software/i686/gcc-4.4.5 --8<--8<--8<--8<--8<--8<--8<--8<--8<--8<-- $ for i in 1 2 3 4 5; do g++-4.$i --version; g++-4.$i -v; done g++-4.1 (GCC) 4.1.3 20080704 (prerelease) (Debian 4.1.2-25) Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --enable-languages=c,c++ --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.1.3 --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --with-tune=generic --enable-checking=release i486-linux-gnu Thread model: posix gcc version 4.1.3 20080704 (prerelease) (Debian 4.1.2-25) g++-4.2 (GCC) 4.2.4 (Debian 4.2.4-6) Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-targets=all --with-tune=generic --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu Thread model: posix gcc version 4.2.4 (Debian 4.2.4-6) g++-4.3 (Debian 4.3.2-1.1) 4.3.2 Copyright (C) 2008 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Debian 4.3.2-1.1' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-targets=all --enable-cld --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu Thread model: posix gcc version 4.3.2 (Debian 4.3.2-1.1) g++-4.4.5 (GCC) 4.4.5 Copyright (C) 2010 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Using built-in specs. Target: i686-pc-linux-gnu Configured with: ../../gcc-4.4.5/configure --prefix=/group/agabi/software/i686/gcc-4.4.5 --with-mpfr=/group/agabi/software/i686/gcc-4.4.5 --with-mpfr-lib=/group/agabi/software/i686/gcc-4.4.5/lib --with-gmp=/group/agabi/software/i686/gcc-4.4.5 --with-mpc=/group/agabi/software/i686/gcc-4.4.5 --with-cloog=/group/agabi/software/i686/gcc-4.4.5 --with-ppl=/group/agabi/software/i686/gcc-4.4.5 --enable-languages=c,c++ --program-suffix=-4.4.5 Thread model: posix gcc version 4.4.5 (GCC) g++-4.5.1 (GCC) 4.5.1 Copyright (C) 2010 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Using built-in specs. COLLECT_GCC=/group/agabi/software/i686/gcc-4.5.1/bin/g++-4.5.1 COLLECT_LTO_WRAPPER=/group/agabi/software/i686/gcc-4.5.1/libexec/gcc/i686-pc-linux-gnu/4.5.1/lto-wrapper Target: i686-pc-linux-gnu Configured with: ../configure --prefix=/group/agabi/software/i686/gcc-4.5.1 --with-mpfr=/group/agabi/software/i686/gcc-4.5.1 --with-mpfr-lib=/group/agabi/software/i686/gcc-4.5.1/lib --with-gmp=/group/agabi/software/i686/gcc-4.5.1 --with-mpc=/group/agabi/software/i686/gcc-4.5.1 --enable-languages=c,c++ --program-suffix=-4.5.1 Thread model: posix gcc version 4.5.1 (GCC)
next prev parent reply other threads:[~2011-01-25 16:53 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-01-25 16:34 [Bug tree-optimization/47460] New: " manuel.holtgrewe@fu-berlin.de 2011-01-25 16:48 ` [Bug tree-optimization/47460] " redi at gcc dot gnu.org 2011-01-25 16:53 ` redi at gcc dot gnu.org 2011-01-25 17:00 ` manuel.holtgrewe@fu-berlin.de [this message] 2011-01-25 17:04 ` redi at gcc dot gnu.org 2011-01-25 17:10 ` manuel.holtgrewe@fu-berlin.de
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-47460-4-P2jxPww3FP@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).