------- Comment #1 from pinskia at gcc dot gnu dot org 2010-07-28 19:48 ------- Confirmed.
-- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement Status|UNCONFIRMED |NEW Component|c |tree-optimization Ever Confirmed|0 |1 GCC host triplet|x86_64-linux-gnu | Keywords| |missed-optimization Last reconfirmed|0000-00-00 00:00:00 |2010-07-28 19:48:03 date| | Summary|attribute((pure)) does not |pure functions returning |work when returning structs |structs are not optimized. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45115