public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "khalek at linuxgamers dot net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug optimization/14110] altivec code misoptimized with any -O
Date: Mon, 15 Mar 2004 12:10:00 -0000	[thread overview]
Message-ID: <20040315121037.23962.qmail@sources.redhat.com> (raw)
In-Reply-To: <20040211141320.14110.lu_zero@gentoo.org>


------- Additional Comments From khalek at linuxgamers dot net  2004-03-15 12:10 -------
I have something similiar when attempting to build mpegvideo_altivec.c from ffmpeg. 

The following command always gives an ICE:
gcc -Wall  -maltivec -mabi=altivec -g -O3 -DHAVE_AV_CONFIG_H -I..
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o
ppc/mpegvideo_altivec.o ppc/mpegvideo_altivec.c

Only when dropping -O entirely does it compile.

Output when adding -v and -save-tempts is as follows:

Reading specs from /usr/lib/gcc-lib/powerpc-linux/3.3.3/specs
Configured with: ../src/configure -v
--enable-languages=c,c++,java,f77,pascal,objc,ada --prefix=/usr
--mandir=/usr/share/man --infodir=/usr/share/info
--with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --with-system-zlib
--enable-nls --without-included-gettext --enable-__cxa_atexit
--enable-clocale=gnu --enable-java-gc=boehm --enable-java-awt=xlib
--enable-objc-gc --disable-multilib powerpc-linux
Thread model: posix
gcc version 3.3.3 (Debian 20040306)
 /usr/lib/gcc-lib/powerpc-linux/3.3.3/cc1 -E -quiet -v -I.. -D__GNUC__=3
-D__GNUC_MINOR__=3 -D__GNUC_PATCHLEVEL__=3 -D__unix__ -D__gnu_linux__
-D__linux__ -Dunix -D__unix -Dlinux -D__linux -Asystem=unix -Asystem=posix
-DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE
ppc/mpegvideo_altivec.c -maltivec -mabi=altivec -Wall -O3 mpegvideo_altivec.i
ignoring nonexistent directory "/usr/powerpc-linux/include"
#include "..." search starts here:
#include <...> search starts here:
 ..
 /usr/local/include
 /usr/lib/gcc-lib/powerpc-linux/3.3.3/include
 /usr/include
End of search list.
 /usr/lib/gcc-lib/powerpc-linux/3.3.3/cc1 -fpreprocessed mpegvideo_altivec.i
-quiet -dumpbase mpegvideo_altivec.c -maltivec -mabi=altivec -auxbase-strip
ppc/mpegvideo_altivec.o -g -O3 -Wall -version -o mpegvideo_altivec.s
GNU C version 3.3.3 (Debian 20040306) (powerpc-linux)
        compiled by GNU C version 3.3.3 (Debian 20040306).
GGC heuristics: --param ggc-min-expand=72 --param ggc-min-heapsize=80312
ppc/mpegvideo_altivec.c: In function `dct_quantize_altivec':
ppc/mpegvideo_altivec.c:516: internal compiler error: in
add_location_or_const_value_attribute, at dwarf2out.c:9496
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14110


  parent reply	other threads:[~2004-03-15 12:10 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-11 14:13 [Bug optimization/14110] New: " lu_zero at gentoo dot org
2004-02-11 14:26 ` [Bug optimization/14110] " lu_zero at gentoo dot org
2004-02-11 16:46 ` pinskia at gcc dot gnu dot org
2004-02-11 17:15 ` lu_zero at gentoo dot org
2004-03-15 12:10 ` khalek at linuxgamers dot net [this message]
2004-03-15 12:14 ` khalek at linuxgamers dot net
2004-03-15 14:19 ` pinskia at gcc dot gnu dot org
2004-10-11 10:45 ` [Bug rtl-optimization/14110] " giovannibajo at libero dot it
2004-10-11 17:16 ` lu_zero at gentoo dot org
2004-10-11 17:20 ` pinskia at gcc dot gnu dot 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=20040315121037.23962.qmail@sources.redhat.com \
    --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: link
Be 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).