This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug ada/62042] Missing optimization of copying non-limited objects


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]