1. 22 Dec, 2004 6 commits
    • config.gcc: Add dbxelf.h to NetWare's tm_file. · f199d860
      gcc/
      2004-12-22  Jan Beulich  <jbeulich@novell.com>
      
      	* config.gcc: Add dbxelf.h to NetWare's tm_file.
      	* config/i386/netware-crt0.c: Prototype __init_environment and
      	__deinit_environment prior to their definition.
      	(__init_environment): Correct invokation of constructor function.
      	* config/i386/netware.h (TARGET_OS_CPP_BUILTINS): Use
      	builtin_define_std rather than builtin_define on IAPX386.
      	* config/i386/nwld.h: Disable stabs debugging info with the linker
      	this file supports.
      	* config/i386/t-nwld (SHLIB_LINK): Do not use a temporary file for
      	the output. Add -posix to the options as that is the more compatible
      	mode.
      	* gthr-nks.h: Formatting.
      	(__gthread_mutex_init_function): Kill the dubious use of
      	NX_MUTEX_RECURSIVE as it is now clear that the traditional mutexes
      	were not meant to be recursive.
      	(__gthread_recursive_mutex_t, __GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION,
      	__gthread_recursive_mutex_init_function,
      	__gthread_recursive_mutex_lock, __gthread_recursive_mutex_trylock,
      	__gthread_recursive_mutex_unlock): New.
      
      gcc/testsuite/
      2004-12-22  Jan Beulich  <jbeulich@novell.com>
      
      	* gcc.dg/20040813-1.c: Skip for *-*-netware*.
      
      From-SVN: r92488
      Jan Beulich committed
    • t-linux64: Remove code that messed with $(SPECS). · 340beeb5
      * config/mips/t-linux64: Remove code that messed with $(SPECS).
      (MULTILIB_OPTIONS, MULTILIB_DIRNAMES, MULTILIB_OSDIRNAMES): Move
      n32 to the front.
      (MULTILIB_EXTRA_OPTS, CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S):
      Removed.
      * config/mips/linux64.h (DRIVER_SELF_SPECS): Don't handle
      -mabi-fake-default.
      (SUBTARGET_TARGET_SWITCHES): Likewise.
      
      From-SVN: r92487
      Alexandre Oliva committed
    • re PR c++/18378 (ICE when returning a copy of a packed member) · 943e3ede
      	PR c++/18378
      	* call.c (convert_like_real): Do not permit the use of a copy
      	constructor to copy a packed field.
      
      	PR c++/17413
      	* decl.c (grokdeclarator): Return error_mark_node, not
      	void_type_node, to indicate errors.
      	* parser.c (cp_parser_template_parameter_list): Robustify.
      	(cp_parser_template_parameter): Likewise.
      
      	PR c++/19034
      	* tree.c (cp_tree_equal): Handle OVERLOAD.
      
      	PR c++/18378
      	* g++.dg/ext/packed8.C: New test.
      
      	PR c++/13268
      	* g++.dg/template/crash31.C: New test.
      
      	PR c++/19034
      	* g++.dg/template/crash30.C: New test.
      
      From-SVN: r92486
      Mark Mitchell committed
    • decl.c (define_label): Use POP_TIMEVAR_AND_RETURN. · be99edf8
      	* decl.c (define_label): Use POP_TIMEVAR_AND_RETURN.
      	* name-lookup.c (pushdecl_class_level): Likewise.
      
      From-SVN: r92485
      Volker Reichelt committed
    • Daily bump. · df35e33c
      From-SVN: r92479
      GCC Administrator committed
  2. 21 Dec, 2004 21 commits
  3. 20 Dec, 2004 13 commits
    • re PR middle-end/18776 (Libgfortran doesn't build again) · 36d7571c
      	PR middle-end/18776
      	* expr.c (write_complex_part): Use a subreg if the original object
      	is a hard reg that spans an even number of regs or a MEM.
      	(read_complex_part): Likewise.
      
      From-SVN: r92440
      Eric Botcazou committed
    • change the changelog entry to: · def9360c
      2004-12-20  Andrew Pinski  <pinskia@physics.uc.edu>
      
              PR libobjc/12035
              * gc.c: Remove definition of LOGWL, modWORDSZ, and divWORDSZ since
              they are not used.
              Include limits.h and stdlib.h.
              Define BITS_PER_WORD.
      
      From-SVN: r92439
      Andrew Pinski committed
    • re PR libobjc/12035 (Patch for libobjc/gc.c that fixes compilation error of… · 63b6f9ea
      re PR libobjc/12035 (Patch for libobjc/gc.c that fixes compilation error of Objective-C with garbage collector enabled)
      
      2004-12-20  Andrew Pinski  <pinskia@physics.uc.edu>
      
              PR libobjc/12035
              * gc.c: Remove definition of LOGWL, modWORDSZ, and divWORDSZ since
              they are not used.  Include limits.h and stdlib.h.
      
      From-SVN: r92437
      Andrew Pinski committed
    • Makefile.in (install-common): Do not install the specs file unless SPECS is defined. · 8ff61ea7
      	* Makefile.in (install-common): Do not install the specs file
      	unless SPECS is defined.
      
      From-SVN: r92433
      Mark Mitchell committed
    • re PR other/19093 (g++.dg/opt/max1.C fails on ia64 and x86_64) · 6e822bf6
      2004-12-20  Andrew Pinski  <pinskia@physics.uc.edu>
      
              PR other/19093
              * g++.dg/opt/max1.C: Fix for 64bit targets.
      
      From-SVN: r92430
      Andrew Pinski committed
    • re PR rtl-optimization/18942 (Do loop is not as optimized as 3.3.2) · bc4ad38c
      	PR rtl-optimization/18942
      	* simplify-rtx.c (simplify_relational_operation_1): Simplify
      	x + cst1 == cst2 to x == cst2 - cst1.  Made static.
      
      From-SVN: r92429
      Zdenek Dvorak committed
    • re PR c++/19044 (Alternate asm name for atan ignored when calling __builtin_atan) · b482789c
      	PR c++/19044
      
      	* c-common.c (set_builtin_user_assembler_name): New.
      	* c-common.h (set_builtin_user_assembler_name): Declare.
      	* c-decl.c (finish_decl): Use set_builtin_user_assembler_name
      
      	* decl.c (make_rtl_for_nonlocal_decl): Use set_builtin_user_assembler_name
      
      	* g++.dg/ext/builtin6.C: New
      
      From-SVN: r92428
      Matt Austern committed
    • re PR tree-optimization/19080 (ICE while compiling linux kernel) · 90e34bd6
      
      	PR tree-optimization/19080
      
      	Merge from tree-cleanup-branch
      
      	* tree-flow-inline.h (clear_call_clobbered): New function.
      	* tree-ssa-alias.c (init_alias_info): Call it.
      
      
      testsuite/ChangeLog
      
      	PR tree-optimization/19080
      	* gcc.c-torture/compile/pr19080.c: New test.
      
      From-SVN: r92423
      Diego Novillo committed
    • * de.po: Update. · c20a99d0
      From-SVN: r92420
      Joseph Myers committed
    • typeck.c: Use fold_convert for ints and booleans. · 521fce52
      2004-12-20  Andrew Haley  <aph@redhat.com>
      
              * typeck.c: Use fold_convert for ints and booleans.
      
      From-SVN: r92419
      Andrew Haley committed
    • i386.md (sse2_movsd): Remove ix86_binary_operator_ok check. · 094a624b
              * config/i386/i386.md (sse2_movsd): Remove ix86_binary_operator_ok
              check.
      
      From-SVN: r92416
      Richard Henderson committed
    • re PR middle-end/18191 (Struct member is not getting default-initialized) · 6fa91b48
      gcc/
      	PR middle-end/18191
      	PR middle-end/18965
      	PR middle-end/18999
      	* expr.c (categorize_ctor_elements_1): Count the total number
      	of elements in the constructor.
      	(categorize_ctor_elements): Return it in a new argument.
      	* tree.h (categorize_ctor_elements): Adjust prototype.
      	* gimplify.c (gimplify_init_ctor_eval_range): New.
      	(gimplify_init_ctor_eval): Gimplify RANGE_EXPR.
      	(gimplify_init_constructor): Block clear the object if the
      	constructor has fewer elements than the object type.  Only try
      	to add assignments to individual elements when we have to.
      
      testsuite/
      	 * gcc.dg/20041219-1.c: New test.
      
      Co-Authored-By: Andrew Pinski <pinskia@physics.uc.edu>
      
      From-SVN: r92415
      Steven Bosscher committed
    • 1.cc: New. · 8f7e12f0
      2004-12-20  Paolo Carlini  <pcarlini@suse.de>
      
      	* testsuite/27_io/basic_istream/peek/wchar_t/1.cc: New.
      	* testsuite/27_io/basic_istream/peek/wchar_t/12296.cc: Likewise.
      	* testsuite/27_io/basic_istream/peek/wchar_t/6414.cc: Likewise.
      	* testsuite/27_io/basic_istream/putback/wchar_t/1.cc: Likewise.
      	* testsuite/27_io/basic_istream/read/wchar_t/1.cc: Likewise.
      	* testsuite/27_io/basic_istream/read/wchar_t/2.cc: Likewise.
      	* testsuite/27_io/basic_istream/read/wchar_t/3.cc: Likewise.
      	* testsuite/27_io/basic_istream/readsome/wchar_t/6746-1.cc: Likewise.
      	* testsuite/27_io/basic_istream/readsome/wchar_t/6746-2.cc: Likewise.
      	* testsuite/27_io/basic_istream/readsome/wchar_t/8258.cc: Likewise.
      	* testsuite/27_io/basic_istream/seekg/wchar_t/2.cc: Likewise.
      	* testsuite/27_io/basic_istream/seekg/wchar_t/8348-1.cc: Likewise.
      	* testsuite/27_io/basic_istream/seekg/wchar_t/8348-2.cc: Likewise.
      	* testsuite/27_io/basic_istream/seekg/wchar_t/
      	exceptions_badbit_throw.cc: Likewise.
      	* testsuite/27_io/basic_istream/seekg/wchar_t/fstream.cc: Likewise.
      	* testsuite/27_io/basic_istream/seekg/wchar_t/sstream.cc: Likewise.
      	* testsuite/27_io/basic_istream/sentry/wchar_t/1.cc: Likewise.
      	* testsuite/27_io/basic_istream/sentry/wchar_t/12297.cc: Likewise.
      	* testsuite/27_io/basic_istream/sentry/wchar_t/2.cc: Likewise.
      	* testsuite/27_io/basic_istream/sentry/wchar_t/3.cc: Likewise.
      	* testsuite/27_io/basic_istream/tellg/wchar_t/1.cc: Likewise.
      	* testsuite/27_io/basic_istream/tellg/wchar_t/2.cc: Likewise.
      	* testsuite/27_io/basic_istream/tellg/wchar_t/8348.cc: Likewise.
      	* testsuite/27_io/basic_istream/tellg/wchar_t/
      	exceptions_badbit_throw.cc: Likewise.
      	* testsuite/27_io/basic_istream/tellg/wchar_t/fstream.cc: Likewise.
      	* testsuite/27_io/basic_istream/tellg/wchar_t/sstream.cc: Likewise.
      	* testsuite/27_io/basic_istream/ws/wchar_t/1.cc: Likewise.
      
      	* testsuite/data/wistream_extractor_other-1.tst: New.
      	* testsuite/data/wistream_extractor_other-1.txt: Likewise.
      	* testsuite/data/wistream_extractor_other-2.tst: Likewise.
      	* testsuite/data/wistream_seeks-1.tst: Likewise.
      	* testsuite/data/wistream_seeks-1.txt: Likewise.
      	* testsuite/data/wistream_unformatted-1.tst: Likewise.
      	* testsuite/data/wistream_unformatted-1.txt: Likewise.
      
      	* testsuite/27_io/basic_istream/extractors_other/wchar_t/2.cc:
      	Use wistream_extractor_other-1.txt.
      
      	* testsuite/27_io/basic_istream/peek/char/6414.cc: Minor clean-up.
      	* testsuite/27_io/basic_istream/putback/char/1.cc: Likewise.
      	* testsuite/27_io/basic_istream/read/char/1.cc: Likewise.
      	* testsuite/27_io/basic_istream/read/char/2.cc: Likewise.
      
      From-SVN: r92414
      Paolo Carlini committed