[Bug target/30383] [4.3 Regression] ice for legal code on x86_64 in ix86_expand_movmem

2007-06-17 Thread pinskia at gcc dot gnu dot org


--- Comment #5 from pinskia at gcc dot gnu dot org  2007-06-18 02:18 ---
This has been working since 4.3.0 20070131 so closing.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED


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



[Bug target/30383] [4.3 Regression] ice for legal code on x86_64 in ix86_expand_movmem

2007-01-08 Thread bonzini at gnu dot org


--- Comment #4 from bonzini at gnu dot org  2007-01-08 13:32 ---
 This code is undefined as the address of a label will never be 128bytes, it
 will either be 4 or 8 bytes.

No, that would be

void *p = dummy;
memcpy (foo, p, sizeof (p));

Here, it's copying code from the address of the label.


-- 


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



[Bug target/30383] [4.3 Regression] ice for legal code on x86_64 in ix86_expand_movmem

2007-01-06 Thread pinskia at gcc dot gnu dot org


--- Comment #2 from pinskia at gcc dot gnu dot org  2007-01-07 00:47 ---
Reduced testcase:
void jumpfunc(int copy, void *p)
{
__builtin_memcpy (p, dummy, 128);
 dummy: ;
}


This code is undefined as the address of a label will never be 128bytes, it
will either be 4 or 8 bytes.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
   GCC host triplet|x86_64-suse-linux   |
 GCC target triplet|x86_64-linux-gnu|i?86-*-* x86_64-*-*
   Last reconfirmed|-00-00 00:00:00 |2007-01-07 00:47:17
   date||


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



[Bug target/30383] [4.3 Regression] ice for legal code on x86_64 in ix86_expand_movmem

2007-01-06 Thread hubicka at gcc dot gnu dot org


--- Comment #3 from hubicka at gcc dot gnu dot org  2007-01-07 03:23 ---
Created an attachment (id=12868)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12868action=view)
fix in testing

testing a fix.


-- 

hubicka at gcc dot gnu dot org changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |hubicka at gcc dot gnu dot
   |dot org |org
 Status|NEW |ASSIGNED


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



[Bug target/30383] [4.3 Regression] ice for legal code on x86_64 in ix86_expand_movmem

2007-01-05 Thread pinskia at gcc dot gnu dot org


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||hubicka at gcc dot gnu dot
   ||org
   Keywords||ice-on-valid-code
Summary|ice for legal code on x86_64|[4.3 Regression] ice for
   |in ix86_expand_movmem   |legal code on x86_64 in
   ||ix86_expand_movmem
   Target Milestone|--- |4.3.0


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