Skip to content
Snippets Groups Projects
Commit 23e4d028 authored by Joseph Myers's avatar Joseph Myers Committed by Joseph Myers
Browse files

c-common.c (check_format_info): Give the 'some locales' warning for strftime...

c-common.c (check_format_info): Give the 'some locales' warning for strftime %Ey rather than the unconditional...

	* c-common.c (check_format_info): Give the 'some locales' warning
	for strftime %Ey rather than the unconditional 'only last 2 digits
	of year' one.

testsuite:
	* gcc.dg/c90-strftime-2.c, gcc.dg/c99-strftime-1.c,
	gcc.dg/c99-strftime-2.c: New tests.

From-SVN: r35874
parent bc82c87c
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment