[Bug c/18180] Disable special handling of functions with --freestanding
alex dot neyman at auriga dot ru
gcc-bugzilla@gcc.gnu.org
Wed Oct 27 14:55:00 GMT 2004
------- Additional Comments From alex dot neyman at auriga dot ru 2004-10-27 14:55 -------
Created an attachment (id=7418)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7418&action=view)
Proposed patch
The patch, however, leads to a build failure:
optabs.h and c-common.h have a clash with CTI_MAX enumeration value.
Patch was tested by rename with CTI_MAX in optabs.[ch] renamed to CTI_max.
(not regression-tested, though). The resulting assembly is the same in *2 and
*3, and differs from *1. No "might be clobbered" warnings are generated
in -freestanding mode.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18180
More information about the Gcc-bugs
mailing list