other/10810: gcc-3.3 fails make check

tenm078902@sanyo.co.jp tenm078902@sanyo.co.jp
Fri May 16 04:16:00 GMT 2003


>Number:         10810
>Category:       other
>Synopsis:       gcc-3.3 fails make check
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri May 16 03:56:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Takaharu Tenma
>Release:        gcc-3.3
>Organization:
>Environment:
HP-B2600 Workstation HPUX11.00 (hppa2.0w-hp-hpux11.00)
>Description:
make check fails at test-demangle line 791 as:
./test-demangle < ../../../libiberty/testsuite/demangle-expected
FAIL at line 791, style gnu:
in:  __cl__C11VHDLLibraryGt4PixX3Z11VHDLLibraryZ14VHDLLibraryRepZt4List1Z10VHDLEntity@
out:
exp: VHDLLibrary::operator()(PixX<VHDLLibrary, VHDLLibraryRep, List<VHDLEntity> >) const
./test-demangle: 649 tests, 1 failures
>How-To-Repeat:
build gcc-3.3 and run make check
>Fix:
This test (line791) contains 80 chars, overruns the buffer in test-demangle.c

diff -u2 /home/tenma/gcc-3.3/libiberty/testsuite/test-demangle.c.\~1\~ /home/tenma/gcc-3.3/libiberty/testsuite/test-demangle.c
--- /home/tenma/gcc-3.3/libiberty/testsuite/test-demangle.c.~1~ Thu Sep 12 04:58:02 2002
+++ /home/tenma/gcc-3.3/libiberty/testsuite/test-demangle.c     Fri May 16 12:37:29 2003
@@ -38,5 +38,5 @@
 /* Safely read a single line of arbitrary length from standard input.  */

-#define LINELEN 80
+#define LINELEN 160

 static void
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Gcc-bugs mailing list