https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62042
--- Comment #10 from Victor Porton ---
Not fixed in GCC 6.1.1.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62042
--- Comment #9 from Victor Porton ---
Not fixed in 5.3.1.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62042
--- Comment #8 from Victor Porton ---
> Only under certain circumstances though.
Yes, such circumstances as my toy (but representing a real case) program.
Such programs SHOULD be optimized, because the standards allow optimization
under such "c
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62042
--- Comment #7 from Eric Botcazou ---
> 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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62042
--- Comment #6 from Victor Porton ---
> But you generally cannot do this optimization with controlled objects
> in real software.
Why we cannot?!
If you are afraid that this may introduce errors, you are not right, as this is
allowed by Ada sta
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62042
--- Comment #5 from Eric Botcazou ---
> Avoiding calling unnecessary routines when copying an object, is a VERY
> useful optimization, just because copying operation is VERY often in real
> software.
But you generally cannot do this optimization
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62042
--- Comment #4 from Victor Porton ---
I utterly disagree.
Avoiding calling unnecessary routines when copying an object, is a VERY useful
optimization, just because copying operation is VERY often in real software.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62042
Eric Botcazou changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62042
Victor Porton changed:
What|Removed |Added
Version|4.9.0 |5.1.0
--- Comment #2 from Victor Porton
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62042
--- Comment #1 from Victor Porton ---
Confirmed in GNAT GPL 2014.
10 matches
Mail list logo