Seg fault

Dave Gilbert gilbertd@treblig.org
Sun Jun 4 13:38:00 GMT 2000


Seg fault while compiling motion_comp_c.c from the oms package.
(.i file included)

gcc from CVS: gcc version 2.96 20000604 (experimental)
System: Linux/Alpha
Options:

gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O3 -Wall -Werror
-Wp,-MD,.deps/motion_comp_c.pp -c motion_comp_c.c -o motion_comp_c.o
--save-temps

Looks like its got into a loop and eventually seg'd.

Dave

motion_comp_c.c:118: parse error before `#'
cc1: warnings being treated as errors
motion_comp_c.c:118: warning: type defaults to `int' in declaration of `curr_block'
motion_comp_c.c:118: `ref_block' undeclared here (not in a function)
motion_comp_c.c:118: warning: data definition has no type or storage class
motion_comp_c.c:118: warning: type defaults to `int' in declaration of `curr_block'
motion_comp_c.c:118: conflicting types for `curr_block'
motion_comp_c.c:118: previous declaration of `curr_block'
motion_comp_c.c:118: `ref_block' undeclared here (not in a function)
motion_comp_c.c:118: warning: data definition has no type or storage class
motion_comp_c.c:118: warning: type defaults to `int' in declaration of `curr_block'
motion_comp_c.c:118: conflicting types for `curr_block'
motion_comp_c.c:118: previous declaration of `curr_block'
motion_comp_c.c:118: `ref_block' undeclared here (not in a function)
motion_comp_c.c:118: warning: data definition has no type or storage class
motion_comp_c.c:118: warning: type defaults to `int' in declaration of `curr_block'
motion_comp_c.c:118: conflicting types for `curr_block'
motion_comp_c.c:118: previous declaration of `curr_block'
motion_comp_c.c:118: `ref_block' undeclared here (not in a function)
motion_comp_c.c:118: warning: data definition has no type or storage class
motion_comp_c.c:118: warning: type defaults to `int' in declaration of `curr_block'
motion_comp_c.c:118: conflicting types for `curr_block'
motion_comp_c.c:118: previous declaration of `curr_block'
motion_comp_c.c:118: `ref_block' undeclared here (not in a function)
motion_comp_c.c:118: warning: data definition has no type or storage class
motion_comp_c.c:118: warning: type defaults to `int' in declaration of `curr_block'
motion_comp_c.c:118: conflicting types for `curr_block'
motion_comp_c.c:118: previous declaration of `curr_block'
motion_comp_c.c:118: `ref_block' undeclared here (not in a function)
motion_comp_c.c:118: warning: data definition has no type or storage class
motion_comp_c.c:118: warning: type defaults to `int' in declaration of `curr_block'
motion_comp_c.c:118: conflicting types for `curr_block'
motion_comp_c.c:118: previous declaration of `curr_block'
motion_comp_c.c:118: `ref_block' undeclared here (not in a function)
motion_comp_c.c:118: warning: data definition has no type or storage class
motion_comp_c.c:118: warning: type defaults to `int' in declaration of `curr_block'
motion_comp_c.c:118: conflicting types for `curr_block'
motion_comp_c.c:118: previous declaration of `curr_block'
motion_comp_c.c:118: `ref_block' undeclared here (not in a function)
motion_comp_c.c:118: warning: data definition has no type or storage class
motion_comp_c.c:118: warning: type defaults to `int' in declaration of `curr_block'
motion_comp_c.c:118: conflicting types for `curr_block'
motion_comp_c.c:118: previous declaration of `curr_block'
motion_comp_c.c:118: `ref_block' undeclared here (not in a function)
motion_comp_c.c:118: warning: data definition has no type or storage class
motion_comp_c.c:118: warning: type defaults to `int' in declaration of `curr_block'
motion_comp_c.c:118: conflicting types for `curr_block'
motion_comp_c.c:118: previous declaration of `curr_block'
motion_comp_c.c:118: `ref_block' undeclared here (not in a function)
motion_comp_c.c:118: warning: data definition has no type or storage class
motion_comp_c.c:118: warning: type defaults to `int' in declaration of `curr_block'
motion_comp_c.c:118: conflicting types for `curr_block'
motion_comp_c.c:118: previous declaration of `curr_block'
motion_comp_c.c:118: `ref_block' undeclared here (not in a function)
motion_comp_c.c:118: warning: data definition has no type or storage class
motion_comp_c.c:118: warning: type defaults to `int' in declaration of `curr_block'
motion_comp_c.c:118: conflicting types for `curr_block'
motion_comp_c.c:118: previous declaration of `curr_block'
motion_comp_c.c:118: `ref_block' undeclared here (not in a function)
motion_comp_c.c:118: warning: data definition has no type or storage class
motion_comp_c.c:118: warning: type defaults to `int' in declaration of `curr_block'
motion_comp_c.c:118: conflicting types for `curr_block'
motion_comp_c.c:118: previous declaration of `curr_block'
motion_comp_c.c:118: `ref_block' undeclared here (not in a function)
motion_comp_c.c:118: warning: data definition has no type or storage class
motion_comp_c.c:118: warning: type defaults to `int' in declaration of `curr_block'
motion_comp_c.c:118: conflicting types for `curr_block'
motion_comp_c.c:118: previous declaration of `curr_block'
motion_comp_c.c:118: `ref_block' undeclared here (not in a function)
motion_comp_c.c:118: warning: data definition has no type or storage class
motion_comp_c.c:118: warning: type defaults to `int' in declaration of `curr_block'
motion_comp_c.c:118: conflicting types for `curr_block'
motion_comp_c.c:118: previous declaration of `curr_block'
motion_comp_c.c:118: `ref_block' undeclared here (not in a function)
motion_comp_c.c:118: warning: data definition has no type or storage class
motion_comp_c.c:118: parse error before `+='
motion_comp_c.c:118: parse error before `#'
motion_comp_c.c:118: warning: type defaults to `int' in declaration of `curr_block'
motion_comp_c.c:118: conflicting types for `curr_block'
motion_comp_c.c:118: previous declaration of `curr_block'
motion_comp_c.c:118: `ref_block' undeclared here (not in a function)
motion_comp_c.c:118: warning: data definition has no type or storage class
motion_comp_c.c:118: warning: type defaults to `int' in declaration of `curr_block'
motion_comp_c.c:118: conflicting types for `curr_block'
motion_comp_c.c:118: previous declaration of `curr_block'
motion_comp_c.c:118: `ref_block' undeclared here (not in a function)
motion_comp_c.c:118: warning: data definition has no type or storage class
motion_comp_c.c:118: warning: type defaults to `int' in declaration of `curr_block'
motion_comp_c.c:118: conflicting types for `curr_block'
motion_comp_c.c:118: previous declaration of `curr_block'
motion_comp_c.c:118: `ref_block' undeclared here (not in a function)
motion_comp_c.c:118: warning: data definition has no type or storage class
motion_comp_c.c:118: warning: type defaults to `int' in declaration of `curr_block'
motion_comp_c.c:118: conflicting types for `curr_block'
motion_comp_c.c:118: previous declaration of `curr_block'
motion_comp_c.c:118: `ref_block' undeclared here (not in a function)
motion_comp_c.c:118: warning: data definition has no type or storage class
motion_comp_c.c:118: warning: type defaults to `int' in declaration of `curr_block'
motion_comp_c.c:118: conflicting types for `curr_block'
motion_comp_c.c:118: previous declaration of `curr_block'
motion_comp_c.c:118: `ref_block' undeclared here (not in a function)
motion_comp_c.c:118: warning: data definition has no type or storage class
motion_comp_c.c:118: warning: type defaults to `int' in declaration of `curr_block'
motion_comp_c.c:118: conflicting types for `curr_block'
motion_comp_c.c:118: previous declaration of `curr_block'
motion_comp_c.c:118: `ref_block' undeclared here (not in a function)
motion_comp_c.c:118: warning: data definition has no type or storage class
motion_comp_c.c:118: warning: type defaults to `int' in declaration of `curr_block'
motion_comp_c.c:118: conflicting types for `curr_block'
motion_comp_c.c:118: previous declaration of `curr_block'
motion_comp_c.c:118: `ref_block' undeclared here (not in a function)
motion_comp_c.c:118: warning: data definition has no type or storage class
motion_comp_c.c:118: parse error before `+='
motion_comp_c.c:119: parse error before `#'
motion_comp_c.c:119: warning: type defaults to `int' in declaration of `curr_block'
motion_comp_c.c:119: conflicting types for `curr_block'
motion_comp_c.c:118: previous declaration of `curr_block'
motion_comp_c.c:119: `ref_block' undeclared here (not in a function)
gcc: Internal compiler error: program cc1 got fatal signal 11

-- 
 ---------------- Have a happy GNU millennium! ----------------------   
/ Dr. David Alan Gilbert      | Running GNU/Linux on       |  Happy  \ 
\   gro.gilbert @ treblig.org |  Alpha, x86, ARM and SPARC |  In Hex /
 ____________________________|___ http://www.treblig.org  |________/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: motion_comp_c.i.gz
Type: application/x-gzip
Size: 8247 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20000604/617d1ef0/attachment.bin>


More information about the Gcc-bugs mailing list