This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/26118] avr-gcc (GCC) 3.4.5 Bug: copying structure through pointer will destroy the pointer



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]