public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/19419] Overlapping memcpy with discriminated types
       [not found] <bug-19419-8622@http.gcc.gnu.org/bugzilla/>
@ 2008-11-06  8:01 ` ebotcazou at gcc dot gnu dot org
  2008-11-06 11:30 ` [Bug ada/19419] Overlapping memcpy with array slices ebotcazou at gcc dot gnu dot org
  2008-11-06 11:32 ` ebotcazou at gcc dot gnu dot org
  2 siblings, 0 replies; 5+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2008-11-06  8:01 UTC (permalink / raw)
  To: gcc-bugs



-- 

ebotcazou at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |ebotcazou at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2005-12-24 20:39:53         |2008-11-06 07:59:56
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19419


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug ada/19419] Overlapping memcpy with array slices
       [not found] <bug-19419-8622@http.gcc.gnu.org/bugzilla/>
  2008-11-06  8:01 ` [Bug middle-end/19419] Overlapping memcpy with discriminated types ebotcazou at gcc dot gnu dot org
@ 2008-11-06 11:30 ` ebotcazou at gcc dot gnu dot org
  2008-11-06 11:32 ` ebotcazou at gcc dot gnu dot org
  2 siblings, 0 replies; 5+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2008-11-06 11:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from ebotcazou at gcc dot gnu dot org  2008-11-06 11:29 -------
Subject: Bug 19419

Author: ebotcazou
Date: Thu Nov  6 11:28:07 2008
New Revision: 141637

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=141637
Log:
        PR ada/19419
        * gcc-interface/trans.c (gnat_to_gnu) <N_Assignment_Statement>:
        Generate a call to memmove for an assignment between overlapping
        array slices.

Modified:
    trunk/gcc/ada/ChangeLog
    trunk/gcc/ada/gcc-interface/trans.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19419


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug ada/19419] Overlapping memcpy with array slices
       [not found] <bug-19419-8622@http.gcc.gnu.org/bugzilla/>
  2008-11-06  8:01 ` [Bug middle-end/19419] Overlapping memcpy with discriminated types ebotcazou at gcc dot gnu dot org
  2008-11-06 11:30 ` [Bug ada/19419] Overlapping memcpy with array slices ebotcazou at gcc dot gnu dot org
@ 2008-11-06 11:32 ` ebotcazou at gcc dot gnu dot org
  2 siblings, 0 replies; 5+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2008-11-06 11:32 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from ebotcazou at gcc dot gnu dot org  2008-11-06 11:31 -------
At last.


-- 

ebotcazou at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |http://gcc.gnu.org/ml/gcc-
                   |                            |patches/2008-
                   |                            |11/msg00218.html
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.4.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19419


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug middle-end/19419] Overlapping memcpy with discriminated types
  2005-01-13  7:53 [Bug ada/19419] New: ACATS CXA4009, CXA4020 - valgrind detects bad code (overlapping memcpy) baldrick at free dot fr
  2005-09-12  6:14 ` [Bug middle-end/19419] Overlapping memcpy with discriminated types ebotcazou at gcc dot gnu dot org
@ 2005-09-12  7:27 ` ebotcazou at gcc dot gnu dot org
  1 sibling, 0 replies; 5+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2005-09-12  7:27 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2005-09-12 07:25 -------
I agree with Andrew, the call to __builtin_memcpy is present in t03.gimple but
not in t02.original and is hard-wired in gimplify_modify_expr_to_memcpy:

  to_ptr = build_fold_addr_expr (to);
  args = tree_cons (NULL, to_ptr, args);
  t = implicit_built_in_decls[BUILT_IN_MEMCPY];
  t = build_function_call_expr (t, args);


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|ebotcazou 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=19419


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug middle-end/19419] Overlapping memcpy with discriminated types
  2005-01-13  7:53 [Bug ada/19419] New: ACATS CXA4009, CXA4020 - valgrind detects bad code (overlapping memcpy) baldrick at free dot fr
@ 2005-09-12  6:14 ` ebotcazou at gcc dot gnu dot org
  2005-09-12  7:27 ` ebotcazou at gcc dot gnu dot org
  1 sibling, 0 replies; 5+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2005-09-12  6:14 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2005-09-12 06:14 -------
Investigating.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |ebotcazou at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2005-07-15 21:34:21         |2005-09-12 06:14:13
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19419


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-11-06 11:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-19419-8622@http.gcc.gnu.org/bugzilla/>
2008-11-06  8:01 ` [Bug middle-end/19419] Overlapping memcpy with discriminated types ebotcazou at gcc dot gnu dot org
2008-11-06 11:30 ` [Bug ada/19419] Overlapping memcpy with array slices ebotcazou at gcc dot gnu dot org
2008-11-06 11:32 ` ebotcazou at gcc dot gnu dot org
2005-01-13  7:53 [Bug ada/19419] New: ACATS CXA4009, CXA4020 - valgrind detects bad code (overlapping memcpy) baldrick at free dot fr
2005-09-12  6:14 ` [Bug middle-end/19419] Overlapping memcpy with discriminated types ebotcazou at gcc dot gnu dot org
2005-09-12  7:27 ` ebotcazou at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).