[Bug libfortran/69856] libgfortran/intrinsics/ctime.c:59: order of evaluation problem ?

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Feb 18 01:18:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69856

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
No this is fine as __builtin_choose_expr  is like a?b:c where there is no
evaluation of the expressions b or c depending on if a is true or not.

So not a bug in libgfortran but rather your checker which does not implement
the two GCC extensions __builtin_classify_type and __builtin_choose_expr .


More information about the Gcc-bugs mailing list