This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/26118] avr-gcc (GCC) 3.4.5 Bug: copying structure through pointer will destroy the pointer
- From: "j at uriah dot heep dot sax dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Mar 2006 18:53:54 -0000
- Subject: [Bug target/26118] avr-gcc (GCC) 3.4.5 Bug: copying structure through pointer will destroy the pointer
- References: <bug-26118-12140@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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 <HutchinsonAndy@netscape.net>
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