From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6742 invoked by alias); 20 May 2010 04:53:38 -0000 Received: (qmail 6687 invoked by uid 48); 20 May 2010 04:53:22 -0000 Date: Thu, 20 May 2010 04:53:00 -0000 Message-ID: <20100520045322.6686.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug rtl-optimization/44169] Wrong code while generating TLS offsets In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "Kyle dot D dot Moffett at boeing dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-05/txt/msg02135.txt.bz2 ------- Comment #5 from Kyle dot D dot Moffett at boeing dot com 2010-05-20 04:53 ------- I am not able to reproduce this with a cross-compiling GCC 4.4.3 or 4.4.4 built from Debian sources. Configuration parameters for GCC 4.4.4 were: -v --with-pkgversion='Debian 4.4.4-2' --with-bugurl='file:///usr/share/doc/gcc-4.4/README.Bugs' --prefix=/usr --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/powerpc-linux-gnuspe/include/c++/4.4.4 --program-suffix=-4.4 --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --with-cpu=8548 --enable-e500_double --with-long-double-128 --disable-multilib --enable-checking=release --program-prefix=powerpc-linux-gnuspe- --includedir=/usr/powerpc-linux-gnuspe/include --with-headers=/usr/powerpc-linux-gnuspe/include --with-libs=/usr/powerpc-linux-gnuspe/lib --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=powerpc-linux-gnuspe CC=gcc build_alias=x86_64-linux-gnu host_alias=x86_64-linux-gnu target_alias=powerpc-linux-gnuspe --enable-languages=c,c++,fortran,objc,obj-c++ Versions are: powerpc-linux-gnuspe-gcc-4.3 (Debian 4.3.4-10 with a patch to debian/rules) 4.3.4 powerpc-linux-gnuspe-gcc-4.4 (Debian 4.4.4-2 with a patch to debian/rules) 4.4.4 The C file was compiled as follows in both cases: powerpc-linux-gnuspe-gcc -Werror -pthread -ftls-model=initial-exec -O2 -pthread -fPIC -DPIC tc.c -o tc.S -S -mcpu=8540 -O1 -fdump-rtl-all -c I'm not very familiar with the RTL passes, but if somebody can tell me what else to look for or test I'll go scrounge around to see if I can find what's hiding the problem for me. Cheers, Kyle Moffett -- Kyle dot D dot Moffett at boeing dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |Kyle dot D dot Moffett at | |boeing dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44169