[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#361715: Log for failed build of barrage_1.0.2-1



* Martin Michlmayr <tbm@cyrius.com> [2006-04-09 22:31]:
> I also get a segfaul with barrage_1.0.2-1.  Unless I made a mistake,
> delta reduced it to the same test case as for pari_2.1.7-2 so I assume
> they are the same bug.

Yeah, I had an old file around that delta used instead.  Below is a
new test case.  Falk, do you see this segfault?

(sid)2771:tbm@em64t: ~/delta/bin] cat mini.c
typedef struct
{
}
Vector;
typedef struct
{
}
Tree;
typedef struct
{
  Tree trees[50];
  int tree_count;
}
BField;
BField bfield;
bfield_init (int type, Vector * gun, Vector * gun_img_offset)
{
  int i;
  for (i = 0; i < 4; i++)
    set_tree (&bfield.trees[bfield.tree_count++],
              0);
  for (i = 0; i < 4; i++)
    set_tree (&bfield.trees[bfield.tree_count++],
              ((rand () % ((280 + (i + 1) * 50 - 20) - (280 + i * 50) + 1)) +
               (280 + i * 50)), 0);
}
(sid)2772:tbm@em64t: ~/delta/bin] /usr/lib/gcc-snapshot/bin/gcc -c -O2 mini.c
mini.c: In function 'bfield_init':
mini.c:17: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
zsh: exit 1     /usr/lib/gcc-snapshot/bin/gcc -c -O2 mini.c
(sid)2773:tbm@em64t: ~/delta/bin] /usr/lib/gcc-snapshot/bin/gcc -c mini.c
(sid)2774:tbm@em64t: ~/delta/bin]

-- 
Martin Michlmayr
http://www.cyrius.com/



Reply to: