ICE on Alpha with gcc 4.2 20060508: [EMAIL PROTECTED]:~/delta/bin$ /usr/lib/gcc-snapshot/bin/gcc -c -O1 mini.c mini.c: In function 'fann_run': mini.c:23: internal compiler error: in expand_simple_unop, at optabs.c:2307 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. [EMAIL PROTECTED]:~/delta/bin$ /usr/lib/gcc-snapshot/bin/gcc -c mini.c [EMAIL PROTECTED]:~/delta/bin$ gcc-4.0 -c -O2 mini.c [EMAIL PROTECTED]:~/delta/bin$ gcc-4.1 -c -O2 mini.c [EMAIL PROTECTED]:~/delta/bin$ [EMAIL PROTECTED]:~/delta/bin$ cat mini.c typedef double fann_type; typedef struct { } _G_fpos64_t; struct fann_neuron { fann_type value; } __attribute__ ((packed)); struct fann_layer { struct fann_neuron *last_neuron; }; struct fann { struct fann_layer *first_layer; }; fann_run (struct fann *ann, fann_type * input) { struct fann_layer *layer_it, *layer_it2, *last_layer; for (layer_it = ann->first_layer + 1; layer_it != last_layer; layer_it++) { ((layer_it - 1)->last_neuron - 1)->value = 1; } }
-- Summary: ICE in expand_simple_unop, at optabs.c:2307 Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tbm at cyrius dot com GCC build triplet: alpha-linux-gnu GCC host triplet: alpha-linux-gnu GCC target triplet: alpha-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27907