public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "lk0946 at att dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c/46488] New: server/core_filters.c from apache httpd 2.2.17 does not produce good code with optimizations (-O) used on Solaris Sparc 64-bit Date: Mon, 15 Nov 2010 18:55:00 -0000 [thread overview] Message-ID: <bug-46488-4@http.gcc.gnu.org/bugzilla/> (raw) http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46488 Summary: server/core_filters.c from apache httpd 2.2.17 does not produce good code with optimizations (-O) used on Solaris Sparc 64-bit Product: gcc Version: 4.5.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned@gcc.gnu.org ReportedBy: lk0946@att.com Created attachment 22403 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22403 Preprocessed server/core_filters.c Compiling the latest Apache httpd (2.2.17) using GCC 4.5.1 on Solaris Sparc and 64-bit produces a non-functioning web server. Attempts to connect to httpd result in an immediate hang-up with no logs. Recompiling server/core_filters.c without -O[2,3] produces a working httpd. GCC was built with the following options: ../configure --with-gnu-as --with-as=/sites/compiler/bin/as \ --without-gnu-ld \ --with-ld=/usr/ccs/bin/ld \ --enable-shared --enable-languages=c,c++ \ --with-gmp=/sites/compiler/64bit --with-mpfr=/sites/compiler/64bit \ --prefix=/sites/compiler/64bit \ --build=sparc64-sun-solaris2.10 GNU C (GCC) version 4.5.1 (sparc64-sun-solaris2.10) compiled by GNU C version 4.5.1, GMP version 4.3.2, MPFR version 2.4.2, MPC version 0.8.1 GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 There are no compiler warnings when compiling httpd. httpd configure command: ./configure --prefix=/sites/httpd-2.2.17-worker-niagara-64 --enable-mods-shared=all --with-mpm=worker --enable-logio --enable-headers --disable-autoindex --enable-cgi --disable-userdir --enable-so --enable-ssl --disable-ipv6 --with-ssl=/sites/OPENSSL/openssl-1.0.0-niagara-64 --enable-info --enable-nonportable-atomics=yes --enable-deflate --enable-unique-id --with-pcre=/sites/utils --enable-proxy --build=sparc64-sun-solaris2.10 CFLAGS are: CFLAGS='-m64 -mcpu=niagara -mtune=niagara -O3' Pre-processed file is attached.
next reply other threads:[~2010-11-15 18:54 UTC|newest] Thread overview: 43+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-11-15 18:55 lk0946 at att dot com [this message] 2010-11-16 8:37 ` [Bug middle-end/46488] [4.5 regression] server/core_filters.c from apache httpd 2.2.17 miscompiled with optimization ebotcazou at gcc dot gnu.org 2010-11-16 16:48 ` lk0946 at att dot com 2010-11-16 16:55 ` lk0946 at att dot com 2010-11-16 17:16 ` ebotcazou at gcc dot gnu.org 2010-11-17 0:10 ` lk0946 at att dot com 2010-11-17 0:31 ` ebotcazou at gcc dot gnu.org 2010-11-17 6:43 ` lk0946 at att dot com 2010-11-17 7:44 ` ebotcazou at gcc dot gnu.org 2010-11-25 16:06 ` rguenth at gcc dot gnu.org 2010-11-25 16:58 ` ebotcazou at gcc dot gnu.org 2010-11-26 22:34 ` lk0946 at att dot com 2010-11-26 23:09 ` [Bug middle-end/46488] server/core_filters.c from apache httpd 2.2.17 miscompiled with optimization -O3 rguenth at gcc dot gnu.org 2010-11-27 0:12 ` lk0946 at att dot com 2010-11-27 14:11 ` ebotcazou at gcc dot gnu.org 2010-11-27 23:59 ` LpSolit at netscape dot net 2010-11-28 9:49 ` [Bug middle-end/46488] [4.5 regression] server/core_filters.c from apache httpd 2.2.17 miscompiled at -O3 ebotcazou at gcc dot gnu.org 2010-11-28 13:22 ` ebotcazou at gcc dot gnu.org 2010-11-28 14:33 ` ebotcazou at gcc dot gnu.org 2010-11-29 11:05 ` jorton at redhat dot com 2010-11-29 11:59 ` ebotcazou at gcc dot gnu.org 2010-11-29 12:10 ` jorton at redhat dot com 2010-11-29 13:34 ` ebotcazou at gcc dot gnu.org 2010-11-29 14:03 ` rguenth at gcc dot gnu.org 2010-11-29 14:07 ` rguenth at gcc dot gnu.org 2010-11-29 14:31 ` jorton at redhat dot com 2010-11-29 14:41 ` rguenther at suse dot de 2010-11-29 21:39 ` pcpa at mandriva dot com.br 2010-11-30 7:47 ` ebotcazou at gcc dot gnu.org 2010-11-30 10:00 ` ebotcazou at gcc dot gnu.org 2010-11-30 10:57 ` rguenth at gcc dot gnu.org 2010-11-30 13:14 ` ebotcazou at gcc dot gnu.org 2010-11-30 15:18 ` ebotcazou at gcc dot gnu.org 2010-11-30 15:47 ` rguenther at suse dot de 2010-11-30 23:43 ` pcpa at mandriva dot com.br 2010-11-30 23:52 ` ebotcazou at gcc dot gnu.org 2010-12-01 10:13 ` rguenther at suse dot de 2010-12-01 12:15 ` ebotcazou at gcc dot gnu.org 2010-12-01 18:23 ` pcpa at mandriva dot com.br 2010-12-01 18:26 ` pcpa at mandriva dot com.br 2010-12-01 18:56 ` ebotcazou at gcc dot gnu.org 2010-12-01 21:54 ` ebotcazou at gcc dot gnu.org 2010-12-01 22:15 ` rguenth at gcc dot gnu.org
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-46488-4@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).