http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52537
--- Comment #4 from Thomas Koenig <tkoenig at gcc dot gnu.org> 2012-04-12 10:47:36 UTC --- For this particular case, if (trim(a) == '') could be simplified to if (len_trim(a) == 0) Probably best done via front-end optimization.