User account creation filtered due to spam.

Bug 23550 - char_traits requirements/1.cc test bad math
Summary: char_traits requirements/1.cc test bad math
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: libstdc++ (show other bugs)
Version: 3.4.0
: P2 normal
Target Milestone: 3.4.5
Assignee: Benjamin Kosnik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-24 19:20 UTC by Benjamin Kosnik
Modified: 2005-08-25 11:27 UTC (History)
1 user (show)

See Also:
Host: powerpc-linux
Target: powerpc-linux
Build: powerpc-linux
Known to work: 4.0.2 3.4.5 4.1.0
Known to fail: 4.0.1 4.0.0 3.4.4
Last reconfirmed:


Attachments
proposed patch (1.10 KB, patch)
2005-08-24 19:20 UTC, Benjamin Kosnik
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Benjamin Kosnik 2005-08-24 19:20:04 UTC
Tracking issue for LSB 3.0 testsuite fail. Easily fixed. See:

http://bugs.linuxbase.org/show_bug.cgi?id=1069

Impacts 3.4, 4.0, mainline.
Comment 1 Benjamin Kosnik 2005-08-24 19:20:22 UTC
Mine.
Comment 2 Benjamin Kosnik 2005-08-24 19:20:55 UTC
Created attachment 9576 [details]
proposed patch
Comment 3 CVS Commits 2005-08-24 20:29:35 UTC
Subject: Bug 23550

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	bkoz@gcc.gnu.org	2005-08-24 20:29:27

Modified files:
	libstdc++-v3   : ChangeLog 
	libstdc++-v3/testsuite/21_strings/char_traits/requirements/char: 
	                                                                 1.cc 
	libstdc++-v3/testsuite/21_strings/char_traits/requirements/wchar_t: 
	                                                                    1.cc 

Log message:
	2005-08-24  Lawrence Lim  <llim@redhat.com>
	Jakub Jelinek  <jakub@redhat.com>
	Benjamin Kosnik  <bkoz@redhat.com>
	
	PR libstdc++/23550
	* testsuite/21_strings/char_traits/requirements/char/1.cc
	(test01): Simplify counting.
	* testsuite/21_strings/char_traits/requirements/wchar_t/1.cc
	(test02): Same.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/ChangeLog.diff?cvsroot=gcc&r1=1.3077&r2=1.3078
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/21_strings/char_traits/requirements/char/1.cc.diff?cvsroot=gcc&r1=1.5&r2=1.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/21_strings/char_traits/requirements/wchar_t/1.cc.diff?cvsroot=gcc&r1=1.4&r2=1.5

Comment 4 CVS Commits 2005-08-24 20:29:56 UTC
Subject: Bug 23550

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-4_0-branch
Changes by:	bkoz@gcc.gnu.org	2005-08-24 20:29:48

Modified files:
	libstdc++-v3   : ChangeLog 
	libstdc++-v3/testsuite/21_strings/char_traits/requirements/char: 
	                                                                 1.cc 
	libstdc++-v3/testsuite/21_strings/char_traits/requirements/wchar_t: 
	                                                                    1.cc 

Log message:
	2005-08-24  Lawrence Lim  <llim@redhat.com>
	Jakub Jelinek  <jakub@redhat.com>
	Benjamin Kosnik  <bkoz@redhat.com>
	
	PR libstdc++/23550
	* testsuite/21_strings/char_traits/requirements/char/1.cc
	(test01): Simplify counting.
	* testsuite/21_strings/char_traits/requirements/wchar_t/1.cc
	(test02): Same.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.2917.2.70&r2=1.2917.2.71
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/21_strings/char_traits/requirements/char/1.cc.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.4&r2=1.4.44.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/21_strings/char_traits/requirements/wchar_t/1.cc.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.3&r2=1.3.44.1

Comment 5 CVS Commits 2005-08-24 20:31:07 UTC
Subject: Bug 23550

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-3_4-branch
Changes by:	bkoz@gcc.gnu.org	2005-08-24 20:31:01

Modified files:
	libstdc++-v3   : ChangeLog 
	libstdc++-v3/testsuite/21_strings/char_traits/requirements/char: 
	                                                                 1.cc 
	libstdc++-v3/testsuite/21_strings/char_traits/requirements/wchar_t: 
	                                                                    1.cc 

Log message:
	2005-08-24  Lawrence Lim  <llim@redhat.com>
	Jakub Jelinek  <jakub@redhat.com>
	Benjamin Kosnik  <bkoz@redhat.com>
	
	PR libstdc++/23550
	* testsuite/21_strings/char_traits/requirements/char/1.cc
	(test01): Simplify counting.
	* testsuite/21_strings/char_traits/requirements/wchar_t/1.cc
	(test02): Same.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.2224.2.228&r2=1.2224.2.229
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/21_strings/char_traits/requirements/char/1.cc.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.3.12.1&r2=1.3.12.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/21_strings/char_traits/requirements/wchar_t/1.cc.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.2.12.1&r2=1.2.12.2

Comment 6 Andrew Pinski 2005-08-25 11:27:49 UTC
Fixed.