Bug 44850 - [4.6 Regression] Many test failures
Summary: [4.6 Regression] Many test failures
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: target (show other bugs)
Version: 4.6.0
: P3 normal
Target Milestone: 4.6.0
Assignee: Not yet assigned to anyone
URL:
Keywords: wrong-code
Depends on:
Blocks:
 
Reported: 2010-07-07 00:36 UTC by H.J. Lu
Modified: 2010-07-07 21:41 UTC (History)
3 users (show)

See Also:
Host:
Target: i?86-*-* x86_64-*-*
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description H.J. Lu 2010-07-07 00:36:36 UTC
On Linux/ia32, revision 161877 gave:

FAIL: /export/gnu/import/svn/gcc-test/bld/i686-pc-linux-gnu/libjava/testsuite/TestEarlyGC.exe execution - /export/gnu/import/svn/gcc-test/bld/i686-pc-linux-gnu/libjava/testsuite/TestEarlyGC.exe
....

revision 161871 is OK. It may be caused by revision 161876:

http://gcc.gnu.org/ml/gcc-cvs/2010-07/msg00230.html
Comment 1 H.J. Lu 2010-07-07 00:41:14 UTC
There are so many failures that they won't show up at

http://gcc.gnu.org/ml/gcc-testresults/2010-07/

nor

http://gcc.gnu.org/ml/gcc-regression/2010-07/

since the messages are too big.
Comment 2 Andrew Pinski 2010-07-07 00:42:20 UTC
Actually it did:
http://gcc.gnu.org/ml/gcc-regression/2010-07/msg00102.html
Comment 3 H.J. Lu 2010-07-07 00:44:47 UTC
Mine didn't shown up. In any case, I have 18580+ execution test failures.
Comment 4 H.J. Lu 2010-07-07 00:50:03 UTC
I also have MANY execution test failures on Linux/x86-64.
Comment 5 Jakub Jelinek 2010-07-07 07:17:22 UTC
Yeah, the amount of regressions is huge, both on x86_64-linux and i686-linux.

The difference is in i386 now overriding config/elfos.h definition:
/* Write the extra assembler code needed to declare a function properly.
   Some svr4 assemblers need to also have something extra said about the
   function's return value.  We allow for that here.  */

#ifndef ASM_DECLARE_FUNCTION_NAME
#define ASM_DECLARE_FUNCTION_NAME(FILE, NAME, DECL)             \
  do                                                            \
    {                                                           \   
      ASM_OUTPUT_TYPE_DIRECTIVE (FILE, NAME, "function");       \
      ASM_DECLARE_RESULT (FILE, DECL_RESULT (DECL));            \
      ASM_OUTPUT_LABEL (FILE, NAME);                            \
    }                                                           \
  while (0)
#endif

(and config/darwin.h, config/netbsd-aout.h and config/openbsd.h too).
Comment 6 hjl@gcc.gnu.org 2010-07-07 13:36:51 UTC
Subject: Bug 44850

Author: hjl
Date: Wed Jul  7 13:36:31 2010
New Revision: 161911

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=161911
Log:
Revert revision 161876.

2010-07-07  H.J. Lu  <hongjiu.lu@intel.com>

	PR target/44850
	* config/i386/i386.c (ix86_function_ms_hook_prologue): Revert
	revision 161876.
	(ix86_expand_prologue): Likewise.
	(ix86_handle_fndecl_attribute): Likewise.
	(ix86_asm_declare_function_name): Likewise.
	* config/i386/i386.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
	* config/i386/cygming.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
	(SUBTARGET_ASM_DECLARE_FUNCTION_NAME): Likewise.
	* config/i386/i386-protos.h (ix86_asm_declare_function_name):
	Likewise.
	* doc/extend.texi: Likewise.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/cygming.h
    trunk/gcc/config/i386/i386-protos.h
    trunk/gcc/config/i386/i386.c
    trunk/gcc/config/i386/i386.h
    trunk/gcc/doc/extend.texi

Comment 7 H.J. Lu 2010-07-07 21:41:51 UTC
Fixed.