This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/62042] Missing optimization of copying non-limited objects
- From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 06 Dec 2015 21:11:23 +0000
- Subject: [Bug ada/62042] Missing optimization of copying non-limited objects
- Auto-submitted: auto-generated
- References: <bug-62042-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62042
--- Comment #7 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> Why we cannot?!
Because the correct semantics of the program need to be preserved.
> If you are afraid that this may introduce errors, you are not right, as this
> is allowed by Ada standards.
Only under certain circumstances though.