merge from gcc

This commit is contained in:
DJ Delorie 2003-11-18 19:10:05 +00:00
parent 082c50f897
commit 5659daa1d9
3 changed files with 9 additions and 2 deletions

View file

@ -1,3 +1,10 @@
2003-11-18 Ian Lance Taylor <ian@wasabisystems.com>
* testsuite/test-demangle.c (main): Don't pass DMGL_VERBOSE to
cplus_demangle.
* testsuite/Makefile.in (test-demangle): Depend upon libiberty.a.
2003-10-31 Andreas Jaeger <aj@suse.de>
* floatformat.c (floatformat_always_valid): Add unused attribute.

View file

@ -49,7 +49,7 @@ check-cplus-dem: test-demangle $(srcdir)/demangle-expected
./test-demangle < $(srcdir)/demangle-expected
TEST_COMPILE = $(CC) @DEFS@ $(LIBCFLAGS) -I.. -I$(INCDIR) $(HDEFINES)
test-demangle: $(srcdir)/test-demangle.c
test-demangle: $(srcdir)/test-demangle.c ../libiberty.a
$(TEST_COMPILE) -o test-demangle \
$(srcdir)/test-demangle.c ../libiberty.a

View file

@ -146,7 +146,7 @@ main(argc, argv)
cplus_demangle_set_style (style);
result = cplus_demangle (input.data,
DMGL_PARAMS|DMGL_ANSI|DMGL_VERBOSE|DMGL_TYPES);
DMGL_PARAMS|DMGL_ANSI|DMGL_TYPES);
if (result
? strcmp (result, expect.data)