1. 15 Dec, 2004 15 commits
    • re PR preprocessor/15167 (Internal compiler error with "#pragma once") · 1b449375
      	PR preprocessor/15167
      	* files.c (destroy_cpp_file): New function.
      	(should_stack_file): Make a new file if the
      	compared file is still stacked.
      
      From-SVN: r92194
      Eric Botcazou committed
    • re PR libfortran/17597 (list directed read has error) · c8c83c18
      2004-12-15  Bud Davis  <bdavis9659@comcast.net>
                  Steven G. Kargl  <kargls@comcast.net>
      
              PR fortran/17597
              * io/list_read.c (read_real): do not push back a comma when
              it delimits a real value without a decimal point
      
      
      2004-12-15  Bud Davis  <bdavis9659@comcast.net>
                  Steven G. Kargle  <kargls@comcast.net>
      
              PR fortran/17597
              * gfortran.dg/list_read_3.f90: New test.
      
      Co-Authored-By: Steven G. Kargl <kargls@comcast.net>
      Co-Authored-By: Steven G. Kargl <kargls@comcast.net>
      
      From-SVN: r92190
      Bud Davis committed
    • re PR other/18665 (-ftrapv borks up simple integer arithmetic) · 0aec6014
      	PR other/18665
      	* libgcc-std.ver (GCC_3.4.4): Inherit from GCC_3.4.2.
      	Export __absvti2, __addvti3, __mulvti3, __negvti2 and __subvti3.
      	* libgcc2.c (__addvsi3): Rename to __addvSI3.
      	New version if COMPAT_SIMODE_TRAPPING_ARITHMETIC.
      	(__addvdi3): Rename to __addvDI3.
      	(__subvsi3): Rename to __subvSI3.  Use word type for the result.
      	New version if COMPAT_SIMODE_TRAPPING_ARITHMETIC.
      	(__subvdi3): Rename to __subvDI3.
      	(_mulvsi3): Rename to _mulvSI3.
      	New version if COMPAT_SIMODE_TRAPPING_ARITHMETIC.
      	(_mulvdi3): Rename to _mulvDI3.
      	(__negvsi2): Rename to __negvSI2.
      	New version if COMPAT_SIMODE_TRAPPING_ARITHMETIC.
      	(__negvdi2): Rename to __negvDI2.
      	(__absvsi2): Rename to __absvSI2.
      	New version if COMPAT_SIMODE_TRAPPING_ARITHMETIC.
      	(__absvdi2): Rename to __absvDI2.
      	* libgcc2.h (64-bit targets): Define COMPAT_SIMODE_TRAPPING_ARITHMETIC.
      	(__absvSI2, __addvSI3, __subvSI3, __mulvSI3, __negvSI2, __absvDI2,
      	__addvDI3, __subvDI3, __mulvDI3, __negvDI2): Define to the appropriate
      	symbol and declare.
      	(__absvsi2, __addvsi3, __subvsi3, __mulvsi3, __negvsi2): Declare if
      	COMPAT_SIMODE_TRAPPING_ARITHMETIC.
      
      From-SVN: r92187
      Eric Botcazou committed
    • config/m32r.c (m32r_legitimize_pic_address): Changed to support GOTOFF relocation. · c331bf08
      config/m32r.c  (m32r_legitimize_pic_address): Changed to support GOTOFF
                     relocation.
      config/m32r.md (UNSPEC_GOTOFF): New.
                     (gotoff_load_addr): New.
      
      From-SVN: r92186
      Kazuhiro Inaoka committed
    • (PREFERRED_DEBUGGING_TYPE): Use DWARF2_DEBUG. · 25941194
      From-SVN: r92185
      Kazuhiro Inaoka committed
    • re PR c++/18981 (ICE in cp_parser_lookup_name) · fe4c6b8f
      cp:
      	PR c++/18981
      	* parser.c (cp_parser_lookup_name): Remove unneeded TYPENAME_TYPE
      	flag setting.
      testsuite:
      	PR 18981
      	* g++.dg/template/typename9.C: New test.
      
      From-SVN: r92184
      Nathan Sidwell committed
    • mips.c (mips_arg_info): Use FUNCTION_ARG_BOUNDARY to decide whether an argument… · eef5d0d1
      mips.c (mips_arg_info): Use FUNCTION_ARG_BOUNDARY to decide whether an argument is double-word aligned.
      
      	* config/mips/mips.c (mips_arg_info): Use FUNCTION_ARG_BOUNDARY to
      	decide whether an argument is double-word aligned.
      
      From-SVN: r92182
      Richard Sandiford committed
    • mklibgcc.in (libgcc2_c_dep): Add dependency on libgcc2.h. · 92f51df7
      gcc/
      2004-12-15 Jan Beulich  <jbeulich@novell.com>
      	* mklibgcc.in (libgcc2_c_dep): Add dependency on libgcc2.h.
      
      From-SVN: r92179
      Jan Beulich committed
    • * config/i386/i386.md (floathisf2, *floathisf2_1, floatsisf2, · da8947b0
      	*floatsisf2_i387, *floatsisf2_sse, floatdisf2,
      	*floatdisf2_i387_only, *floatdisf2_i387, *floatdisf2_sse,
      	floathidf2, *floathidf2_1, *floatsidf2_i387, *floatsidf2_sse,
      	floatdidf2, *floatdidf2_i387_only, *floatdidf2_i387,
      	*floatdidf2_sse, floatunssisf2, floatunsdisf2, floatunsdidf2):
      	Unify enable constraint with respect to TARGET_80387, TARGET_SSE,
      	TARGET_SSE2, TARGET_64BIT, TARGET_SSE_MATH and TARGET_MIX_SSE_I387.
      	(*float?i?f_i387): Rename to *float?i?f2_mixed.
      	(*float?i?f2_1): Rename to *float?i?f2_i387.
      	(*float?i?f2_i387_only): Rename to *float?i?f2_i387.
      	(float?ixf2): Penalize integer register operand.
      
      From-SVN: r92178
      Uros Bizjak committed
    • re PR c++/17242 (Testsuite fails due to duplicate symbols) · e41f3691
      	PR c++/17242
      	* configure.ac: Add GAS check for HP-UX .nsubspa comdat.
      	* configure, config.in: Rebuilt.
      	* config/pa/pa-hpux10.h (SUPPORTS_ONE_ONLY, MAKE_DECL_ONE_ONLY): Delete
      	defines.
      	* config/pa/pa.c (pa_select_section): Allow uninitialized variables in
      	one-only (comdat) subspaces.
      	* config/pa/som.h (SUPPORTS_SOM_COMDAT): New define.
      	(SUPPORTS_ONE_ONLY): True if SUPPORTS_WEAK or SUPPORTS_SOM_COMDAT are
      	true.
      	(MAKE_DECL_ONE_ONLY): Place uninitialized variables in common.
      
      From-SVN: r92177
      John David Anglin committed
    • gfortran.h (gfc_expr.function.name): Make const. · 6b25a558
              * gfortran.h (gfc_expr.function.name): Make const.
              (gfc_iresolve_init_1, gfc_iresolve_done_1): Remove.
              (gfc_get_string): Update prototype.
              * iresolve.c: Include tree.h.
              (string_node, HASH_SIZE, string_head, hash): Remove.
              (gfc_get_string): Use vsnprintf, get_identifier.
              (free_strings, gfc_iresolve_init_1, gfc_iresolve_done_1): Remove.
              * misc.c (gfc_init_1): Don't call gfc_iresolve_init_1.
              (gfc_done_1): Don't call gfc_iresolve_done_1.
              * module.c (mio_allocated_string): Take and return const char *,
              instead of modifying char**.
              (mio_expr): Update to match.
              * resolve.c (pure_function): Constify name argument.
              (resolve_function): Constify name.
              * trans-intrinsic.c (gfc_conv_intrinsic_function): Likewise.
      
      From-SVN: r92176
      Richard Henderson committed
    • combine.c (combine_validate_cost): Consider cost of undobuf.other_insn rather… · 6bd26f0b
      combine.c (combine_validate_cost): Consider cost of undobuf.other_insn rather than always allowing the...
      
      	* combine.c (combine_validate_cost): Consider cost of
      	undobuf.other_insn rather than always allowing the recombination
      	if it is set.
      
      From-SVN: r92173
      Ian Lance Taylor committed
    • re PR c++/18738 (typename not allowed with non-dependent qualified name) · 0c88d886
      	PR c++/18738
      	* decl.c (make_typename_type): Do not handle namespace-scoped
      	names here.
      	(tag_name): Handle typename_type.
      	(check_elaborated_type_specifier): Handle typenames.
      	* parser.c (cp_parser_diagnose_invalid_type_name): Improve
      	comment.
      	(cp_parser_elaborated_type_specifier): Use
      	cp_parser_diagnose_invalid_type_name.
      
      	PR c++/18738
      	* g++.dg/template/typename8.C: New test.
      	* g++.dg/parse/friend2.C: Tweak error message.
      
      From-SVN: r92172
      Mark Mitchell committed
    • Daily bump. · a150cb05
      From-SVN: r92170
      GCC Administrator committed
  2. 14 Dec, 2004 25 commits