Platform:
  Fedora release 7 (Moonshine)
  Linux idle.lbl.gov 2.6.22.9-91.fc7 #1 SMP Thu Sep 27 20:47:39 EDT 2007 x86_64
x86_64 x86_64 GNU/Linux

% g++ -v
Using built-in specs.
Target: x86_64-unknown-linux-gnu
Configured with: /net/rosie/scratch2/rwgk/gcc_trunk/configure
--prefix=/net/cci-filer1/vol1/tmp/rwgk/gcc_trunk_130232_x86_64_fc7
--enable-languages=c,c++,fortran --with-mpfr=/usr
Thread model: posix
gcc version 4.3.0 20071116 (experimental) (GCC)

I'll attach a stand-alone reproducer.

It works with -O0 but not -O1 or higher:

% gcc -c -fno-strict-aliasing -O1 -Wall ice_ssa.c
ice_ssa.c: In function 's_init':
ice_ssa.c:281: internal compiler error: in get_addr_dereference_operands, at
tree-ssa-operands.c:1688
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

The reproducer is derived from: Python-2.5.1/Modules/_struct.c
It is still quite big (297 lines) but has no external
dependencies. I've spend a significant amount of time stripping
it down starting from ca. 6000 lines of pre-processed code. I hope
you can do the rest much faster than I could.

Ralf


-- 
           Summary: ICE: tree-ssa-operands.c:1688
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rwgk at yahoo dot com
 GCC build triplet: x86_64-unknown-linux-gnu
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu


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

Reply via email to