[Bug optimization/3329] optimization large memory copies uses kernel memcpy function without user's knowledge.

neroden at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Jul 15 00:08:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


neroden at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|rth at gcc dot gnu dot org, |
                   |jsm28 at cam dot ac dot uk, |
                   |aoliva at redhat dot com,   |
                   |rth at redhat dot com, neil |
                   |at daikokuya dot demon dot  |
                   |co dot uk, dan at dberlin   |
                   |dot org                     |


------- Additional Comments From neroden at gcc dot gnu dot org  2003-07-15 00:08 -------
Using memcpy (which is provided by lots of different OSes and C libraries) does not force your program to be 'open source' as far as I know, or 
according to any legal opinion I've ever heard.  If your lawyers say differently, that's really not our problem.  

Anyway, like (nearly) all optimizations in gcc, it can be turned off by turning off optimization for the affected file.



More information about the Gcc-bugs mailing list