This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: merge_pointed_to_info
- From: Diego Novillo <dnovillo at redhat dot com>
- To: Nathan Sidwell <nathan at codesourcery dot com>
- Cc: gcc <gcc at gcc dot gnu dot org>
- Date: Wed, 03 Nov 2004 16:07:43 -0500
- Subject: Re: merge_pointed_to_info
- Organization: Red Hat Canada
- References: <4188A5F8.3050701@codesourcery.com>
On Wed, 2004-11-03 at 04:33, Nathan Sidwell wrote:
> dest_pi = get_ptr_info (dest);
> orig_pi = SSA_NAME_PTR_INFO (orig);
>
> At this point is it an error for dest_pi == orig_pi ? The later code
> looks like it will break if they are.
>
Yes, and it should only happen if dest == orig. Is that the case?
> However, the attached file contains such an instance, when compiled for
> i686-pc-linux-gnu at -O2. My suspicion was aroused when bitmap_ior_into
> was called with the same bitmap.
>
Do we ICE or generate bad code? I'll take a look.
Thanks. Diego.