This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Bug tree-optimization/32461] [4.3 Regression] Segmentation fault in build_classic_dist_vector_1() at tree-data-ref.c:2700
- From: Eric Botcazou <ebotcazou at libertysurf dot fr>
- To: "Sebastian Pop" gcc-patches at gcc dot gnu dot org <sebpop at gmail dot com>
- Cc: gcc-patches at gcc dot gnu dot org, "Richard Guenther" <richard dot guenther at gmail dot com>, gcc-bugzilla at gcc dot gnu dot org
- Date: Sun, 24 Jun 2007 12:30:31 +0200
- Subject: Re: [Bug tree-optimization/32461] [4.3 Regression] Segmentation fault in build_classic_dist_vector_1() at tree-data-ref.c:2700
- References: <bug-32461-13856@http.gcc.gnu.org/bugzilla/> <cb9d34b20706232348k10584cc1r647e78be9430a66d@mail.gmail.com> <cb9d34b20706240055w4e2ed78etee0952e0140eeeed@mail.gmail.com>
> and at that point we have:
>
> (gdb) call debug_tree (arg0)
> <bit_not_expr 0xb7cd67c0
> type <integer_type 0xb7c2c000 unsigned int public unsigned sizetype SI
> size <integer_cst 0xb7c1d658 constant invariant 32>
> unit size <integer_cst 0xb7c1d444 constant invariant 4>
> align 32 symtab 0 alias set -1 canonical type 0xb7c320d8
> precision 32 min <integer_cst 0xb7c1d674 0> max <integer_cst
> 0xb7c1dc08 -1>>
>
> arg 0 <nop_expr 0xb7cd65a0 type <integer_type 0xb7c2c000 unsigned int>
>
> arg 0 <ssa_name 0xb7cd230c type <integer_type 0xb7c2c2f4 int>
> volatile visited var <var_decl 0xb7cce000 i> def_stmt
> <nop_expr 0xb7cc5940>
> version 4>>>
> (gdb) call debug_tree (arg1)
> <ssa_name 0xb7cd230c
> type <integer_type 0xb7c2c2f4 int sizes-gimplified public SI
> size <integer_cst 0xb7c1d658 constant invariant 32>
> unit size <integer_cst 0xb7c1d444 constant invariant 4>
> align 32 symtab 0 alias set 2 canonical type 0xb7c2c2f4
> precision 32 min <integer_cst 0xb7c1d604 -2147483648> max <integer_cst
> 0xb7c1d620 2147483647>
> pointer_to_this <pointer_type 0xb7c32798>>
> volatile visited var <var_decl 0xb7cce000 i> def_stmt <nop_expr
> 0xb7cc5940> version 4>
Why are the operands of different type at that point?
--
Eric Botcazou