This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch, libfortran] Fix PR 30525 - character comparisons with padding


Hi world,

here is a simple fix for PR 30525.  Regression-tested on
i686-pc-linux-gnu.

OK for mainline and (after a suitable delay) for 4.2?

	Thomas

2007-01-21  Thomas Koenig  <Thomas.Koenig@online.de>

	* intrinsics/string_intrinsics.c(compare_string):  Make
	sure that comparisons are done unsigned.

2007-01-21  Thomas Koenig  <Thomas.Koenig@online.de>

	* gfortran.dg/char_comparison_1.f:  New test.

Attachment: string-compare-diff
Description: Text document

Attachment: char_comparison_1.f
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]