[Bug c++/23949] [4.1 Regression] segv in do_structure_copy() in template nightmare

2005-10-13 Thread rguenth at gcc dot gnu dot org


--- Comment #6 from rguenth at gcc dot gnu dot org  2005-10-13 15:47 ---
Reopen ...


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|DUPLICATE   |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23949



[Bug c++/23949] [4.1 Regression] segv in do_structure_copy() in template nightmare

2005-10-13 Thread rguenth at gcc dot gnu dot org


--- Comment #7 from rguenth at gcc dot gnu dot org  2005-10-13 15:48 ---
... to mark as dup of PR24351, as this now looks like

#0  0x00ac7920 in do_simple_structure_copy (lhs=
  {type = SCALAR, var = 15, offset = 0}, rhs=
  {type = SCALAR, var = 11, offset = 0}, size=24)
at tree-ssa-structalias.c:2325
#1  0x00ac7f28 in do_structure_copy (lhsop=0x2a95bcc9b0, 
rhsop=0x2a95a4f000) at tree-ssa-structalias.c:2495
#2  0x00ac9490 in find_func_aliases (t=0x2a95bcc960, ai=0xfdef80)
at tree-ssa-structalias.c:2796
#3  0x00acb791 in compute_points_to_sets (ai=0xfdef80)
at tree-ssa-structalias.c:3639
#4  0x0066d875 in compute_may_aliases () at tree-ssa-alias.c:263

and the latter has a nicer testcase.

*** This bug has been marked as a duplicate of 24351 ***


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||DUPLICATE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23949



[Bug c++/23949] [4.1 Regression] segv in do_structure_copy() in template nightmare

2005-09-18 Thread marcus at jet dot franken dot de

--- Additional Comments From marcus at jet dot franken dot de  2005-09-18 
14:32 ---
Created an attachment (id=9765)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9765action=view)
examplewindow.ii.gz

g++ -c -O2 examplewindow.ii

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23949


[Bug c++/23949] [4.1 Regression] segv in do_structure_copy() in template nightmare

2005-09-18 Thread rguenth at gcc dot gnu dot org

--- Additional Comments From rguenth at gcc dot gnu dot org  2005-09-18 
14:46 ---
Reducing.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23949


[Bug c++/23949] [4.1 Regression] segv in do_structure_copy() in template nightmare

2005-09-18 Thread rguenth at gcc dot gnu dot org

--- Additional Comments From rguenth at gcc dot gnu dot org  2005-09-18 
15:33 ---
Created an attachment (id=9766)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9766action=view)
reduced testcase

Reduced testcase.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23949


[Bug c++/23949] [4.1 Regression] segv in do_structure_copy() in template nightmare

2005-09-18 Thread rguenth at gcc dot gnu dot org

--- Additional Comments From rguenth at gcc dot gnu dot org  2005-09-18 
15:37 ---
#0  do_structure_copy (lhsop=Variable lhsop is not available.
) at tree-ssa-structalias.c:2320
#1  0x0086d932 in find_func_aliases (t=0x2a95bc6cd0, ai=Variable ai is
not available.
#2  0x0086f3e2 in compute_points_to_sets (ai=0xcc3ba0)
at tree-ssa-structalias.c:3620
#3  0x0058179c in compute_may_aliases () at tree-ssa-alias.c:263
#4  0x00852dbc in execute_one_pass (pass=0xca7d80) at passes.c:810

in frame 1 we have

(gdb) call debug_generic_expr(t)
#   SFT.93D.2964_74 = V_MAY_DEF SFT.93D.2964_71;
#   SFT.94D.2965_75 = V_MAY_DEF SFT.94D.2965_72;
#   VUSE SFT.83D.2954_25;
#   VUSE SFT.84D.2955_26;
D.2920.D.2564.functor_D.2525 = D.2460

and we pass (D.2920.D.2564.functor_D.2525, D.2460) to do_structure_copy.

This looks like a dup of ... (searching)

-- 
   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed||1
  Known to fail||4.1.0
   Last reconfirmed|-00-00 00:00:00 |2005-09-18 15:37:08
   date||
   Target Milestone|--- |4.1.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23949


[Bug c++/23949] [4.1 Regression] segv in do_structure_copy() in template nightmare

2005-09-18 Thread rguenth at gcc dot gnu dot org

--- Additional Comments From rguenth at gcc dot gnu dot org  2005-09-18 
15:39 ---
well known, indeed.

*** This bug has been marked as a duplicate of 22488 ***

-- 
   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||DUPLICATE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23949