This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: c/10735: Crash on incorrect type conversion


The following reply was made to PR c/10735; it has been noted by GNATS.

From: Andrew Pinski <pinskia@physics.uc.edu>
To: shurick@pisem.net
Cc: Andrew Pinski <pinskia@physics.uc.edu>, gcc-gnats@gcc.gnu.org
Subject: Re: c/10735: Crash on incorrect type conversion
Date: Sat, 10 May 2003 19:55:00 -0400

 Here is the backtrace for the segfault:
 
 Program received signal EXC_BAD_ACCESS, Could not access memory.
 convert (type=0xe685b0, expr=0x0) at 
 /Volumes/UFS_Partition/pinskia/src/fsf/gcc/src/gcc/c-convert.c:71
 71        if (type == TREE_TYPE (expr)
 (gdb) bt
 #0  convert (type=0xe685b0, expr=0x0) at 
 /Volumes/UFS_Partition/pinskia/src/fsf/gcc/src/gcc/c-convert.c:71
 #1  0x0002936c in shorten_compare (op0_ptr=0xbffff3b4, 
 op1_ptr=0xbffff3b8, restype_ptr=0xbffff3bc, rescode_ptr=0xea9150) at 
 /Volumes/UFS_Partition/pinskia/src/fsf/gcc/src/gcc/c-common.c:2429
 #2  0x0001cc34 in build_binary_op (code=NE_EXPR, orig_op0=0x6a, 
 orig_op1=0xbffff3b8, convert_p=0) at 
 /Volumes/UFS_Partition/pinskia/src/fsf/gcc/src/gcc/c-typeck.c:2452
 #3  0x0001c3a4 in parser_build_binary_op (code=ERROR_MARK, arg1=0x0, 
 arg2=0xe906c0) at 
 /Volumes/UFS_Partition/pinskia/src/fsf/gcc/src/gcc/c-typeck.c:1786
 #4  0x000055d4 in yyparse () at c-parse.y:554
 #5  0x000345d4 in c_common_parse_file (set_yydebug=15107504) at 
 /Volumes/UFS_Partition/pinskia/src/fsf/gcc/src/gcc/c-opts.c:1634
 #6  0x000798e0 in compile_file () at 
 /Volumes/UFS_Partition/pinskia/src/fsf/gcc/src/gcc/toplev.c:2229
 #7  0x0007f06c in do_compile () at 
 /Volumes/UFS_Partition/pinskia/src/fsf/gcc/src/gcc/toplev.c:5603
 #8  0x0007f0f8 in toplev_main (argc=15, argv=0xbffffbdc) at 
 /Volumes/UFS_Partition/pinskia/src/fsf/gcc/src/gcc/toplev.c:5649
 #9  0x00001f00 in _start (argc=15, argv=0xbffffbdc, envp=0xbffffc1c) at 
 /SourceCache/Csu/Csu-45/crt.c:267
 #10 0x00001d80 in start ()
 
 Thanks,
 Andrew Pinski
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]