gcc/libgfortran/intrinsics
Thomas Koenig e7898e54f4 re PR libfortran/50192 (Wrong character comparision with wide strings)
2011-08-29  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR libfortran/50192
	* intrinsics/string_intrinsics.c (memcmp_char4):  New function.
	* intrinsics/string_intrinsics_inc.c:  New macro MEMCMP, either
	set to memcmp or memcmp_char4.
	(compare_string):  Use MEMCMP, with correct size for it.
	* libgfortran.h:  Add prototype for memcmp_char4.

2011-08-29  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR libfortran/50192
	* gfortran.dg/widechar_compare_1.f90:  New test.

From-SVN: r178173
2011-08-29 09:05:11 +00:00
..
abort.c PR 48915 Abort handling 2011-05-14 11:44:09 +03:00
access.c
args.c
associated.c
bit_intrinsics.c
c99_functions.c re PR libfortran/47830 (errors in intrinsics/c99_functions.c) 2011-02-22 13:37:12 +01:00
chdir.c
chmod.c
clock.c
cpu_time.c Use clock_gettime in libgfortran timing intrinsics, cleanup 2011-01-31 22:52:00 +02:00
cshift0.c memory.c (internal_malloc_size): If size is zero, allocate a single byte. 2011-07-05 18:16:17 +00:00
ctime.c ctime.c: Include <stdlib.h>. 2011-07-23 11:06:04 +00:00
date_and_time.c Replace sprintf with snprintf 2011-04-16 20:43:03 +03:00
dprod_r8.f90
dtime.c Use clock_gettime in libgfortran timing intrinsics, cleanup 2011-01-31 22:52:00 +02:00
env.c
eoshift0.c memory.c (internal_malloc_size): If size is zero, allocate a single byte. 2011-07-05 18:16:17 +00:00
eoshift2.c memory.c (internal_malloc_size): If size is zero, allocate a single byte. 2011-07-05 18:16:17 +00:00
erfc_scaled.c
erfc_scaled_inc.c Update Copyright years for files modified in 2010. 2011-01-03 21:52:22 +01:00
etime.c Use clock_gettime in libgfortran timing intrinsics, cleanup 2011-01-31 22:52:00 +02:00
execute_command_line.c re PR libfortran/48961 (EXECUTE_COMMAND_LINE(WAIT=.false.) fails on MinGW) 2011-05-14 08:35:18 +02:00
exit.c
extends_type_of.c
f2c_specifics.F90
fnum.c
gerror.c PR 46267 strerror thread safety 2011-01-22 00:42:17 +02:00
getXid.c
getcwd.c
getlog.c ctime.c: Include <stdlib.h>. 2011-07-23 11:06:04 +00:00
hostnm.c
ierrno.c
ishftc.c
iso_c_binding.c Update Copyright years for files modified in 2010. 2011-01-03 21:52:22 +01:00
iso_c_binding.h
iso_c_generated_procs.c Update Copyright years for files modified in 2010. 2011-01-03 21:52:22 +01:00
kill.c
link.c
malloc.c
move_alloc.c remove useless if-before-free tests 2011-04-20 18:19:03 +00:00
mvbits.c
pack_generic.c memory.c (internal_malloc_size): If size is zero, allocate a single byte. 2011-07-05 18:16:17 +00:00
perror.c
rand.c
random.c Update Copyright years for files modified in 2010. 2011-01-03 21:52:22 +01:00
rename.c
reshape_generic.c re PR fortran/49479 (reshape / optionals / zero sized arrays) 2011-06-28 18:59:04 +00:00
reshape_packed.c
selected_char_kind.c Update Copyright years for files modified in 2010. 2011-01-03 21:52:22 +01:00
selected_int_kind.f90
selected_real_kind.f90
signal.c
size.c
sleep.c
spread_generic.c memory.c (internal_malloc_size): If size is zero, allocate a single byte. 2011-07-05 18:16:17 +00:00
stat.c
string_intrinsics.c re PR libfortran/50192 (Wrong character comparision with wide strings) 2011-08-29 09:05:11 +00:00
string_intrinsics_inc.c re PR libfortran/50192 (Wrong character comparision with wide strings) 2011-08-29 09:05:11 +00:00
symlnk.c
system.c
system_clock.c PR 47571 Fix bootstrap regression on alpha-dec-osf 2011-04-15 07:21:19 +03:00
time.c
time_1.h PR 47802 Use strftime for CTIME and FDATE intrinsics 2011-02-24 23:51:39 +02:00
transpose_generic.c
umask.c
unlink.c
unpack_generic.c Update Copyright years for files modified in 2010. 2011-01-03 21:52:22 +01:00