[Bug middle-end/36013] [4.1/4.3/4.4 Regression] Wrong code involving restricted pointers to non-restricted pointers

2008-05-07 Thread jakub at gcc dot gnu dot org
--- Comment #8 from jakub at gcc dot gnu dot org 2008-05-07 07:46 --- Subject: Bug 36013 Author: jakub Date: Wed May 7 07:45:17 2008 New Revision: 135029 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=135029 Log: PR middle-end/36013 * gimplify.c

[Bug middle-end/36013] [4.1/4.3/4.4 Regression] Wrong code involving restricted pointers to non-restricted pointers

2008-05-07 Thread jakub at gcc dot gnu dot org
--- Comment #9 from jakub at gcc dot gnu dot org 2008-05-07 08:01 --- Subject: Bug 36013 Author: jakub Date: Wed May 7 08:00:36 2008 New Revision: 135032 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=135032 Log: PR middle-end/36013 * gimplify.c

[Bug middle-end/36013] [4.1/4.3/4.4 Regression] Wrong code involving restricted pointers to non-restricted pointers

2008-05-07 Thread jakub at gcc dot gnu dot org
--- Comment #10 from jakub at gcc dot gnu dot org 2008-05-07 08:07 --- Committed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|NEW

[Bug middle-end/36013] [4.1/4.3/4.4 Regression] Wrong code involving restricted pointers to non-restricted pointers

2008-05-07 Thread rguenther at suse dot de
--- Comment #11 from rguenther at suse dot de 2008-05-07 08:21 --- Subject: Re: [4.1/4.3/4.4 Regression] Wrong code involving restricted pointers to non-restricted pointers On Tue, 6 May 2008, jakub at gcc dot gnu dot org wrote: --- Comment #6 from jakub at gcc dot gnu dot org

[Bug middle-end/36013] [4.1/4.3/4.4 Regression] Wrong code involving restricted pointers to non-restricted pointers

2008-05-06 Thread ian at airs dot com
--- Comment #5 from ian at airs dot com 2008-05-06 14:23 --- I introduced DECL_BASED_ON_RESTRICT_P because the conversion to SSA discarded almost all information about restrict qualifiers. The compiler was tracking restrict qualifiers on the original variable, but not on the GIMPLE

[Bug middle-end/36013] [4.1/4.3/4.4 Regression] Wrong code involving restricted pointers to non-restricted pointers

2008-05-06 Thread jakub at gcc dot gnu dot org
--- Comment #6 from jakub at gcc dot gnu dot org 2008-05-06 22:56 --- Created an attachment (id=15588) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15588action=view) gcc44-pr36013.patch Patch I've bootstrapped/regtested on x86_64-linux. Will you check this in, or should I mail

[Bug middle-end/36013] [4.1/4.3/4.4 Regression] Wrong code involving restricted pointers to non-restricted pointers

2008-05-06 Thread ian at airs dot com
--- Comment #7 from ian at airs dot com 2008-05-07 04:39 --- I'll approve the patch. I think it's correct. I'll check it in in a day or two, or you can go ahead and do it if you are ready. Thanks for testing it. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36013

[Bug middle-end/36013] [4.1/4.3/4.4 Regression] Wrong code involving restricted pointers to non-restricted pointers

2008-04-27 Thread mmitchel at gcc dot gnu dot org
-- mmitchel at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36013

[Bug middle-end/36013] [4.1/4.3/4.4 Regression] Wrong code involving restricted pointers to non-restricted pointers

2008-04-25 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2008-04-25 09:21 --- The alias sets seem to be wrong already in the *.expand dump: (insn 7 6 8 3 pr36013.c:6 (set (reg/f:DI 58 [ D.1430 ]) (mem/f:DI (reg/v/f:DI 59 [ p ]) [4 S8 A64])) -1 (nil)) (insn 8 7 9 3 pr36013.c:6 (set

[Bug middle-end/36013] [4.1/4.3/4.4 Regression] Wrong code involving restricted pointers to non-restricted pointers

2008-04-25 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2008-04-25 10:06 --- if (u TREE_CODE (u) == VAR_DECL DECL_BASED_ON_RESTRICT_P (u)) u = DECL_GET_RESTRICT_BASE (u); in internal_get_tmp_var looks wrong to me. That together with find_single_pointer_decl not respecting

[Bug middle-end/36013] [4.1/4.3/4.4 Regression] Wrong code involving restricted pointers to non-restricted pointers

2008-04-25 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2008-04-25 11:37 --- The patch didn't come with any testcases, so it is hard to find out what exactly is supposed to mean DECL_BASED_ON_RESTRICT_P on a decl. Is that supposed to be on the same level of indirection as some TYPE_RESTRICT