[patch, libfortran] Fix part of PR 36886

Thomas Koenig tkoenig@netcologne.de
Sat Aug 9 16:19:00 GMT 2008


Hello world,

this fixes PR 36886 for cshift0; currently regression-testing on
i686-pc-linux-gnu.  There is no ABI change with this patch.

Because of a piece of optimization included in this patch, where
complex cshift functions are used for the correct size and alignemnt, I
have also included a test case where the integer constants correspond to
NaNs, to catch any architecture where this could be problematic.


OK if regression-tets passes?

	Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cshift0.m4
Type: text/x-csrc
Size: 4873 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20080809/713abcbf/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cshift0-3.diff
Type: text/x-patch
Size: 10663 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20080809/713abcbf/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: char_cshift_3.f90
Type: text/x-fortran
Size: 338 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20080809/713abcbf/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cshift_nan_1.f90
Type: text/x-fortran
Size: 624 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20080809/713abcbf/attachment-0003.bin>


More information about the Fortran mailing list