[Bug c/27184] [4.0/4.1 Regression] Wrong code with pointers to arrays and types and strict aliasing
--- Comment #15 from rguenth at gcc dot gnu dot org 2006-10-16 09:36 --- I'll take care of this. (Bootstrap running) -- rguenth at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |rguenth at gcc dot gnu dot |dot org |org Status|NEW |ASSIGNED Last reconfirmed|2006-05-29 08:09:53 |2006-10-16 09:36:06 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27184
[Bug c/27184] [4.0/4.1 Regression] Wrong code with pointers to arrays and types and strict aliasing
--- Comment #16 from rguenth at gcc dot gnu dot org 2006-10-16 11:18 --- Subject: Bug 27184 Author: rguenth Date: Mon Oct 16 11:18:28 2006 New Revision: 117782 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=117782 Log: 2006-10-16 Richard Guenther [EMAIL PROTECTED] Backport from mainline: 2006-08-13 Alexandre Oliva [EMAIL PROTECTED] Andrew Pinski [EMAIL PROTECTED] PR c/27184 * tree.c (build_array_type): Unify array types with unspecified index_type. * c-decl.c (grokdeclarator): Make sure we do not modify a unified incomplete array type. * c-typeck.c (store_init_value): Create distinct type before filling in the index type in an initializer from a compound literal. * c-decl.c (grokdeclarator): Remove code where we copy the array type over. 2006-08-13 Alexandre Oliva [EMAIL PROTECTED] PR c/27184 * gcc.dg/torture/pr27184.c: New test Added: branches/gcc-4_1-branch/gcc/testsuite/gcc.dg/torture/pr27184.c - copied unchanged from r116116, trunk/gcc/testsuite/gcc.dg/torture/pr27184.c Modified: branches/gcc-4_1-branch/gcc/ChangeLog branches/gcc-4_1-branch/gcc/c-decl.c branches/gcc-4_1-branch/gcc/c-typeck.c branches/gcc-4_1-branch/gcc/testsuite/ChangeLog branches/gcc-4_1-branch/gcc/tree.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27184
[Bug c/27184] [4.0/4.1 Regression] Wrong code with pointers to arrays and types and strict aliasing
--- Comment #14 from pinskia at gcc dot gnu dot org 2006-10-04 17:17 --- The patch does not apply cleanly to the 4.1 branch so I am going to fix this. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|pinskia at gcc dot gnu dot |unassigned at gcc dot gnu |org |dot org Status|ASSIGNED|NEW http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27184
[Bug c/27184] [4.0/4.1 Regression] Wrong code with pointers to arrays and types and strict aliasing
--- Comment #13 from pinskia at gcc dot gnu dot org 2006-08-31 11:00 --- (In reply to comment #12) So, how's this going for 4.1? Well a regression was found in 4.2 caused by this patch so I am going to fix that first. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27184
[Bug c/27184] [4.0/4.1 Regression] Wrong code with pointers to arrays and types and strict aliasing
--- Comment #12 from christian dot joensson at gmail dot com 2006-08-28 08:12 --- (In reply to comment #11) Fixed on the mainline, will apply to the branches after a week or so. So, how's this going for 4.1? -- christian dot joensson at gmail dot com changed: What|Removed |Added CC||christian dot joensson at ||gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27184
[Bug c/27184] [4.0/4.1 Regression] Wrong code with pointers to arrays and types and strict aliasing
--- Comment #11 from pinskia at gcc dot gnu dot org 2006-08-13 20:17 --- Fixed on the mainline, will apply to the branches after a week or so. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added URL|http://gcc.gnu.org/ml/gcc- |http://gcc.gnu.org/ml/gcc- |patches/2006- |patches/2006- |05/msg01507.html|08/msg00412.html Summary|[4.0/4.1/4.2 Regression]|[4.0/4.1 Regression] Wrong |Wrong code with pointers to |code with pointers to arrays |arrays and types and strict |and types and strict |aliasing|aliasing http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27184