neroden [Mon, 23 Feb 2004 16:19:20 +0000 (16:19 +0000)]
* configure.in: Use NCN_TARGET_NONCANONICAL and friends.
* configure: Regenerate.
* Makefile.am: Use target_noncanonical variable from configure.
* Makefile.in: Regenerate.
* include/Makefile.in: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78317
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Mon, 23 Feb 2004 15:42:28 +0000 (15:42 +0000)]
2004-02-23 Benjamin Kosnik <bkoz@redhat.com>
* include/ext/malloc_allocator.h: Add operators ==, !=.
* include/ext/new_allocator.h: Add operators ==, !=.
* include/ext/mt_allocator.h (__mt_alloc::tune): New.
(__mt_alloc::_S_get_options): New.
(__mt_alloc::_S_set_options): New.
(__mt_alloc::_S_thread_key_destr): To _S_destroy_thread_key.
(__mt_alloc::_S_no_of_bins): To _S_bin_size.
Move functions out of line, simplify, format.
* src/allocator.cc: Simplify explicit instantiations.
* include/bits/allocator.h: Tweak.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78315
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Mon, 23 Feb 2004 15:41:43 +0000 (15:41 +0000)]
2004-02-20 Benjamin Kosnik <bkoz@redhat.com>
* include/ext/malloc_allocator.h: Add operators ==, !=.
* include/ext/new_allocator.h: Add operators ==, !=.
* include/ext/mt_allocator.h (__mt_alloc::tune): New.
(__mt_alloc::_S_get_options): New.
(__mt_alloc::_S_set_options): New.
(__mt_alloc::_S_thread_key_destr): To _S_destroy_thread_key.
(__mt_alloc::_S_no_of_bins): To _S_bin_size.
Move functions out of line, simplify, format.
* src/allocator.cc: Simplify explicit instantiations.
* include/bits/allocator.h: Tweak.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78314
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Mon, 23 Feb 2004 15:27:49 +0000 (15:27 +0000)]
2004-02-23 Andrew Pinski <pinskia@physics.uc.edu>
PR c/14156
* gcc.dg/
20040223-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78313
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Mon, 23 Feb 2004 15:22:04 +0000 (15:22 +0000)]
PR c/14156
* c-typeck.c (c_expand_return): Change check for VAR_DECL
to use DECL_P instead.
PR c++/14156
* typeck.c (maybe_warn_about_returning_address_of_location):
Change check for VAR_DECL to use DECL_P instead.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78312
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Mon, 23 Feb 2004 14:54:11 +0000 (14:54 +0000)]
* config/rs6000/linux.h (OS_MISSING_POWERPC64): Define.
* config/rs6000/linux64.h (OS_MISSING_POWERPC64): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78309
138bc75d-0d04-0410-961f-
82ee72b054a4
lerdsuwa [Mon, 23 Feb 2004 14:12:56 +0000 (14:12 +0000)]
PR c++/14106
* g++.dg/ext/typeof9.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78304
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Mon, 23 Feb 2004 14:10:58 +0000 (14:10 +0000)]
* Makefile.in (opts.o): Depend on target.h.
* opts.c (decode_options): Use targetm.default_short_enums
instead of DEFAULT_SHORT_ENUMS.
* system.h (DEFAULT_SHORT_ENUMS): Poison.
* target-def.h (TARGET_DEFAULT_SHORT_ENUMS): New.
(TARGET_INITIALIZER): Add TARGET_DEFAULT_SHORT_ENUMS.
* target.h (gcc_target): Add default_short_enums.
* config/cris/cris.h: Remove a comment about
DEFAULT_SHORT_ENUMS.
* config/ip2k/ip2k.h: Likewise.
* doc/tm.texi (DEFAULT_SHORT_ENUMS): Change to
TARGET_DEFAULT_SHORT_ENUMS. Update the description.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78303
138bc75d-0d04-0410-961f-
82ee72b054a4
giovannibajo [Mon, 23 Feb 2004 12:44:22 +0000 (12:44 +0000)]
PR c++/14250
* g++.dg/other/switch1.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78295
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Mon, 23 Feb 2004 12:41:43 +0000 (12:41 +0000)]
PR c/14188
* builtins.c (expand_builtin_va_arg): Emit an informative message
if a trap is generated.
* c-typeck.c (build_function_call): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78294
138bc75d-0d04-0410-961f-
82ee72b054a4
giovannibajo [Mon, 23 Feb 2004 12:40:59 +0000 (12:40 +0000)]
PR c++/14250
* cvt.c (build_expr_type_conversion): Type must be complete before
looking up for conversions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78293
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Mon, 23 Feb 2004 11:17:13 +0000 (11:17 +0000)]
2004-02-23 Ed Schonberg <schonberg@gnat.com>
* exp_ch6.adb (Expand_N_Subprogram_Declaration): Do not create
protected operations if original subprogram is flagged as eliminated.
(Expand_N_Subprogram_Body): For a protected operation, create
discriminals for next operation before checking whether the operation
is eliminated.
* exp_ch9.adb (Expand_N_Protected_Body,
Expand_N_Protected_Type_Declaration): Do not generate specs and bodies
for internal protected operations if the original subprogram is
eliminated.
* sem_elim.adb (Check_Eliminated): Handle properly protected operations
declared in a single protected object.
2004-02-23 Vincent Celier <celier@gnat.com>
* prj-attr.adb: Make attribute Builder'Executable an associative array,
case insensitive if file names are case insensitive, instead of a
standard associative array.
* prj-attr.adb (Initialize): For 'b' associative arrays, do not set
them as case insensitive on platforms where the file names are case
sensitive.
* prj-part.adb (Parse_Single_Project): Make sure, when checking if
project file has already been parsed that canonical path are compared.
2004-02-23 Robert Dewar <dewar@gnat.com>
* sinput-c.ads: Correct bad unit title in header
* freeze.adb: Minor reformatting
2004-02-23 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* trans.c (tree_transform, case N_Procedure_Call_Statement): For
nonaddressable COMPONENT_REF that is removing padding that we are
taking the address of, take the address of the padded record instead
if item is variable size.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78292
138bc75d-0d04-0410-961f-
82ee72b054a4
giovannibajo [Mon, 23 Feb 2004 05:13:23 +0000 (05:13 +0000)]
PR c++/14143
* g++.dg/template/koenig5.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78288
138bc75d-0d04-0410-961f-
82ee72b054a4
giovannibajo [Mon, 23 Feb 2004 05:10:37 +0000 (05:10 +0000)]
PR c++/14143
* name-lookup.c (arg_assoc_class): Don't look into template
arguments if it is not a primary template.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78287
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 23 Feb 2004 00:16:11 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78284
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Sun, 22 Feb 2004 23:18:53 +0000 (23:18 +0000)]
* gcov-io.c (gcov_open) [GCOV_LOCKED]: Use open + fdopen instead of
fopen.
* libgcov.c: Include sys/stat.h.
* config/rs6000/linux.h (TARGET_HAS_F_SETLKW): Define.
* config/rs6000/linux64.h (TARGET_HAS_F_SETLKW): Define.
* config/sparc/linux.h (TARGET_HAS_F_SETLKW): Define.
* config/sparc/linux64.h (TARGET_HAS_F_SETLKW): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78281
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sun, 22 Feb 2004 22:33:12 +0000 (22:33 +0000)]
* reorg.c: Remove comments about dead ports.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78280
138bc75d-0d04-0410-961f-
82ee72b054a4
cgf [Sun, 22 Feb 2004 21:50:52 +0000 (21:50 +0000)]
* config.gcc (i[34567]86-*-pe|i[34567]86-*-cygwin*): *Really* specify extra
host object file when targetting cygwin rather than generic object files.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78278
138bc75d-0d04-0410-961f-
82ee72b054a4
zlomek [Sun, 22 Feb 2004 18:48:42 +0000 (18:48 +0000)]
Merge from tree-ssa:
2003-11-20 Richard Henderson <rth@redhat.com>
* tree-inline.c (insert_decl_map): New.
(remap_decl, remap_type, remap_block, copy_body_r,
initialize_inlined_parameters, declare_return_variable,
remap_save_expr): Use it.
* function.c (copy_body_r): Add mapping from id->ret_label to
id->ret_label. Revert test for ret_label.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78271
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Sun, 22 Feb 2004 18:39:06 +0000 (18:39 +0000)]
* genoutput.c (process_template): Strip trailing whitespace in @
templates and issue a warning if there was any.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78270
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Sun, 22 Feb 2004 11:13:27 +0000 (11:13 +0000)]
2004-02-22 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.tcc (money_put<>::_M_insert):
Restructure formatting of value component, first dealing with
the non-decimal digits; use reserve.
2004-02-22 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.h (class money_get): Inherit
from money_base too; tweak declaration of _M_extract, now
parameterized on _Intl too.
* include/bits/locale_facets.tcc (money_get<>::_M_extract):
Update definition to use the cache; call reserve on __res to
avoid multiple reallocations; fix parsing of sign component
according to 22.2.6.1.2, p3.
(money_get<>::do_get(long double&),
money_get<>::do_get(string_type&)): Update calls of _M_extract.
* src/locale-inst.cc: Add instantiations of
money_get::_M_extract<false> and money_get::_M_extract<true>.
* testsuite/22_locale/money_get/get/char/14.cc: New.
* testsuite/22_locale/money_get/get/wchar_t/14.cc: Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78253
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 22 Feb 2004 00:16:13 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78246
138bc75d-0d04-0410-961f-
82ee72b054a4
cgf [Sun, 22 Feb 2004 00:05:40 +0000 (00:05 +0000)]
fix date
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78242
138bc75d-0d04-0410-961f-
82ee72b054a4
cgf [Sun, 22 Feb 2004 00:04:38 +0000 (00:04 +0000)]
* config.gcc (i[34567]86-*-pe|i[34567]86-*-cygwin*): Specify extra host object
file when targetting cygwin.
* config/i386/t-cygwin (EXTRA_GCC_OBJS): Remove definition since it is
overridden by top-level Makefile.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78241
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sat, 21 Feb 2004 20:59:26 +0000 (20:59 +0000)]
* libsupc++/vterminate.cc
(__gnu_cxx::__verbose_terminate_handler): Guard against recursive
calls to terminate.
* src/demangle.cc (__cxa_demangle): Wrap in try-catch block.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78235
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sat, 21 Feb 2004 20:34:38 +0000 (20:34 +0000)]
* testsuite/testsuite_hooks.cc (__gnu_test::set_memory_limits): Do
not set RLIMIT_AS on HP-UX.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78233
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Sat, 21 Feb 2004 18:48:19 +0000 (18:48 +0000)]
* config/i386/i386.c (standard_80387_constant_p): Also prefer
the x87's load constant instructions when optimizing for size.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78231
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sat, 21 Feb 2004 18:41:48 +0000 (18:41 +0000)]
* combine.c (SHIFT_COUNT_TRUNCATED): Remove.
* defaults.h (SHIFT_COUNT_TRUNCATED): Provide the default.
* expmed.c: Assume SHIFT_COUNT_TRUNCATED is always defined.
* fold-const.c: Likewise.
* simplify-rtx.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78230
138bc75d-0d04-0410-961f-
82ee72b054a4
amodra [Sat, 21 Feb 2004 13:03:40 +0000 (13:03 +0000)]
* combine.c (can_combine_p): Don't ignore SETs marked with
REG_EH_REGION notes.
(try_combine): When attemting to fix unrecognized insns, don't
split a PARALLEL that contains the original i2.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78220
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Sat, 21 Feb 2004 09:26:35 +0000 (09:26 +0000)]
2004-02-21 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.h (class money_base): Add { _S_minus,
_S_zero, _S_end } enum, _S_atoms.
(struct __moneypunct_cache<>): Parameterize on _Intl too; add
_M_grouping_size, _M_curr_symbol_size, _M_positive_sign_size,
_M_negative_sign_size, _M_atoms; tweak constructor consistently.
(__moneypunct_cache<>::~__moneypunct_cache): Update.
(__moneypunct_cache<>::_M_cache): Fill the cache.
(class moneypunct): Tweak __cache_type typedef.
(class money_put): Inherit from money_base too; tweak declaration
of _M_insert, now parameterized on _Intl.
* include/bits/locale_facets.tcc
(struct __use_cache<__moneypunct_cache<_CharT, _Intl> >): New.
(money_put<>::_M_insert): Update definition to use the cache;
call reserve on __res to avoid multiple reallocations.
(money_put<>::do_put(long double),
money_put<>::do_put(const string_type&): Update calls of _M_insert.
* config/locale/generic/monetary_members.cc
(moneypunct<char, true>::_M_initialize_moneypunct,
moneypunct<char, false>::_M_initialize_moneypunct,
moneypunct<wchar_t, true>::_M_initialize_moneypunct,
moneypunct<wchar_t, false>::_M_initialize_moneypunct): Update.
* config/locale/gnu/monetary_members.cc: Likewise.
* config/locale/gnu/monetary_members.cc
(moneypunct<wchar_t, true>::~moneypunct(),
moneypunct<wchar_t, false>::~moneypunct()): Likewise.
* src/globals_locale.cc: Tweak fake_money_cache_c.
* src/locale-inst.cc: Add instantiations for
money_put::_M_insert<false> and money_put::_M_insert<true> and
__moneypunct_cache<C, false>, __moneypunct_cache<C, true>.
* src/locale_facets.cc: Define money_base::_S_atoms.
* src/locale_init.cc: Update placement new of
__moneypunct_cache<char, false>, __moneypunct_cache<char, true>,
__moneypunct_cache<wchar_t, false>, __moneypunct_cache<wchar_T, true>.
* config/locale/generic/numeric_members.cc: Clean up.
* config/locale/gnu/numeric_members.cc: Likewise.
* testsuite/22_locale/money_put/put/char/1.cc: Likewise.
* testsuite/22_locale/money_put/put/char/2.cc: Likewise.
* testsuite/22_locale/money_put/put/char/3.cc: Likewise.
* testsuite/22_locale/money_put/put/wchar_t/1.cc: Likewise.
* testsuite/22_locale/money_put/put/wchar_t/2.cc: Likewise.
* testsuite/22_locale/money_put/put/wchar_t/3.cc: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78216
138bc75d-0d04-0410-961f-
82ee72b054a4
zlaski [Sat, 21 Feb 2004 09:08:37 +0000 (09:08 +0000)]
[gcc/ChangeLog]
2004-02-21 Ziemowit Laski <zlaski@apple.com>
* config/darwin.h (TARGET_OPTION_TRANSLATE_TABLE): Refer to
SUBTARGET_OPTION_TRANSLATE_TABLE for architecture-specific options.
* config/i386/darwin.h (SUBTARGET_OPTION_TRANSLATE_TABLE): Define it.
* config/rs6000/altivec.h: #error out if '-maltivec' not specified.
(vector, pixel, bool): #define to __vector, __pixel and __bool.
(__un_args_eq, __bin_args_eq, __tern_args_eq): Move to C-specific
portion of header.
(__altivec_link_error_invalid_argument): Remove prototype; will use
__builtin_altivec_compiletime_error("vec_*") instead.
(vec_*): Fix/complete set of available operation overloads given the
existence of distinct 'vector bool ...' and 'vector pixel' types; tighten
cv-correctness of pointer arguments; in C, always check for correct
argument types before macro expansion.
* config/rs6000/darwin.h (SUBTARGET_OPTION_TRANSLATE_TABLE): New macro
defining Darwin/PowerPC-specific '-f[no-]altivec' and
'-W[no-]altivec-long-deprecated' switches.
* config/rs6000/rs6000-c (rs6000_cpu_cpp_builtins): Pre-define
'__vector', '__pixel' and '__bool' macros using
'__attribute__((altivec(...)))' types.
* config/rs6000/rs6000.c (bool_char_type_node, bool_short_type_node,
bool_int_type_node, pixel_type_node, bool_V16QI_type_node,
bool_V8HI_type_node, bool_V4SI_type_node, pixel_V8HI_type_node):
New type nodes.
(rs6000_warn_altivec_long, rs6000_warn_altivec_long_switch): New, for
handling '-W[no-]altivec-long-deprecated'.
(rs6000_override_options): Handle '-W[no-]altivec-long-deprecated'.
(rs6000_expand_binop_builtin, rs6000_expand_ternop_builtin,
altivec_expand_dst_builtin): Remove casts from integer literals.
(altivec_expand_builtin): Likewise; handle expansion of new
'__builtin_altivec_compiletime_error' function.
(rs6000_init_builtins): Initialize 'vector bool ...' and 'vector pixel'
types, and make them distinct from other vector types; register
'__builtin_altivec_compiletime_error' function.
(print_operand): For 'P', print a full target register name instead of
merely its number.
(rs6000_attribute_table): Add "altivec" attribute.
(rs6000_handle_altivec_attribute): New function.
* config/rs6000/rs6000.h (TARGET_OPTIONS): Describe
'-m[no-]-warn-altivec-long' (which '-W[no-]altivec-long-deprecated'
maps to).
(rs6000_warn_altivec_long, rs6000_warn_altivec_long_switch): Forward
declare.
(ALTIVEC_BUILTIN_COMPILETIME_ERROR): New built-in enumeration.
[gcc/testsuite/ChangeLog]
2004-02-21 Ziemowit Laski <zlaski@apple.com>
* g++.dg/ext/altivec-1.C: Generalize target triple.
* g++.dg/ext/altivec-2.C: New test case.
* g++.dg/ext/altivec_check.h: New file.
* gcc.dg/altivec-1.c: Generalize target triple;
include altivec_check.h and call altivec_check().
* gcc.dg/altivec-[2-5].c: Generalize target triple.
* gcc.dg/altivec-6.c: New test case.
* gcc.dg/altivec-[7-9].c: Generalize target triple; add
type casts as needed.
* gcc.dg/altivec-10.c: Include altivec_check.h and call
altivec_check().
* gcc.dg/altivec-12.c: New test case.
* gcc.dg/altivec-varargs-1.c: Generalize target triple;
include altivec_check.h and call altivec_check().
* gcc.dg/altivec_check.h: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78215
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Sat, 21 Feb 2004 08:22:34 +0000 (08:22 +0000)]
Combine 2 redundant splitters into one.
* config/ia64/ia64.md (shift_mix4left+1): Delete reload_completed
check.
(shift_mix4left+2): Delete redundant pattern.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78213
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Sat, 21 Feb 2004 03:02:32 +0000 (03:02 +0000)]
* lib/target-supports.exp (check_alias_available): Don't mangle
function `g' in test program.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78208
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Sat, 21 Feb 2004 02:58:24 +0000 (02:58 +0000)]
* lib/target-supports.exp (check_profiling_available): Check
argument to determine whether we support a profiling type.
* lib/gcc-dg.exp (dg-require-profiling): Pass argument to
check_profiling_available.
* g++.dg/bprob/bprob.exp: Likewise
* g77.dg/bprob/bprob.exp: Likewise.
* gcc.misc-tests/bprob.exp: Likewise.
* g++.old-deja/g++.law/profile1.C: Pass profiling type to
dg-require-profiling and delete expected error handling.
* gcc.dg/
20021014-1.c: Likewise.
* gcc.dg/nest.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78206
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sat, 21 Feb 2004 00:39:05 +0000 (00:39 +0000)]
* alias.c (OUTGOING_REGNO): Don't define the default.
* builtins.c (OUTGOING_REGNO): Likewise.
(INCOMING_REGNO): Likewise.
(apply_args_register_offset): Always use OUTGOING_REGNO.
* combine.c (OUTGOING_REGNO): Likewise.
* sibcall.c (OUTGOING_REGNO): Likewise.
* defaults.h (INCOMING_REGNO): Provide the default.
(OUTGOING_REGNO): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78203
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Sat, 21 Feb 2004 00:34:46 +0000 (00:34 +0000)]
* params.def (max-peeled-insns, max-completely-peeled-insns,
max-once-peeled-insns): Set to 400.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78201
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 21 Feb 2004 00:16:16 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78198
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 20 Feb 2004 23:51:07 +0000 (23:51 +0000)]
* testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: Open
FIFO for writing with ios_base::in|ios_base::out.
* testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
* testsuite/27_io/objects/char/7.cc: Likewise.
* testsuite/27_io/objects/char/9661-1.cc: Open FIFO for writing
with "r+".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78195
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Fri, 20 Feb 2004 23:10:33 +0000 (23:10 +0000)]
PR c++/12007
* g++.dg/other/vthunk1.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78193
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Fri, 20 Feb 2004 23:03:41 +0000 (23:03 +0000)]
PR c++/12007
* dbxout.c (dbxout_parms): Check that DECL_RTL and DECL_INCOMING_RTL
are set for parameters before outputing debugging information.
* cp/method.c (use_thunk): Always clone function argument tree.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78192
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Fri, 20 Feb 2004 22:55:14 +0000 (22:55 +0000)]
tweak
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78191
138bc75d-0d04-0410-961f-
82ee72b054a4
falk [Fri, 20 Feb 2004 22:13:16 +0000 (22:13 +0000)]
PR target/14201
* config/alpha/alpha.md (*fix_truncsfsi_ieee): Fix typoed operand
numbers.
* gcc.c-torture/compile/fix-trunc-mem-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78188
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Fri, 20 Feb 2004 20:02:27 +0000 (20:02 +0000)]
* input.h: Don't #include line-map.h. It may cause link problems
with undefined linemap_line_start when line-map.h is included but
line-map.o is not linked, as currently happens with gengtype on
compilers that don't support inline.
* toplev.c: So we do have to explicitly #include line-map.h here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78185
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 20 Feb 2004 18:42:51 +0000 (18:42 +0000)]
* doc/invoke.texi: Add -Wvariadic-macros.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78179
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Fri, 20 Feb 2004 17:19:03 +0000 (17:19 +0000)]
2004-02-20 Michael Koch <konqueror@gmx.de>
* gnu/java/net/protocol/jar/Handler.java
(): Removed unneeded check for file != null. java.net.URL.getFile()
returns an empty string but never null.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78176
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Fri, 20 Feb 2004 17:18:22 +0000 (17:18 +0000)]
2004-02-20 Andrew Pinski <pinskia@physics.uc.edu>
* MAINTAINERS: Add Nicola Pero and myself as libobjc
maintainers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78175
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Fri, 20 Feb 2004 17:02:35 +0000 (17:02 +0000)]
2004-02-20 Michael Koch <konqueror@gmx.de>
* gnu/gcj/convert/Convert.java
(main): Use equals() to compare strings.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78174
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Fri, 20 Feb 2004 16:55:30 +0000 (16:55 +0000)]
* haifa-sched.c (sched_emit_insn): Remove.
* sched-int.h: Remove the corresponding prototype.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78173
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Fri, 20 Feb 2004 16:21:25 +0000 (16:21 +0000)]
* haifa-sched.c (sched_emit_insn): Remove.
* sched-int.h: Remove the corresponding prototype.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78172
138bc75d-0d04-0410-961f-
82ee72b054a4
cagney [Fri, 20 Feb 2004 16:15:55 +0000 (16:15 +0000)]
Index: ChangeLog
2004-02-19 Andrew Cagney <cagney@redhat.com>
* config.guess: Update from version 2003-10-16 to 2004-02-16.
* config.sub: Update from version 2003-11-03 to 2004-02-16.
Index: boehm-gc/ChangeLog
2004-02-19 Andrew Cagney <cagney@redhat.com>
* config.guess: Update from version 2002-01-10 to 2004-02-16.
* config.sub: Update from version 2002-01-02 to 2004-02-16.
Index: libjava/libltdl/ChangeLog
2004-02-19 Andrew Cagney <cagney@redhat.com>
* config.guess: Update from version 2003-10-07 to 2004-02-16.
* config.sub: Update from version 2003-10-07 to 2004-02-16.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78171
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Fri, 20 Feb 2004 15:19:25 +0000 (15:19 +0000)]
2004-02-20 Michael Koch <konqueror@gmx.de>
* javax/swing/AbstractButton.java: Made several constants final.
(getRolloverSelectedIcon): Made public.
(getSelectedIcon): Made public.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78169
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Fri, 20 Feb 2004 14:28:13 +0000 (14:28 +0000)]
Revert:
2004-02-19 Kazu Hirata <kazu@cs.umass.edu>
* opts.c (decode_options): Don't use DEFAULT_SHORT_ENUMS.
* system.h (DEFAULT_SHORT_ENUMS): Poison.
* config/cris/cris.h: Remove a comment about
DEFAULT_SHORT_ENUMS.
* config/ip2k/ip2k.h: Likewise.
* doc/tm.texi (DEFAULT_SHORT_ENUMS): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78168
138bc75d-0d04-0410-961f-
82ee72b054a4
membar [Fri, 20 Feb 2004 12:55:00 +0000 (12:55 +0000)]
* doc/install.texi: Moved --disable-libgcj and
--with-system-zlib documentation to new section for
Java-specific options.
Added explicit Cross-Compiler-Specific Options subheading.
Added section for Java-specific options.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78166
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Fri, 20 Feb 2004 11:55:27 +0000 (11:55 +0000)]
2004-02-20 Robert Dewar <dewar@gnat.com>
* bld.adb, exp_util.adb, gprcmd.adb: Minor reformatting
2004-02-20 Ed Schonberg <schonberg@gnat.com>
* freeze.adb (Freeze_Record_Type): Generalize mechanism that generates
itype references for the constrained designated type of a component
whose base type is already frozen.
2004-02-20 Arnaud Charlet <charlet@act-europe.fr>
* init.c (__gnat_error_handler [tru64]): Rewrite previous change to
avoid GCC warnings.
2004-02-20 Sergey Rybin <rybin@act-europe.fr>
* sem_ch12.adb (Analyze_Formal_Package): Create a new defining
identifier for a phantom package that rewrites the formal package
declaration with a box. The Add semantic decorations for the defining
identifier from the original node (that represents the formal package).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78164
138bc75d-0d04-0410-961f-
82ee72b054a4
kraai [Fri, 20 Feb 2004 09:13:39 +0000 (09:13 +0000)]
* move-if-change: Remove.
* Makefile.in (s-mlib, c-parse.y, s-check, s-gencheck)
(s-specs, s-options, s-config, s-conditions, s-flags, s-codes)
(s-constants, s-emit, s-recog, s-opinit, s-extract, s-peep)
(s-attr, s-attrtab, s-output, s-genrtl, s-modes, s-preds)
(s-gtyp-gen, s-iov): Use the top level move-if-change.
* objc/Make-lang.in (objc/objc-parse.y): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78163
138bc75d-0d04-0410-961f-
82ee72b054a4
kraai [Fri, 20 Feb 2004 09:11:50 +0000 (09:11 +0000)]
* doc/install.texi (Building the Ada compiler): Remove
example.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78162
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 20 Feb 2004 08:57:33 +0000 (08:57 +0000)]
PR c++/14199
* pt.c (tsubst_copy): Call mark_used for a PARM_DECL.
PR c++/14173
* semantics.c (begin_class_definition): Set TYPE_PACKED correctly
for all type variants.
PR c++/14173
* g++.dg/ext/packed5.C: New test.
PR c++/14199
* g++.dg/warn/Wunused-5.C: New test.
PR c++/13927
* decl.c (duplicate_decls): Return error_mark_node for invalid
redeclarations.
* name-lookup.c (push_namespace): Ignore the return value from
pushdecl.
* pt.c (push_template_decl_real): Robustify.
PR c++/13927
* g++.dg/other/error8.C: Remove XFAIL markers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78159
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Fri, 20 Feb 2004 08:38:24 +0000 (08:38 +0000)]
Fix ce3/rnreg dump file ordering problem.
* toplev.c (dump_file_index, dump_file): Put ce3 before rnreg.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78157
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 20 Feb 2004 08:08:57 +0000 (08:08 +0000)]
* Make-lang.in (treelang-warn): Add -Wno-variadic-macros.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78155
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Fri, 20 Feb 2004 06:46:42 +0000 (06:46 +0000)]
gcc/
* gcc.c (process_command): Allow translation of the copyright
symbol but not the rest of the copyright message.
* gcov.c (print_version): Likewise. Allow translation of the
message about warranty.
gcc/f/
* Make-lang.in (g77spec.o): Depend on intl.h.
* g77spec.c: Include intl.h.
(lang_specific_driver): Allow translation of the copyright
symbol but not the rest of the copyright message. Allow
translation of the message about warranty.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78152
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 20 Feb 2004 06:43:08 +0000 (06:43 +0000)]
PR c++/14186
* name-lookup.c (push_class_level_binding): Do not complain about
adding a binding for a member whose name is the same as the
enclosing class if the member is located in a base class of the
current class.
PR c++/14186
* g++.dg/lookup/member1.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78149
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Fri, 20 Feb 2004 06:36:33 +0000 (06:36 +0000)]
* gcc.c-torture/compile/
20040130-1.c: Enable only when
__INT_MAX__ >= 2147483647L.
* gcc.c-torture/compile/961203-1.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78148
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Fri, 20 Feb 2004 04:53:16 +0000 (04:53 +0000)]
* config/cris/cris.md ("*andsi_movu"): Correct parentheses in
predicate.
("*andsi_clear"): Tweak constraints to not match postincrement.
Adjust the predicate to exclude a volatile memory reference.
("*andhi_clear"): Ditto. Rename from "*andhi_clear_signed".
("*andhi_clear_unsigned"): Remove, non-matching pattern.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78147
138bc75d-0d04-0410-961f-
82ee72b054a4
kraai [Fri, 20 Feb 2004 04:19:33 +0000 (04:19 +0000)]
* move-if-change: Remove.
* Makefile.in (s-mlib, c-parse.y, s-check, s-gencheck)
(s-specs, s-options, s-config, s-conditions, s-flags, s-codes)
(s-constants, s-emit, s-recog, s-opinit, s-extract, s-peep)
(s-attr, s-attrtab, s-output, s-genrtl, s-modes, s-preds)
(s-gtyp-gen, s-iov): Use the top level move-if-change.
* objc/Make-lang.in (objc/objc-parse.y): Likewise.
(gcc/ada/ChangeLog)
* Make-lang.in (ada/stamp-sdefault): Use the top level
move-if-change.
(gcc/f/ChangeLog)
* Make-lang.in (f/stamp-1t, f/stamp-2t, f/stamp-fo)
(f/stamp-io, f/stamp-nq, f/stamp-op, f/stamp-ot): Use the top
level move-if-change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78146
138bc75d-0d04-0410-961f-
82ee72b054a4
neroden [Fri, 20 Feb 2004 03:35:30 +0000 (03:35 +0000)]
* acinclude.m4: Remove bogus duplicate call to AC_CANONICAL_BUILD.
* aclocal.m4: Rebuild.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78145
138bc75d-0d04-0410-961f-
82ee72b054a4
neroden [Fri, 20 Feb 2004 03:11:01 +0000 (03:11 +0000)]
* acinclude.m4: Move certain code to configure.in.
* configure.in: Receive code from acinclude.m4.
* aclocal.m4: Rebuild.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78144
138bc75d-0d04-0410-961f-
82ee72b054a4
neroden [Fri, 20 Feb 2004 02:01:16 +0000 (02:01 +0000)]
PR bootstrap/11932
* mkinstalldirs, install-sh: Import from automake CVS HEAD.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78143
138bc75d-0d04-0410-961f-
82ee72b054a4
neroden [Fri, 20 Feb 2004 01:48:51 +0000 (01:48 +0000)]
* Makefile.direct, alloc.c: Resync to upstream 6.3 alpha 1.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78142
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Fri, 20 Feb 2004 01:20:33 +0000 (01:20 +0000)]
Fix latent problem found by Mostafa Hagog.
* config/i386/i386.md (doloop_end_internal): Use nonimmediate_operand
for operand2. Add condition that requires register_operand operand2
before reload.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78140
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 20 Feb 2004 00:16:10 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78137
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Thu, 19 Feb 2004 23:00:22 +0000 (23:00 +0000)]
Fix attribution in last delta.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78132
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Thu, 19 Feb 2004 22:49:47 +0000 (22:49 +0000)]
* config/mips/mips.c (mips_address_insns): Treat BLKmode specially.
* config/mips/mips.md: Expand comment above unaligned loads and stores.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78129
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 19 Feb 2004 22:39:55 +0000 (22:39 +0000)]
* Makefile.in (STRICT2_WARN): Add -Wno-variadic-macros.
* tree.c (build0, build1, build2, build3, build4): Split out from...
(build): ... here. Call them.
* tree.h (build, _buildN1, _buildN2, _buildC1, _buildC2): New.
* convert.c (convert_to_integer): Remove extra build argument.
* tree-inline.c (expand_call_inline): Likewise.
ada/
* misc.c (record_code_position): Add third build arg for RTL_EXPR.
java/
* parse.y (switch_label): Use make_node for DEFAULT_EXPR.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78126
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 19 Feb 2004 22:18:50 +0000 (22:18 +0000)]
* c-opts.c (warn_variadic_macros): New.
(c_common_handle_option): Set it.
(sanitize_cpp_opts): Copy it to cpp_opts.
* c.opt (Wvariadic-macros): New.
* cpplib.h (struct cpp_options): Add warn_variadic_macros.
* cppinit.c (cpp_create_reader): Initialize it.
* cppmacro.c (parse_params): Check it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78125
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Thu, 19 Feb 2004 22:07:55 +0000 (22:07 +0000)]
* 22_locale/collate/compare/wchar_t/2.cc: Change input-charset
from iso-8859-1 to ISO8859-1.
* 22_locale/collate/compare/wchar_t/wrapped_env.cc: Same.
* 22_locale/collate/compare/wchar_t/wrapped_locale.cc: Same.
* 22_locale/collate/hash/wchar_t/2.cc: Same.
* 22_locale/collate/hash/wchar_t/wrapped_env.cc: Same.
* 22_locale/collate/hash/wchar_t/wrapped_locale.cc: Same.
* 22_locale/collate/transform/wchar_t/2.cc: Same.
* 22_locale/collate/transform/wchar_t/wrapped_env.cc: Same.
* 22_locale/collate/transform/wchar_t/wrapped_locale.cc: Same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78124
138bc75d-0d04-0410-961f-
82ee72b054a4
daney [Thu, 19 Feb 2004 22:07:51 +0000 (22:07 +0000)]
2004-02-19 David Daney <ddaney@avtrex.com>
PR preprocessor/14198
* config/mips/linux.h (TARGET_OS_CPP_BUILTINS): Add
builtin_assert ("machine=mips")
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78123
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Thu, 19 Feb 2004 21:49:45 +0000 (21:49 +0000)]
* opts.c (decode_options): Don't use DEFAULT_SHORT_ENUMS.
* system.h (DEFAULT_SHORT_ENUMS): Poison.
* config/cris/cris.h: Remove a comment about
DEFAULT_SHORT_ENUMS.
* config/ip2k/ip2k.h: Likewise.
* doc/tm.texi (DEFAULT_SHORT_ENUMS): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78122
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Thu, 19 Feb 2004 21:39:52 +0000 (21:39 +0000)]
* config/ia64/ia64.c (ia64_function_arg): In big-endian mode,
when passing single SFmode quantities in general registers,
put them in the high half.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78119
138bc75d-0d04-0410-961f-
82ee72b054a4
aldyh [Thu, 19 Feb 2004 18:50:57 +0000 (18:50 +0000)]
2004-02-19 Aldy Hernandez <aldyh@redhat.com>
* doc/md.texi (Standard Names): Document additional dependency on
fix pattern.
* optabs.c (ftruncify): Remove.
(expand_fix): Manually inline ftruncify above.
(can_fix_p): Add FIXME note.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78116
138bc75d-0d04-0410-961f-
82ee72b054a4
aldyh [Thu, 19 Feb 2004 18:40:24 +0000 (18:40 +0000)]
* config/rs6000/spe.md (spe_fixunssfsi2): Rename to
spe_fixuns_truncsfsi2.
* config/rs6000/rs6000.md (fixunssfsi2): Rename to
fixuns_truncsfsi2.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78114
138bc75d-0d04-0410-961f-
82ee72b054a4
sje [Thu, 19 Feb 2004 18:03:45 +0000 (18:03 +0000)]
* config/ia64/ia64.h (HARD_REGNO_CALLER_SAVE_MODE): New macro.
* testsuite/gcc.dg/
20040219-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78113
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Thu, 19 Feb 2004 17:36:45 +0000 (17:36 +0000)]
* config/s390/s390.md ("*subdf3_cc", "*subdf3_cconly", "*subsf3_cc",
"*subsf3_cconly"): Subtraction is not commutative.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78110
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Thu, 19 Feb 2004 17:21:14 +0000 (17:21 +0000)]
* sdbout.c (preinit_symbols, sdbout_initialized): New statics.
(sdbout_symbol): If called before sdbout_init, queue DECL for
later and return.
(sdbout_init): Set sdbout_initialized true, process decls
queued earlier by sdbout_symbol.
(sdbout_finish): Use size_t for index variable.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78109
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 19 Feb 2004 16:57:52 +0000 (16:57 +0000)]
* fold-const.c (invert_truthvalue): Do not call invert_tree_comparison
for unordered comparison codes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78103
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Thu, 19 Feb 2004 16:54:24 +0000 (16:54 +0000)]
* fr.po: Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78101
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Thu, 19 Feb 2004 15:24:02 +0000 (15:24 +0000)]
* reload1.c (reload): Correct comment.
(scan_paradoxical_subregs): Remove #if 0 and old comment.
* doc/extend.texi (Local Reg Vars): Remove obsolete comment that
register variables are not used by reload.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78100
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Thu, 19 Feb 2004 12:46:49 +0000 (12:46 +0000)]
* g++.dg/parse/attr-ctor1.C: XFAIL on hppa.
* g++.dg/opt/template1.C: Robustify assembler regexp
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78097
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Thu, 19 Feb 2004 11:28:00 +0000 (11:28 +0000)]
PR target/14209
* config/cris/cris.md ("*andsi_movu", "*andhi_movu"): Tweak
constraints to not match postincrement. Adjust the predicate to
exclude a volatile memory reference.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78095
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Thu, 19 Feb 2004 11:14:12 +0000 (11:14 +0000)]
* config/mcore/mcore.h (ASM_OUTPUT_EXTERNAL): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78094
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Thu, 19 Feb 2004 11:06:26 +0000 (11:06 +0000)]
* hooks.c (hook_void_tree_int): Remove.
(hook_void_constcharptr): Likewise.
(hook_int_void_0): Likewise.
* hooks.h: Remove the prototypes for the above three
functions.
* targhooks.c (hook_bool_machine_mode_true): Remove.
* targhooks.h: Remove the prototype for
hook_bool_machine_mode_true.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78093
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Thu, 19 Feb 2004 10:59:44 +0000 (10:59 +0000)]
* emit-rtl.c (subreg_realpart_p): Remove.
(reorder_insns_with_line_notes): Likewise.
(end_full_sequence): Likewise.
* rtl.h: Remove the prototype for the above functions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78092
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Thu, 19 Feb 2004 10:57:02 +0000 (10:57 +0000)]
* config/arc/arc.h, config/arm/arm.h, config/frv/frv.h,
config/h8300/h8300.h, config/i386/i386.h, config/i860/i860.h,
config/iq2000/iq2000.h, config/m32r/m32r.h,
config/pdp11/pdp11.h, config/sparc/sparc.h,
config/xtensa/xtensa.h: Remove commented-out or useless
definitions of CASE_VECTOR_PC_RELATIVE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78091
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Thu, 19 Feb 2004 10:53:13 +0000 (10:53 +0000)]
* loop.c (all_sets_invariant_p): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78090
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Thu, 19 Feb 2004 09:23:22 +0000 (09:23 +0000)]
* gcc.c-torture/execute/simd-4.x: Remove.
* gcc.c-torture/execute/va-arg-25.x: Likewise.
* gcc.dg/compat/vector-1_x.c: Do not XFAIL on SPARC.
Guard with #ifndef SKIP_ATTRIBUTE.
* gcc.dg/compat/vector-1_y.c: Likewise.
* gcc.dg/compat/vector-2_x.c: Likewise.
* gcc.dg/compat/vector-2_y.c: Likewise.
* g++.dg/eh/simd-1.C: Do not XFAIL on SPARC.
* g++.dg/eh/simd-2.C: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78089
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Thu, 19 Feb 2004 09:02:48 +0000 (09:02 +0000)]
PR target/12916
* config/sparc/sparc.h (NPARM_REGS): Delete.
(BASE_RETURN_VALUE_REG): Likewise.
(BASE_OUTGOING_VALUE_REG): Likewise.
(BASE_PASSING_ARG_REG): Likewise.
(BASE_INCOMING_ARG_REG): Likewise.
* config/sparc/sparc.c (sparc_strict_argument_naming): Test
TARGET_ARCH64, not TARGET_V9.
(function_arg_slotno): Dispatch based on the mode class.
Handle vector modes like floating-point modes.
(function_arg_record_value_1): Handle vector types like
floating-point types.
(function_arg_record_value_2): Likewise.
Calculate regno after mode transformation.
(function_arg): Handle vector modes like floating-point modes.
(function_arg_partial_nregs): Replace NPARM_REGS by SPARC_INT_ARG_MAX.
If ARCH64, do not recheck alignment.
(function_arg_pass_by_reference): Reorder the conditions.
(sparc_return_in_memory): Move after function_arg_padding.
Implement calling conventions for vector modes.
(sparc_struct_value_rtx): Move after sparc_return_in_memory.
(function_value): Move scope of 'regbase'.
Implement calling conventions for vector modes.
(sparc_builtin_saveregs): Replace NPARM_REGS by SPARC_INT_ARG_MAX
and BASE_INCOMING_ARG_REG by SPARC_INCOMING_INT_ARG_FIRST.
(sparc_va_arg): Use function_arg_pass_by_reference to test whether
the argument is passed by reference.
(sparc_type_code): Handle vector types.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78087
138bc75d-0d04-0410-961f-
82ee72b054a4
amodra [Thu, 19 Feb 2004 08:02:59 +0000 (08:02 +0000)]
New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78080
138bc75d-0d04-0410-961f-
82ee72b054a4
amodra [Thu, 19 Feb 2004 08:00:47 +0000 (08:00 +0000)]
* function.c (assign_parms): When building decl_rtl for
SPLIT_COMPLEX_ARGS, ensure inner modes of concat match outer.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78079
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Thu, 19 Feb 2004 07:58:05 +0000 (07:58 +0000)]
PR target/14209
* gcc.c-torture/execute/
20040218-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78078
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Thu, 19 Feb 2004 07:52:51 +0000 (07:52 +0000)]
* expr.c (is_aligning_offset): Check if we are aligning the
expressions's address over BIGGEST_ALIGNMENT in bytes, not
in bits.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78076
138bc75d-0d04-0410-961f-
82ee72b054a4
austern [Thu, 19 Feb 2004 05:52:38 +0000 (05:52 +0000)]
* gcc.c (LIBGCC_SPEC): If REAL_LIBGCC_SPEC is defined, and
LIBGCC_SPEC isn't, set LIBGCC_SPEC to REAL_LIBGCC_SPEC.
(init_gcc_spec): Don't define or call if REAL_LIBGCC_SPEC is
defined. Instead use REAL_LIBGCC_SPEC, unmodifed, as the libgcc
spec string.
* doc/tm.texi (REAL_LIBGCC_SPEC): Document.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78072
138bc75d-0d04-0410-961f-
82ee72b054a4