--- Comment #6 from rsandifo at gcc dot gnu dot org 2008-10-18 09:47
---
*** Bug 36973 has been marked as a duplicate of this bug. ***
--
rsandifo at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #5 from rguenth at gcc dot gnu dot org 2008-09-04 11:57 ---
*** This bug has been marked as a duplicate of 37343 ***
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
--
--- Comment #4 from tbm at cyrius dot com 2008-09-04 10:25 ---
Drop the "static" from the declaration of FindSmallestPitch() and you get:
(sid)1519:[EMAIL PROTECTED]: ~/delta/bin] /usr/lib/gcc-snapshot/bin/gcc -Wall
-O -c
mini.c
mini.c: In function 'FindSmallestPitch':
mini.c:5: intern
--- Comment #3 from tbm at cyrius dot com 2008-09-04 10:24 ---
/* Testcase by Martin Michlmayr <[EMAIL PROTECTED]> */
static int
FindSmallestPitch (int i)
{
int Pitches1[5];
int *linePitches = ((void *) 0);
switch (i)
{
case 0x0519:
linePitches = Pitches1;
}
return
--- Comment #2 from tbm at cyrius dot com 2008-09-04 10:24 ---
Created an attachment (id=16220)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16220&action=view)
Preprocessed code
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37368
--- Comment #1 from tbm at cyrius dot com 2008-09-04 10:04 ---
Program received signal SIGSEGV, Segmentation fault.
remove_unused_locals () at gcc/tree-ssa-live.c:589
589 var_ann (t)->used = false;
(gdb) where
#0 remove_unused_locals () at gcc/tree-ssa-live.c:589
#1 0x0