[libgfortran, patch] Silence a warning in libgfortran's runtime/error.c

FX fxcoudert@gmail.com
Tue Nov 8 10:33:00 GMT 2011


This patch for PR 47972 uses __builtin_choose_expr instead of the current if-else, avoiding the type warning for the branch not taken. This was suggested by Jakub in the PR itself.

Bootstrapped and regtested on x86_64-linux, OK to commit to trunk?
FX

-------------- next part --------------
A non-text attachment was scrubbed...
Name: typewarning.ChangeLog
Type: application/octet-stream
Size: 135 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20111108/e6885f56/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: typewarning.diff
Type: application/octet-stream
Size: 1051 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20111108/e6885f56/attachment-0001.obj>


More information about the Fortran mailing list