jason [Sun, 5 May 2002 21:46:51 +0000 (21:46 +0000)]
add PR id
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53194
138bc75d-0d04-0410-961f-
82ee72b054a4
timjosling [Sun, 5 May 2002 20:46:03 +0000 (20:46 +0000)]
Adding .csvignore.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53192
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sun, 5 May 2002 20:03:36 +0000 (20:03 +0000)]
* cse.c: Fix formatting.
* emit-rtl.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53191
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Sun, 5 May 2002 18:57:50 +0000 (18:57 +0000)]
* configure.in (noconfigdirs): Don't disable libgcj on
sparc64-*-solaris* and sparcv9-*-solaris*.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53190
138bc75d-0d04-0410-961f-
82ee72b054a4
vmakarov [Sun, 5 May 2002 18:28:24 +0000 (18:28 +0000)]
2002-05-05 Vladimir Makarov <vmakarov@redhat.com>
* genautomata.c (initiate_states): Add additional guard to
initialize `units_array'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53188
138bc75d-0d04-0410-961f-
82ee72b054a4
vmakarov [Sun, 5 May 2002 17:40:16 +0000 (17:40 +0000)]
2002-05-05 Vladimir Makarov <vmakarov@redhat.com>
* genautomata.c (form_the_same_automaton_unit_lists_from_regexp,
process_unit_to_form_the_same_automaton_unit_lists,
form_the_same_automaton_unit_lists
check_unit_distributions_to_automata): New prototypes and
functions.
(check_automata): Rename it into `check_automata_insn_issues'.
(unit_decl): New fields `the_same_automaton_unit' and
`the_same_automaton_message_reported_p'.
(unit_decl_t): New typedef.
(the_same_automaton_lists): New gloval variable.
(unit_regexp, unit_set_el, units_array, units_cmp,
output_get_cpu_unit_code_func): Use the typedef.
(evaluate_max_reserv_cycles): Increment
`description->max_insn_reserv_cycles'.
(initiate_states): Don't increment `max_cycles_num'.
(transform_insn_regexps): Move code around transformation of
regexps from `generate'.
(generate): Remove call of `transform_insn_regexps'.
(expand_automata): Call `transform_insn_regexps' and
`check_unit_distributions_to_automata'. Check errors before
`generate'.
* config/sparc/ultra3.md (us3_a0, us3_a1): Move the units into
automaton `ultrasparc3_1'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53187
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Sun, 5 May 2002 17:05:09 +0000 (17:05 +0000)]
* c-common.c (c_common_init): Set up CPP arithmetic.
* cppinit.c (cpp_create_reader): Default CPP arithmetic to
something reasonable for the host.
(sanity_checks): Add checks.
(cpp_read_main_file): Call sanity_checks() from here...
(cpp_post_options): ... not here.
* cpplex.c (cpp_interpret_charconst): Get max_chars right.
* cpplib.h (struct cpp_options): New member int_precision.
testsuite:
* gcc.dg/cpp/charconst.c: Update tests.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53186
138bc75d-0d04-0410-961f-
82ee72b054a4
sirl [Sun, 5 May 2002 11:38:51 +0000 (11:38 +0000)]
2002-05-05 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* doc/install.texi (powerpc-*-linux-gnu*): Update build requirements.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53181
138bc75d-0d04-0410-961f-
82ee72b054a4
davem [Sun, 5 May 2002 09:38:20 +0000 (09:38 +0000)]
2002-05-04 David S. Miller <davem@redhat.com>
* config/sparc/linux.h, config/sparc/linux64.h
(HANDLE_PRAGMA_PACK_PUSH_POP): Don't define twice.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53179
138bc75d-0d04-0410-961f-
82ee72b054a4
davem [Sun, 5 May 2002 07:55:21 +0000 (07:55 +0000)]
2002-05-04 David S. Miller <davem@redhat.com>
* config/sparc/sparc.c (sparc_rtx_costs): Describe costs of
more RTX codes.
* config/sparc/sparc.h (RTX_COSTS_CASES): List those new codes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53178
138bc75d-0d04-0410-961f-
82ee72b054a4
davem [Sun, 5 May 2002 07:49:23 +0000 (07:49 +0000)]
2002-05-04 David S. Miller <davem@redhat.com>
* recog.c (store_data_bypass_p): Handle out_insn being a PARALLEL
of SETs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53177
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 5 May 2002 07:17:09 +0000 (07:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53175
138bc75d-0d04-0410-961f-
82ee72b054a4
thorpej [Sun, 5 May 2002 05:03:33 +0000 (05:03 +0000)]
* configure.in (sparc64-*-netbsd*): Add target.
(sparc-*-netbsdelf*): Likewise.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53171
138bc75d-0d04-0410-961f-
82ee72b054a4
timjosling [Sun, 5 May 2002 04:36:10 +0000 (04:36 +0000)]
Added comments in master changelogs on adding treelang directories.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53170
138bc75d-0d04-0410-961f-
82ee72b054a4
timjosling [Sun, 5 May 2002 04:24:18 +0000 (04:24 +0000)]
Added new sample language treelang.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53169
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Sat, 4 May 2002 21:33:19 +0000 (21:33 +0000)]
2002-05-04 Benjamin Kosnik <bkoz@redhat.com>
Paolo Carlini <pcarlini@unitus.it>
* testsuite/22_locale/num_put_members_char.cc: Add test04(),
testing for the locale_facets.tcc entry of the previous commit.
* testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
2002-05-04 Takeshi Kobayakawa <tskoba@mte.biglobe.ne.jp>
* config/locale/generic/c_locale.cc
(__convert_to_v(float, double, long double)):
Fix the temporary switch to the "C" locale, saving and
restoring in the proper way the current locale.
* config/locale/generic/time_members.cc
(__timepunct<char, wchar_t>::_M_put): Likewise.
* config/locale/gnu/messages_members.cc
(messages<char>::do_get): Likewise.
* config/locale/gnu/messages_members.h
(messages<_CharT>::do_get): Likewise.
* config/locale/gnu/time_members.cc
(__timepunct<char, wchar_t>::_M_put): Likewise.
* include/bits/locale_facets.tcc (__convert_from_v): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53167
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Sat, 4 May 2002 20:20:29 +0000 (20:20 +0000)]
* configure.in (AC_CHECK_HEADERS): Check for string.h & stdlib.h.
* libsupc++/Makefile.am (LTCOMPILE): Add $(DEFS).
* Makefile.in, config.h.in, configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53166
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Sat, 4 May 2002 20:15:00 +0000 (20:15 +0000)]
* Makefile.in (c-lex.o): Update.
* c-lex.c: Include target.h.
(cb_register_builtins): New.
(init_c_lex): Set builtins callback.
* c-lex.h (cpp_define, cpp_assert): New prototypes.
* cppinit.c (init_builtins): Use callback, including for
GXX_WEAK.
* cpplib.h (struct cpp_callbacks): New member.
* target-def.h (TARGET_REGISTER_CPP_BUILTINS): New.
(TARGET_INITIALIZER): Update.
* target.h (struct gcc_target): New hook.
* tree.c (default_register_cpp_builtins): New.
* tree.h (default_register_cpp_builtins): New.
doc:
* tm.texi (TARGET_REGISTER_CPP_BUILTINS): Document.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53165
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Sat, 4 May 2002 19:42:01 +0000 (19:42 +0000)]
* cppinit.c (MAX_WCHAR_TYPE_SIZE): Move to cpplib.h
(cpp_post_options): Move sanity checks to...
(sanity_checks): New.
* cpplex.c (maybe_read_ucs): Fix prototype.
(parse_string, cpp_parse_escape): Cast for %c format specifier.
* cpplib.h (cppchar_t): Use unsigned long or unsigned long long
if necessary.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53163
138bc75d-0d04-0410-961f-
82ee72b054a4
bernds [Sat, 4 May 2002 17:06:56 +0000 (17:06 +0000)]
Fix bugs in SSE2 suppport and add SSE2 functions to xmmintrin.h
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53161
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sat, 4 May 2002 14:54:13 +0000 (14:54 +0000)]
* dwarf2out.c: Fix formatting.
* varasm.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53160
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Sat, 4 May 2002 14:32:31 +0000 (14:32 +0000)]
* config/rs6000/rs6000.md (sCC pattern and splitter): Remove
clobber and use result as temporary value.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53159
138bc75d-0d04-0410-961f-
82ee72b054a4
mark [Sat, 4 May 2002 13:26:13 +0000 (13:26 +0000)]
For PR java/6519:
* parse.y (build_string_concatenation): Return just op1 only when op2
is null and op1 is a STRING_CST, otherwise always construct a
StringBuffer.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53158
138bc75d-0d04-0410-961f-
82ee72b054a4
mark [Sat, 4 May 2002 13:24:40 +0000 (13:24 +0000)]
For PR java/6519:
* libjava.lang/emptystring.java: New.
* libjava.lang/emptystring.out: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53157
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Sat, 4 May 2002 11:23:21 +0000 (11:23 +0000)]
* expr.c (force_operand): Use expand_simple_* to handle more
cases.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53154
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Sat, 4 May 2002 07:32:26 +0000 (07:32 +0000)]
*** empty log message ***
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53153
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Sat, 4 May 2002 07:30:32 +0000 (07:30 +0000)]
* c-lex.c (lex_string): Let cpp_parse_escape handles truncation
and sign-extension.
(lex_charconst): Update for change in prototype of
cpp_interpret_charconst. Extend from cppchar_t to HOST_WIDE_INT
appropriately.
* cpphash.h (BITS_PER_CPPCHAR_T): New.
* cppinit.c (cpp_create_reader): Initialize them for no
change in semantics.
(cpp_post_options): Add sanity checks.
* cpplex.c (cpp_parse_escape): Handle precision, sign-extension
and truncation issues. Calculate in type cppchar_t.
(MAX_CHAR_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Remove.
(cpp_interpret_charconst): Calculate in type cppchar_t. Handle
run-time dependent precision correctly. Return whether the
result is signed or not.
* cpplib.c (dequote_string): Use cppchar_t; update.
* cpplib.h (cppchar_signed_t): New.
struct cpp_options): New precision members.
(cpp_interpret_charconst, cpp_parse_escape): Update prototypes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53152
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 4 May 2002 07:18:20 +0000 (07:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53151
138bc75d-0d04-0410-961f-
82ee72b054a4
davem [Sat, 4 May 2002 05:36:40 +0000 (05:36 +0000)]
2002-05-03 David S. Miller <davem@redhat.com>
* config/sparc/sparc-protos.h (sparc_rtx_costs): New.
* config/sparc/sparc.c (sparc_rtx_costs): New function
implementing RTX_COSTS and CONST_COSTS.
* config/sparc/sparc.h (CONST_COSTS): Delete.
(RTX_COSTS_CASES): Define.
(RTX_COSTS): Expand RTX_COSTS_CASES and use sparc_rtx_costs to do
the work.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53147
138bc75d-0d04-0410-961f-
82ee72b054a4
davem [Sat, 4 May 2002 05:03:45 +0000 (05:03 +0000)]
2002-05-03 David S. Miller <davem@redhat.com>
* config/sparc/sparc.md (DFA schedulers): Split out...
* config/sparc/cypress.md, config/sparc/hypersparc.md,
config/sparc/sparclet.md, config/sparc/supersparc.md,
config/sparc/ultra1_2.md, config/sparc/ultra3.md: ... into here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53146
138bc75d-0d04-0410-961f-
82ee72b054a4
davem [Sat, 4 May 2002 04:30:09 +0000 (04:30 +0000)]
2002-05-03 David S. Miller <davem@redhat.com>
* config/sparc/sparc.c (LEAF_REGISTERS): Do not do ifdef
checks on it, always defined for Sparc.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53145
138bc75d-0d04-0410-961f-
82ee72b054a4
davem [Sat, 4 May 2002 04:21:46 +0000 (04:21 +0000)]
2002-05-03 David S. Miller <davem@redhat.com>
* config/sparc/sparc.h (REG_ALLOC_ORDER, REG_LEAF_ALLOC_ORDER):
Tweak, and add more detailed comments.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53144
138bc75d-0d04-0410-961f-
82ee72b054a4
billingd [Sat, 4 May 2002 03:38:14 +0000 (03:38 +0000)]
2002-05-04 David Billinghurst <David.Billinghurst@riotinto.com>
* testsuite/lib/libjava.exp (test_libjava_from_source):
Append .exe to executable names. If no suffix is present,
then ".exe" is added by default on win32. Harmless
elsewhere so always do it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53143
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Sat, 4 May 2002 03:10:42 +0000 (03:10 +0000)]
* Re-apply patch accidentally reverted with
DFA scheduler merge: remove all rules and variables to slurp
source files out of libiberty and rebuild them with HOST_CC.
($(HOST_PREFIX_1)varray.o): New rule.
(genattrtab rule): Word wrap.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53141
138bc75d-0d04-0410-961f-
82ee72b054a4
thorpej [Sat, 4 May 2002 01:31:29 +0000 (01:31 +0000)]
* config/i386/netbsd64.h (CPP_LP64_SPEC): Define.
(CPP_SUBTARGET_SPEC): Define.
(SUBTARGET_EXTRA_SPECS): Redefine, adding cpp_lp64 and
cpp_subtarget specs.
(CPP_SPEC): Redefine to include %(cpp_subtarget).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53140
138bc75d-0d04-0410-961f-
82ee72b054a4
davem [Sat, 4 May 2002 01:04:18 +0000 (01:04 +0000)]
2002-05-03 David S. Miller <davem@redhat.com>
* config/ia64/ia64.c (ia64_emit_insn_before): Put it back.
(rtx_needs_barrier): Delete reference to cycle_display unspec.
(ia64_sched_reorder2): Mention need for cycle display handling
once such notes exist.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53139
138bc75d-0d04-0410-961f-
82ee72b054a4
davem [Sat, 4 May 2002 00:55:18 +0000 (00:55 +0000)]
2002-05-03 David S. Miller <davem@redhat.com>
* target-defs.h (TARGET_SCHED_CYCLE_DISPLAY): Delete.
* target.h (struct gcc_target): Delete cycle_display member.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53138
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 4 May 2002 00:51:02 +0000 (00:51 +0000)]
* real.c (etoasc): Strip most trailing zeros for clarity.
* sched-vis.c: Include real.h.
(print_value): Use REAL_VALUE_TO_DECIMAL as needed.
* Makefile.in (sched-vis.o): Add real.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53137
138bc75d-0d04-0410-961f-
82ee72b054a4
davem [Sat, 4 May 2002 00:38:36 +0000 (00:38 +0000)]
2002-05-03 David S. Miller <davem@redhat.com>
* haifa-sched.c (rank_for_schedule): Revert 2002-05-02 change,
no longer needed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53136
138bc75d-0d04-0410-961f-
82ee72b054a4
aldyh [Sat, 4 May 2002 00:33:48 +0000 (00:33 +0000)]
2002-05-03 Aldy Hernandez <aldyh@redhat.com>
* config/rs6000/rs6000.c (altivec_expand_binop_builtin): Error out
when we get an out of range literal.
(altivec_expand_ternop_builtin): Same.
(altivec_expand_unop_builtin): Same.
(altivec_expand_builtin): Same, for dss.
(altivec_expand_builtin): Use trees instead of rtl when
determining literal argument validity.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53135
138bc75d-0d04-0410-961f-
82ee72b054a4
davem [Sat, 4 May 2002 00:31:28 +0000 (00:31 +0000)]
2002-05-03 David S. Miller <davem@redhat.com>
Delete cycle display scheduling hook.
* config/ia64/ia64.c (ia64_cycle_display,
TARGET_SCHED_CYCLE_DISPLAY, ia64_emit_insn_before): Delete.
(ia64_sched_reorder2): Don't check for CODE_FOR_cycle_display
and use emit_insn_before instead of ia64_emit_insn_before.
* config/ia64/ia64.md (unspec usage): Delete cycle display.
(cycle_display): Delete insn pattern.
* config/sparc/sparc.md (unspec usage): Delete cycle display.
(cycle_display): Delete insn pattern.
* config/sparc/sparc.c (sparc_cycle_display,
TARGET_SCHED_CYCLE_DISPLAY): Delete.
* doc/md.texi (cycle_display): Don't mention.
* doc/tm.texi (TARGET_SCHED_CYCLE_DISPLAY): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53134
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 3 May 2002 22:23:45 +0000 (22:23 +0000)]
* recog.c (store_data_bypass_p, if_test_bypass_p): New.
* recog.h: Declare them.
* config/sparc/sparc.c (ultrasparc_store_bypass_p): Remove.
* config/sparc/sparc.md: Use store_data_bypass_p instead.
* config/sparc/sparc-protos.h: Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53132
138bc75d-0d04-0410-961f-
82ee72b054a4
thorpej [Fri, 3 May 2002 21:38:25 +0000 (21:38 +0000)]
* config/sparc/netbsd-elf.c (CPP_SUBTARGET_SPEC64): Remove
-D__arch64__. Add -D_LP64.
(CPP_ARCH32_SPEC): Redefine to match the non-bi-arch version
from sparc.h.
(CPP_ARCH64_SPEC): Likewise.
(NO_BUILTIN_PTRDIFF_TYPE): Undef.
(NO_BUILTIN_SIZE_TYPE): Undef.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53131
138bc75d-0d04-0410-961f-
82ee72b054a4
vmakarov [Fri, 3 May 2002 21:13:25 +0000 (21:13 +0000)]
2002-05-03 Vladimir Makarov <vmakarov@redhat.com>
* genautomata.c (min_issue_delay_pass_states): Change return type
in the prototype.
(min_issue_delay_pass_states): Change the algorithm.
(min_issue_delay): Set up min_insn_issue_delay for the state.
(output_min_issue_delay_table): Interchange the nested loops and
and initiate min_insn_issue_delay for states.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53130
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Fri, 3 May 2002 21:02:44 +0000 (21:02 +0000)]
* cfgcleanup.c (try_optimize_cfg): Call merge_block only when
jump is simplejump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53129
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Fri, 3 May 2002 20:56:42 +0000 (20:56 +0000)]
* i386.c (expand_movstr, expand_clrstr): Fix inline-all-stringops
sequence.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53128
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 3 May 2002 20:34:31 +0000 (20:34 +0000)]
* ifcvt.c (noce_try_store_flag, noce_try_store_flag_constants,
noce_try_store_flag_inc, noce_try_store_flag_mask, noce_try_cmove,
noce_try_cmove_arith, noce_try_minmax, noce_try_abs): Insert new
code before JUMP, not EARLIEST.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53123
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Fri, 3 May 2002 20:28:09 +0000 (20:28 +0000)]
* gcc.dg/cpp/cmdlne-dM-M.c: New test.
* gcc.dg/cpp/cmdlne-dD-M.c: New test.
* gcc.dg/cpp/cmdlne-dN-M.c: New test.
* gcc.dg/cpp/cmdlne-dI-M.c: New test.
* gcc.dg/cpp/cmdlne-dI-M.h: New aux file.
* gcc.dg/cpp/cmdlne-dD-dM.c: New test.
* gcc.dg/cpp/cmdlne-dM-dD.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53121
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Fri, 3 May 2002 20:17:57 +0000 (20:17 +0000)]
* c-format.c (check_format_info_main): Don't check for presence of
parameter for * width until after operand number has been read,
and only check for it if format parameters are available.
Fixes PR c/6547.
testsuite:
* gcc.dg/format/xopen-2.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53118
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Fri, 3 May 2002 20:17:48 +0000 (20:17 +0000)]
2002-05-03 David Billinghurst <David.Billinghurst@riotinto.com>
Tom Tromey <tromey@redhat.com>
* java/lang/natSystem.cc (getSystemTimeZone): Use
HAVE_UNDERSCORE_TIMEZONE.
* include/config.h.in: Rebuilt.
* acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
* aclocal.m4, configure: Rebuilt.
* acinclude.m4: Run AC_EXEEXT.
* configure.in: Adjust test for `timezone' so it fails on Cygwin.
Add test for `_timezone'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53117
138bc75d-0d04-0410-961f-
82ee72b054a4
echristo [Fri, 3 May 2002 20:14:18 +0000 (20:14 +0000)]
Checked in by Eric Christopher <echristo@redhat.com>:
2002-05-02 Alexandre Oliva <aoliva@redhat.com>
* Makefile.in: Fix for multilibbed natives.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53116
138bc75d-0d04-0410-961f-
82ee72b054a4
thorpej [Fri, 3 May 2002 19:20:21 +0000 (19:20 +0000)]
* config/alpha/netbsd.h (CPP_PREDEFINES): Add -D_LP64.
(LINK_SPEC): Undef before defining.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53113
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Fri, 3 May 2002 18:24:07 +0000 (18:24 +0000)]
* configure.in: Revert 2002-04-18's patch; fixed in libjava.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53109
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Fri, 3 May 2002 18:23:36 +0000 (18:23 +0000)]
Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
(gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
* Makefile.in: Rebuilt.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53108
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Fri, 3 May 2002 18:22:58 +0000 (18:22 +0000)]
2002-05-03 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/6549.
* include/bits/fstream.tcc (filebuf::_M_underflow_common): Revert.
* testsuite/27_io/narrow_stream_objects.cc (test07): Add.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53107
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Fri, 3 May 2002 17:55:26 +0000 (17:55 +0000)]
PR preprocessor/6489
* tradcpp.c (fixup_newlines): New.
(main, finclude): Use it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53103
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Fri, 3 May 2002 17:08:29 +0000 (17:08 +0000)]
* config/mips/elf64.h (UNIQUE_SECTION): Use mips_unique_section.
* config/mips/mips.c (mips_unique_section): Strip encoding from
decl name.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53101
138bc75d-0d04-0410-961f-
82ee72b054a4
dj [Fri, 3 May 2002 16:28:41 +0000 (16:28 +0000)]
* configure.in (FLAGS_FOR_TARGET): Do not add
-B$$r/$(TARGET_SUBDIR)/newlib/ when compiling newlib natively
on i[3456]86-*-linux*.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53100
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Fri, 3 May 2002 16:28:30 +0000 (16:28 +0000)]
* config/i386/i386.c (ix86_expand_int_movcc): Truncate to proper
mode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53099
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Fri, 3 May 2002 16:22:08 +0000 (16:22 +0000)]
* tree.c (build_cplus_array_type): Only const and volatile get
special handling.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53098
138bc75d-0d04-0410-961f-
82ee72b054a4
ro [Fri, 3 May 2002 15:13:16 +0000 (15:13 +0000)]
* doc/install.texi (Installing): Mention GCC 3.1 buildstats.
(Specific): Removed buildstats references.
(Specific, hppa*-hp-hpux11): Adjust for GCC versions > 3.0.
(Specific, sparc-sun-solaris2*): Update 64-bit hints for GCC 3.1.
Accomodate Solaris versions beyond 8.
(Specific, sparc-sun-solaris2.7): Update as path for GCC 3.1.
(Specific, *-*-solaris2.8): Removed, obsolete.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53097
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Fri, 3 May 2002 14:20:04 +0000 (14:20 +0000)]
PR target/6542
* config/sparc/sparc.h (leaf_reg_remap): Remove const.
(CONDITIONAL_REGISTER_USAGE): For TARGET_FLAT make
fill leaf_reg_remap with identity.
* config/sparc/sparc.c (leaf_reg_remap): Remove const.
* gcc.dg/
20020503-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53095
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Fri, 3 May 2002 13:56:52 +0000 (13:56 +0000)]
* config/os/irix/irix5.2/bits/ctype_noninline.h (classic_table):
Return __ctype + 1.
(ctype:_M_table): Initialize to classic_table(), not __ctype.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53093
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Fri, 3 May 2002 13:13:13 +0000 (13:13 +0000)]
* defaults.h (BOOL_TYPE_SIZE): Move default here from cp/decl.c.
* c-decl.c (c_init_decl_processing): Use it.
* config/rs6000/darwin.h (BOOL_TYPE_SIZE): Define to INT_TYPE_SIZE.
* config/i960/i960.h (BOOL_TYPE_SIZE): Don't define.
* config/mcore/mcore.h (BOOL_TYPE_SIZE): Don't define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53091
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Fri, 3 May 2002 12:28:41 +0000 (12:28 +0000)]
* config/h8300/crti.asm: Remove trailing spaces.
* config/h8300/h8300.c: Likewise.
* config/h8300/lib1funcs.asm: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53090
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Fri, 3 May 2002 12:09:35 +0000 (12:09 +0000)]
* defaults.h (BOOL_TYPE_SIZE): Move default here from cp/decl.c.
* c-decl.c (c_init_decl_processing): Use it.
* config/rs6000/darwin.h (BOOL_TYPE_SIZE): Define to INT_TYPE_SIZE.
* config/i960/i960.h (BOOL_TYPE_SIZE): Don't define.
* config/mcore/mcore.h (BOOL_TYPE_SIZE): Don't define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53089
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Fri, 3 May 2002 12:07:30 +0000 (12:07 +0000)]
* regrename.c: Fix formatting.
* tree.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53088
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Fri, 3 May 2002 11:35:49 +0000 (11:35 +0000)]
* i386.md (attribute memory): Handle compares properly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53085
138bc75d-0d04-0410-961f-
82ee72b054a4
ro [Fri, 3 May 2002 11:09:51 +0000 (11:09 +0000)]
* configure.in: Update local install.html, configopts.html paths.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53083
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Fri, 3 May 2002 08:53:03 +0000 (08:53 +0000)]
* i386.c (sse_clrsf, sse_clrsi): Set memory attribute
to none.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53082
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 3 May 2002 07:17:19 +0000 (07:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53081
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Fri, 3 May 2002 04:01:58 +0000 (04:01 +0000)]
* config/os/irix/irix5.2/bits/os_defines.h
(__glibcpp_long_double_bits, __glibcpp_long_bits): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53077
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Fri, 3 May 2002 03:59:22 +0000 (03:59 +0000)]
* config/os/irix/irix5.2/bits/ctype_inline.h: Cast to unsigned
char.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53076
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Fri, 3 May 2002 00:23:55 +0000 (00:23 +0000)]
* function.c: Fix formatting.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53075
138bc75d-0d04-0410-961f-
82ee72b054a4
hboehm [Fri, 3 May 2002 00:21:48 +0000 (00:21 +0000)]
* include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
use sigaction instead of __libc_sigaction.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53074
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 3 May 2002 00:05:52 +0000 (00:05 +0000)]
* haifa-sched.c (schedule_insn): Print table of instructions and
reservations.
(sched_block): Do not print ready list at verbosity level 1.
* sched-vis.c (print_insn): Make global.
* sched-ebb.c (ebb_print_insn): Rename from...
(print_insn): ... this one.
* sched-int.h (print_insn): Declare
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53073
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 2 May 2002 23:59:52 +0000 (23:59 +0000)]
* haifa-sched.c (rank_for_schedule): Skip past last_scheduled_insn
emitted by cycle_display.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53072
138bc75d-0d04-0410-961f-
82ee72b054a4
ljrittle [Thu, 2 May 2002 23:29:30 +0000 (23:29 +0000)]
* doc/install.texi (*-*-freebsd*): Update to latest status.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53070
138bc75d-0d04-0410-961f-
82ee72b054a4
davem [Thu, 2 May 2002 21:30:38 +0000 (21:30 +0000)]
2002-05-02 Jakub Jelinek <jakub@redhat.com>
PR target/6540
* config.gcc (sparc*-*-solaris2*): Set float_format to i128.
* config/float-sparc.h: Assume 128-bit long double if
__LONG_DOUBLE_128__ is defined.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53069
138bc75d-0d04-0410-961f-
82ee72b054a4
vmakarov [Thu, 2 May 2002 21:28:24 +0000 (21:28 +0000)]
2002-05-02 Vladimir Makarov <vmakarov@redhat.com>
* genattrtab.c (write_function_unit_info): Add a dummy element
when num_units == 0.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53067
138bc75d-0d04-0410-961f-
82ee72b054a4
pme [Thu, 2 May 2002 21:21:16 +0000 (21:21 +0000)]
2002-05-02 Phil Edwards <pme@gcc.gnu.org>
* docs/html/faq/index.html: Update list in #4.1.
* docs/html/faq/index.txt: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53065
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 2 May 2002 20:49:13 +0000 (20:49 +0000)]
* predict.c: (propagate_freq, estimate_bb_frequencies): Use
TYPE_MODE (double_type_node) instead of DFmode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53064
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Thu, 2 May 2002 20:42:25 +0000 (20:42 +0000)]
2002-05-02 Benjamin Kosnik <bkoz@redhat.com>
* docs/html/17_intro/RELEASE-NOTES (New): Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53063
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Thu, 2 May 2002 20:05:15 +0000 (20:05 +0000)]
* g++.dg/init/dtor1.C: Make it tougher.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53061
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Thu, 2 May 2002 19:27:42 +0000 (19:27 +0000)]
Fix i960-rtems Ada build failure reported by Joel Sherrill.
* utils.c (finish_record_type): Change record_size to record_type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53058
138bc75d-0d04-0410-961f-
82ee72b054a4
ro [Thu, 2 May 2002 19:12:37 +0000 (19:12 +0000)]
* testsuite/lib/libjava.exp (libjava_find_spec): New function.
(libjava_init): Use it to find libgcj.spec.
(libjava_arguments): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53057
138bc75d-0d04-0410-961f-
82ee72b054a4
davem [Thu, 2 May 2002 17:54:24 +0000 (17:54 +0000)]
2002-05-02 David S. Miller <davem@redhat.com>
PR bootstrap/6525
* include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
__libc_sigaction on Sparc.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53055
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Thu, 2 May 2002 17:51:48 +0000 (17:51 +0000)]
* cfgrtl.c (try_redirect_by_replacing_jump): Do not kill computed
jumps post reload.
* toplev.c (rest_of_compilation): Revert Richard's patch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53052
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Thu, 2 May 2002 17:33:59 +0000 (17:33 +0000)]
2002-05-02 Jerome Marc <marcjero@yahoo.com>
* java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
sys/filio.h, if present.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53050
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Thu, 2 May 2002 15:07:09 +0000 (15:07 +0000)]
* pa/x-ada (ADA_CFLAGS): Rename to X_ADA_CFLAGS.
* ada/Makefile.in (X_ADA_CFLAGS, T_ADA_CFLAGS): New fragment overrides.
(ALL_ADA_CFLAGS): Define. Replace ADA_CFLAGS with ALL_ADA_CFLAGS in
ALL_ADAFLAGS, MOST_ADAFLAGS, and all compilations using CC.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53047
138bc75d-0d04-0410-961f-
82ee72b054a4
clm [Thu, 2 May 2002 14:25:50 +0000 (14:25 +0000)]
* config/v850/v850.h (TRAMPOLINE_TEMPLATE): Change r5 to r20.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53046
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Thu, 2 May 2002 14:00:10 +0000 (14:00 +0000)]
A typo in my last commit.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53045
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Thu, 2 May 2002 13:55:35 +0000 (13:55 +0000)]
* combine.c: Fix comment formatting.
* expr.c: Likewise.
* genautomata.c: Likewise.
* stmt.c: Likewise.
* tree.h: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53044
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Thu, 2 May 2002 08:59:10 +0000 (08:59 +0000)]
* doc/install.texi: State GNAT version requirements.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53040
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Thu, 2 May 2002 07:55:32 +0000 (07:55 +0000)]
* config/fr30/fr30.h (GO_IF_LEGITIMATE_ADDRESS): Accept any form of the frame
pointer or arg pointer register which strict register checking is not enabled.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53039
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 2 May 2002 07:17:16 +0000 (07:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53038
138bc75d-0d04-0410-961f-
82ee72b054a4
korbb [Thu, 2 May 2002 05:18:08 +0000 (05:18 +0000)]
sync mainline to 3.1
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53034
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Thu, 2 May 2002 05:14:31 +0000 (05:14 +0000)]
* g++.dg/init/dtor1.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53033
138bc75d-0d04-0410-961f-
82ee72b054a4
aldyh [Thu, 2 May 2002 02:03:14 +0000 (02:03 +0000)]
2002-05-02 Aldy Hernandez <aldyh@redhat.com>
* gcc.dg/altivec-8.c: New.
* config/rs6000/rs6000.c (rs6000_legitimate_address): Disallow
PRE_INC and PRE_DEC for altivec modes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53031
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Wed, 1 May 2002 23:17:57 +0000 (23:17 +0000)]
2002-05-01 Jeff Law <law@redhat.com>
* pa.h (EXTRA_CONSTRAINT): Don't accept PIC addresses for the
'T' constraint.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53027
138bc75d-0d04-0410-961f-
82ee72b054a4