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

             Bug #: 52425
           Summary: ICE when compiling file from audacious on debian sparc
    Classification: Unclassified
           Product: gcc
           Version: 4.6.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: plugw...@p10link.net


Building
http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=10;filename=ui_fileopener.preprocessed;att=1;bug=659793
(preprocessed output from a file that formed part of audacious) with the
following command

gcc -fPIC -DPIC -g -O2 -std=gnu99 -pipe -pthread -c -xcpp-output
ui_fileopener.preprocessed


on debian sparc sid (debian gcc version 4.6.2-15, triplet sparc-linux-gnu)
produces.

root@netra:/audacious-3.2/src/libaudgui# gcc -fPIC -DPIC -g -O2 -std=gnu99
-pipe -pthread -c -xcpp-output ui_fileopener.preprocessed
ui_fileopener.c:200:1: internal compiler error: output_operand: invalid
expression as operand
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.6/README.Bugs> for instructions.
{standard input}: Assembler messages:
{standard input}:6791: Warning: partial line at end of file ignored
Preprocessed source stored into /tmp/ccxHh7Af.out file, please attach this to
your bugreport.
root@netra:/audacious-3.2/src/libaudgui#

If the optimisation level is dropped to -O1 or -fPIC is removed from the
command line the file builds successfully.

gcc-4.5 (debian gcc version 4.5.3-12) does not exhibit the bug.
gcc-snapshot ((Debian 20120128-1) 4.7.0 20120128 (experimental) [trunk revision
183664]) also does not exibit the bug.

This bug is reported in debian as
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=659793

Reply via email to