From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23770 invoked by alias); 1 Mar 2006 18:53:56 -0000 Received: (qmail 23747 invoked by uid 48); 1 Mar 2006 18:53:54 -0000 Date: Wed, 01 Mar 2006 18:53:00 -0000 Message-ID: <20060301185354.23746.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug target/26118] avr-gcc (GCC) 3.4.5 Bug: copying structure through pointer will destroy the pointer In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "j at uriah dot heep dot sax dot de" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-03/txt/msg00151.txt.bz2 List-Id: ------- Comment #6 from j at uriah dot heep dot sax dot de 2006-03-01 18:53 ------- After tracking it down, it turns out to be the following change, introduced between GCC 3.4.3 and 3.4.4: 2005-03-19 Andy Hutchinson PR target/18251 * config/avr/avr.md (movstrhi): Rewrite as RTL loop. (*movstrqi_insn): Delete. (*movstrhi): Delete. Here's the corresponding SVN log entry: Revision 96732 - (view) (download) - [select for diffs] Modified Sat Mar 19 15:45:41 2005 UTC (11 months, 1 week ago) by marekm File length: 79688 byte(s) Diff to previous 96394 (colored) PR target/18251 * config/avr/avr.md (movstrhi): Rewrite as RTL loop. (*movstrqi_insn): Delete. (*movstrhi): Delete. When unpatching the diff for that revision, the generated code for the testcase looks OK again. -- j at uriah dot heep dot sax dot de changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |j at uriah dot heep dot sax | |dot de http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26118