This is the mail archive of the gcc@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: Can't build gcc cvs trunk 20050409 gnat tools on sparc-linux:tree check: accessed operand 2 of view_convert_expr with 1 operands invisit_assignment, at tree-ssa-ccp.c:1074


On Sat, 2005-04-09 at 10:28 -0400, Richard Kenner wrote:
>     It contains this line:  
>   
> 	orig_lhs = TREE_OPERAND (orig_lhs, 1);  
>   
>     But orig_lhs is a VIEW_CONVERT_EXPR which has only one operand.
> 
> That's certainly a typo.  But I recall that that code has to go anyway.

I'm seeing the failure on x86-linux too:

stage1/xgcc -Bstage1/ -B/home/guerby/work/gcc/install/install-20050410T003153/i686-pc-linux-gnu/bin/ -c -O2 -g -fomit-frame-pointer      -gnatpg -gnata -I--I. -Iada -I/home/guerby/work/gcc/version-head/gcc/ada /home/guerby/work/gcc/version-head/gcc/ada/errout.adb -o ada/errout.o
+===========================GNAT BUG DETECTED==============================+
| 4.1.0 20050409 (experimental) (i686-pc-linux-gnu) GCC error:             |
| tree check: accessed operand 2 of view_convert_expr with 1 operands      |
|    in visit_assignment, at tree-ssa-ccp.c:1074                           |
| Error detected at errout.adb:2563:1                                      |

Should I replace ",1" by ",0" or is something more ambitious needed?

Laurent


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