public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/27907]  New: ICE in expand_simple_unop, at optabs.c:2307
@ 2006-06-06  1:17 tbm at cyrius dot com
  2006-06-07  9:12 ` [Bug target/27907] [4.2 regression] " falk at debian dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: tbm at cyrius dot com @ 2006-06-06  1:17 UTC (permalink / raw)
  To: gcc-bugs

ICE on Alpha with gcc 4.2 20060508:

tbm@juist:~/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.
tbm@juist:~/delta/bin$ /usr/lib/gcc-snapshot/bin/gcc -c mini.c
tbm@juist:~/delta/bin$ gcc-4.0 -c -O2 mini.c
tbm@juist:~/delta/bin$ gcc-4.1 -c -O2 mini.c
tbm@juist:~/delta/bin$
tbm@juist:~/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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-07-26 17:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-06  1:17 [Bug target/27907] New: ICE in expand_simple_unop, at optabs.c:2307 tbm at cyrius dot com
2006-06-07  9:12 ` [Bug target/27907] [4.2 regression] " falk at debian dot org
2006-06-07 21:57 ` janis at gcc dot gnu dot org
2006-07-23 22:14 ` rakdver at gcc dot gnu dot org
2006-07-25 12:20 ` rakdver at gcc dot gnu dot org
2006-07-26 16:47 ` rakdver at gcc dot gnu dot org
2006-07-26 17:03 ` pinskia at gcc dot gnu dot org

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).