This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Regression caused by "[patch] Fix a couple of libstdc++ failures on uclinux (Take 2)"


> Date: Tue, 2 Oct 2007 09:17:47 -0700
> From: Kazu Hirata <kazu@codesourcery.com>

> 2007-10-02  Richard Sandiford  <richard@codesourcery.com>
> 
> 	* no-executables.m4 (GCC_TRY_COMPILE_OR_LINK): New function.
> 	libstdc++-v3/
> 
> libstdc++/
> 2007-10-02  Richard Sandiford  <richard@codesourcery.com>
> 
> 	* acinclude.m4 (GLIBCXX_ENABLE_C99): Temporarily add
> 	-fno-exceptions to CXXFLAGS.  Use GCC_TRY_COMPILE_OR_LINK.
> 	Make the tests assign results to volatile variables.
> 	* configure: Regenerate.

A change in the range 128957:128960, of which this patch is the
only suspect, caused the following regression for cris-elf.
I guess the same goes for all newlib targets, at least:

Running /tmp/hpautotest-gcc1/gcc/libstdc++-v3/testsuite/libstdc++-dg/conformance.exp ...
FAIL: 26_numerics/headers/cmath/c99_classification_macros_c++.cc (test for excess errors)

with the log saying:

Executing on host: /tmp/hpautotest-gcc1/cris-elf/gccobj/./gcc/g++ -shared-libgcc -B/tmp/hpautotest-gcc1/cris-elf/gccobj/./gcc -nostdinc++ -L/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/libstdc++-v3/src -L/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/libstdc++-v3/src/.libs -nostdinc -B/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/newlib/ -isystem /tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/newlib/targ-include -isystem /tmp/hpautotest-gcc1/gcc/newlib/libc/include -B/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/libgloss/cris -L/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/libgloss/libnosys -L/tmp/hpautotest-gcc1/gcc/libgloss/cris -B/tmp/hpautotest-gcc1/cris-elf/pre/cris-elf/bin/ -B/tmp/hpautotest-gcc1/cris-elf/pre/cris-elf/lib/ -isystem /tmp/hpautotest-gcc1/cris-elf/pre/cris-elf/include -isystem /tmp/hpautotest-gcc1/cris-elf/pre/cris-elf/sys-include -B/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/./libgloss/cris/ -L/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/./libgloss/cri!
 s -L/tmp/hpautotest-gcc1/gcc/libgloss/cris -g -O2 -D_GLIBCXX_ASSERT -fmessage-length=0 -ffunction-sections -fdata-sections -g -O2 -g -O2   -DLOCALEDIR="." -nostdinc++ -I/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/libstdc++-v3/include/cris-elf -I/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/libstdc++-v3/include -I/tmp/hpautotest-gcc1/gcc/libstdc++-v3/libsupc++ -I/tmp/hpautotest-gcc1/gcc/libstdc++-v3/include/backward -I/tmp/hpautotest-gcc1/gcc/libstdc++-v3/testsuite/util /tmp/hpautotest-gcc1/gcc/libstdc++-v3/testsuite/26_numerics/headers/cmath/c99_classification_macros_c++.cc    -include bits/stdc++.h -S   -isystem /tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/./newlib/targ-include -isystem /tmp/hpautotest-gcc1/gcc/newlib/libc/include  -o c99_classification_macros_c++.s    (timeout = 600)
/tmp/hpautotest-gcc1/gcc/libstdc++-v3/testsuite/26_numerics/headers/cmath/c99_classification_macros_c++.cc:47:16: error: macro "isgreater" requires 2 arguments, but only 1 given
/tmp/hpautotest-gcc1/gcc/libstdc++-v3/testsuite/26_numerics/headers/cmath/c99_classification_macros_c++.cc:49:21: error: macro "isgreaterequal" requires 2 arguments, but only 1 given
/tmp/hpautotest-gcc1/gcc/libstdc++-v3/testsuite/26_numerics/headers/cmath/c99_classification_macros_c++.cc:51:13: error: macro "isless" requires 2 arguments, but only 1 given
/tmp/hpautotest-gcc1/gcc/libstdc++-v3/testsuite/26_numerics/headers/cmath/c99_classification_macros_c++.cc:53:18: error: macro "islessequal" requires 2 arguments, but only 1 given
/tmp/hpautotest-gcc1/gcc/libstdc++-v3/testsuite/26_numerics/headers/cmath/c99_classification_macros_c++.cc:55:20: error: macro "islessgreater" requires 2 arguments, but only 1 given
/tmp/hpautotest-gcc1/gcc/libstdc++-v3/testsuite/26_numerics/headers/cmath/c99_classification_macros_c++.cc:57:18: error: macro "isunordered" requires 2 arguments, but only 1 given
/tmp/hpautotest-gcc1/gcc/libstdc++-v3/testsuite/26_numerics/headers/cmath/c99_classification_macros_c++.cc:35: error: expected unqualified-id before '__extension__'
/tmp/hpautotest-gcc1/gcc/libstdc++-v3/testsuite/26_numerics/headers/cmath/c99_classification_macros_c++.cc:35: error: expected `)' before '__extension__'
/tmp/hpautotest-gcc1/gcc/libstdc++-v3/testsuite/26_numerics/headers/cmath/c99_classification_macros_c++.cc:35: error: expected unqualified-id before ')' token
/tmp/hpautotest-gcc1/gcc/libstdc++-v3/testsuite/26_numerics/headers/cmath/c99_classification_macros_c++.cc:37: error: expected unqualified-id before '__extension__'
/tmp/hpautotest-gcc1/gcc/libstdc++-v3/testsuite/26_numerics/headers/cmath/c99_classification_macros_c++.cc:37: error: expected `)' before '__extension__'
compiler exited with status 1

brgds, H-P


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]