From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24557 invoked by alias); 10 Jun 2010 01:00:36 -0000 Received: (qmail 23849 invoked by uid 48); 10 Jun 2010 00:59:58 -0000 Date: Thu, 10 Jun 2010 01:00:00 -0000 Subject: [Bug testsuite/44488] New: objc test inconsistencies w/ / w/out --enable-build-with-cxx X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "amylaar at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-06/txt/msg01106.txt.bz2 Sometime between revision 160389 and revision 160448, testsuite/objc/compile/compile.exp started to use a new set of options for overy test in testsuite/objc/compile/compile.exp, using -fnext-runtime instead of -fgnu-runtime, thus adding 5 tests * 6 option compinations, i.e. 30 new expected passes to the test results, for a default configuration bootstrap/regtest on i686-pc-linux-gnu. This is still the case at revision 160461. Running a bootstrap/regtest on i686-pc-linux-gnu with the configure option --enable-build-with-cxx, I do not see these new test variants, and thus 30 fewer expected passes. With the old trunk, or with the new trunk configured with --enable-build-with-cxx, I see there is a test of -fnext-runtime at the start of running compile.exp, which fails: Executing on host: /user/inria/fsf/bldxx-20100607/gcc/xgcc -B/user/inria/fsf/bldxx-20100607/gcc/ /user/inria/fsf/gcc/gcc/testsuite/objc/compile/trivial.m -fnext-runtime -B/user/inria/fsf/bldxx-20100607/i686-pc-linux-gnu/./libobjc/.libs -L/user/inria/fsf/bldxx-20100607/i686-pc-linux-gnu/./libobjc/.libs -S -o trivial.s (timeout = 300) In file included from /user/inria/fsf/gcc/gcc/testsuite/objc/compile/trivial.m:1:0: /user/inria/fsf/gcc/gcc/testsuite/objc/compile/../../objc-obj-c++-shared/Object1.h:21:31: fatal error: objc/Object.h: No such file or directory compilation terminated. compiler exited with status 1 output is: In file included from /user/inria/fsf/gcc/gcc/testsuite/objc/compile/trivial.m:1:0: /user/inria/fsf/gcc/gcc/testsuite/objc/compile/../../objc-obj-c++-shared/Object1.h:21:31: fatal error: objc/Object.h: No such file or directory compilation terminated. Using the following runtimes: -fgnu-runtime With the new trunk configured without --enable-build-with-cxx, this test appears to succeed: Executing on host: /user/inria/fsf/bld-20100609/gcc/xgcc -B/user/inria/fsf/bld-20100609/gcc/ /user/inria/fsf/gcc/gcc/testsuite/objc/compile/trivial.m -fnext-runtime -B/user/inria/fsf/bld-20100609/i686-pc-linux-gnu/./libobjc/.libs -L/user/inria/fsf/bld-20100609/i686-pc-linux-gnu/./libobjc/.libs -S -o trivial.s (timeout = 300) Using the following runtimes: -fgnu-runtime -fnext-runtime -- Summary: objc test inconsistencies w/ / w/out --enable-build- with-cxx Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: testsuite AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: amylaar at gcc dot gnu dot org GCC host triplet: i686-pc-linux-gnu OtherBugsDependingO 44433 nThis: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44488