aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-05-07c-common.c (c_common_init): Set options->unsigned_wchar.Neil Booth26-72/+47
* c-common.c (c_common_init): Set options->unsigned_wchar. * cppinit.c (cpp_create_reader): Default unsigned_wchar, group target dependencies. (init_builtins, cpp_handle_option): Update. * cpplex.c (cpp_interpret_charconst): Update. * cpplib.h (struct cpp_options): Add unsigned_wchar, rename signed_char to unsigned_char, group target dependencies. * defaults.h (WCHAR_UNSIGNED): Remove. * system.h (WCHAR_UNSIGNED, MAX_CHAR_TYPE_SIZE): Poison. config: * freebsd.h, interix.h, alpha/freebsd.h, arm/freebsd.h, i386/386bsd.h, i386/beos-elf.h, i386/bsd386.h, i386/cygwin.h, i386/djgpp.h, i386/freebsd-aout.h, i386/i386-interix.h, i386/win32.h, ia64/freebsd.h, mips/netbsd.h, rs6000/freebsd.h, sh/elf.h, sh/sh.h, sparc/freebsd.h: Remove WCHAR_UNSIGNED. doc: * tm.texi: Remove MAX_CHAR_TYPE_SIZE. From-SVN: r53271
2002-05-07configure.in: Add support for WindISS.Mark Mitchell7-754/+1199
* configure.in: Add support for WindISS. * configure: Regenerated. * configure.target: Add support for WindISS. * config/os/windiss/bits/ctype_base.h: New file. * config/os/windiss/bits/ctype_inline.h: Likewise. * config/os/windiss/bits/ctype_noninline.h: Likewise. * config/os/windiss/bits/os_defines.h: Likewise. From-SVN: r53269
2002-05-07*** empty log message ***Mark Mitchell1-0/+10
From-SVN: r53268
2002-05-07inclhack.def (windiss_math1): New fix.Mark Mitchell3-2/+144
* fixinc/inclhack.def (windiss_math1): New fix. (windiss_math2): Likewise. (windiss_valist): Likewise. * fixinc/fixincl.x: Regenerated. From-SVN: r53267
2002-05-07genautomata.c (output_internal_min_issue_delay_func): Add ATTRIBUTE_UNUSED ↵Andreas Jaeger2-12/+18
to avoid warning with empty dfa. * genautomata.c (output_internal_min_issue_delay_func): Add ATTRIBUTE_UNUSED to avoid warning with empty dfa. (output_internal_trans_func): Likewise. From-SVN: r53266
2002-05-07* java/lang/natString.cc (unintern): Fixed typo.Tom Tromey2-2/+6
From-SVN: r53265
2002-05-07configure.in (AC_TYPE_PID_T): Use it.Mark Mitchell5-110/+143
* configure.in (AC_TYPE_PID_T): Use it. * configure: Regenerated. * getruntime.c: Include <sys/types.h>. * waitpid.c: Likewise. Use pid_t, not int, as the type of "pid". From-SVN: r53264
2002-05-07* parse.y (finish_for_loop): Fix if statement.Andreas Jaeger2-4/+8
From-SVN: r53263
2002-05-07pa.c (hppa_profile_hook): Use force_reg to get the address of the profile ↵Jeff Law2-18/+6
hook into an appropriate pseudo... * pa.c (hppa_profile_hook): Use force_reg to get the address of the profile hook into an appropriate pseudo register. From-SVN: r53260
2002-05-07* target.h (FFETARGET_32bit_longs): Undefine for x86-64.Jan Hubicka2-4/+8
From-SVN: r53259
2002-05-07sysv4.h (SUBTARGET_SWITCHES): Add -mwindiss.Mark Mitchell3-17/+132
* config/rs6000/sysv4.h (SUBTARGET_SWITCHES): Add -mwindiss. (LINK_START_SPEC): Handle it. (LINK_OS_SPEC): Likewise. (CPP_SPEC): Likewise. (STARTFILE_SPEC): Likewise. (LIB_SPEC): Likewise. (ENDFILE_SPEC): Likewise. Do not assume crtsavres.o is used on all platforms. (CRTSAVRES_DEFAULT_SPEC): New macro. (LIB_WINDISS_SPEC): New macro. (CPP_OS_WINDISS_SPEC): Likewise. (STARTFILE_WINDISS_SPEC): Likewise. (ENDFILE_WINDISS_SPEC): Likewise. (LINK_START_WINDISS_SPEC): Likewise. (LINK_OS_WINDISS_SPEC): Likewise. * config/rs6000/windiss.h: New file. From-SVN: r53257
2002-05-07rs6000.c (bdesc_2arg): Fix vmax typos.Aldy Hernandez2-5/+9
2002-05-07 Aldy Hernandez <aldyh@redhat.com> * config/rs6000/rs6000.c (bdesc_2arg): Fix vmax typos. From-SVN: r53254
2002-05-07Daily bump.GCC Administrator6-6/+6
From-SVN: r53253
2002-05-06re PR c++/6212 (g++ testsuite EH regressions for irix6 -mabi=64)Richard Henderson2-6/+29
PR c++/6212 * expr.c (highest_pow2_factor_for_type): New. (expand_assignment): Use it. From-SVN: r53249
2002-05-07re PR java/5941 (incorrect "Unreachable statement" error)Tom Tromey3-2/+42
Fix for PR java/5941: * parse.y (finish_for_loop): Set SUPPRESS_UNREACHABLE_ERROR for loop update expression. (java_complete_lhs): Use SUPPRESS_UNREACHABLE_ERROR. * java-tree.h (SUPPRESS_UNREACHABLE_ERROR): New macro. From-SVN: r53247
2002-05-07rs6000.md ("altivec_mtvscr"): Change to unspec_volatile.Aldy Hernandez2-2/+8
2002-05-06 Aldy Hernandez <aldyh@redhat.com> * config/rs6000/rs6000.md ("altivec_mtvscr"): Change to unspec_volatile. ("altivec_mfvscr"): Same. From-SVN: r53246
2002-05-07rtl.h (struct rtx_def): Update comments.Janis Johnson5-71/+211
* rtl.h (struct rtx_def): Update comments. (RTL_FLAG_CHECK[12345678]): New. (rtl_check_failed_flag): Declare. (RTL_FLAG): New. (CLEAR_RTX_FLAGS): New. (flag access macros): Use RTL_FLAG_CHECK macros with list of expected RTL codes. * rtl.c (copy_rtx, shallow_copy_rtx): Use RTX_FLAG macro. (rtl_check_failed_flag): New. * reload1.c (reload): Use REG macro before changing rtx to MEM. (reload_cse_noop_set_p): Check rtx code before using access macro. * config/ia64/ia64.c (process_for_unwind_directive): Check rtx code before using access macro. From-SVN: r53245
2002-05-06* doc/rtl.texi (Flags): Update to reflect current usage.Janis Johnson2-38/+53
From-SVN: r53242
2002-05-06re PR rtl-optimization/3995 (i386 optimisation: joining tests)Roger Sayle4-3/+416
PR opt/3995 * fold-const.c (sign_bit_p): New function. (fold) [EQ_EXPR]: Use this to convert (A & C) == 0 into A >= 0 and (A & C) != 0 into A < 0, when constant C is the sign bit of A's type. Reapply fold when converting (A & C) == C into (A & C) != 0. (fold_binary_op_with_conditional_arg): Fix typo in comment. testsuite/ * gcc.c-torture/execute/20020506-1.c: New test case. From-SVN: r53241
2002-05-06c-common.c (warn_multichar): New.Neil Booth17-43/+97
* c-common.c (warn_multichar): New. (c_common_init): Set CPP's warn_multichar. * c-common.h (warn_multichar): New. * c-decl.c (warn_multichar): Remove. * c-lex.c (lex_charconst): Update. * c-tree.h (warn_multichar): Remove. * cppexp.c (eval_token): Sign-extend charconst value. * cppinit.c (cpp_create_reader): Set warn_multichar. * cpplex.c (cpp_interpret_charconst): Don't sign-extend each character. Update prototype. Sign-extend the result. * cpplib.h: Fix conditions. (struct cpp_options): Add new warning flag. (cpp_interpret_charconst): Update prototype. cp: * Make-lang.in (decl2.o): Update. * cp-tree.h (warn_multichar): Remove. * decl2.c: Include c-common.h. (warn_multichar): Remove. doc: * cpp.texi: Update documentation. testsuite: * gcc.dg/cpp/charconst-3.c: Correct tests accordingly. From-SVN: r53240
2002-05-06Added Tim Josling to MAINTAINERS file.Tim Josling8-3/+112
Added Tim Josling to MAINTAINERS file. Fixed various treelang copyrights. Fix broken treelang build resulting from changes to c-common.c. From-SVN: r53239
2002-05-06sparc.md (shift insns): Do not mask off second operand...David S. Miller1-24/+0
2002-05-06 David S. Miller <davem@redhat.com> * config/sparc/sparc.md (shift insns): Do not mask off second operand, 'I' constraint and SHIFT_COUNT_TRUNCATED take care of it. From-SVN: r53238
2002-05-06ltmain.sh: Detect and handle object name conflicts while piecewise linking a ↵Loren J. Rittle2-0/+19
static library. * ltmain.sh: Detect and handle object name conflicts while piecewise linking a static library. From-SVN: r53237
2002-05-06Test all the facets for the temporary "C" locale switch issue.Paolo Carlini24-0/+322
2002-05-06 Paolo Carlini <pcarlini@unitus.it> Test all the facets for the temporary "C" locale switch issue. * testsuite/22_locale/codecvt_members_char_char.cc: Add test03. * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise. * testsuite/22_locale/collate_members_char.cc: Add test04. * testsuite/22_locale/collate_members_wchar_t.cc: Likewise. * testsuite/22_locale/ctype_members_char.cc: Add test05. * testsuite/22_locale/ctype_members_wchar_t.cc: Add test04. * testsuite/22_locale/messages_members_char.cc: Add test03. * testsuite/22_locale/money_get_members_char.cc: Add test08. * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise. * testsuite/22_locale/money_put_members_char.cc: Add test07. * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise. * testsuite/22_locale/moneypunct_members_char.cc: Add test03. * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise. * testsuite/22_locale/num_get_members_char.cc: Add test06. * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise. * testsuite/22_locale/numpunct_members_char.cc: Add test03. * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise. * testsuite/22_locale/time_get_members_char.cc: Add test08. * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise. * testsuite/22_locale/time_put_members_char.cc: Add test04. * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise. * testsuite/22_locale/num_put_members_char.cc (test04): Add comment. * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise. From-SVN: r53236
2002-05-06genautomata.c (form_the_same_automaton_unit_lists_from_regexp): Fix typo in ↵Vladimir Makarov2-1/+6
usage of allof instead of unit. 2002-05-06 Vladimir Makarov <vmakarov@redhat.com> * genautomata.c (form_the_same_automaton_unit_lists_from_regexp): Fix typo in usage of allof instead of unit. From-SVN: r53235
2002-05-06recog.c (if_test_bypass_p): Accept multiple set insns for OUT, and any jump ↵Richard Henderson2-11/+46
or call for IN. * recog.c (if_test_bypass_p): Accept multiple set insns for OUT, and any jump or call for IN. From-SVN: r53234
2002-05-06Fix problems compiling xmmintrin.h with only -msse.Bernd Schmidt3-2/+9
From-SVN: r53230
2002-05-06fold-const.c (lshift-double): Cast the high word to an unsigned ↵Roger Sayle2-13/+11
HOST_WIDE_INT when... * fold-const.c (lshift-double): Cast the high word to an unsigned HOST_WIDE_INT when extracting sign bit to avoid compiler warning. (div_and_round_double): Cast carry to a signed HOST_WIDE_INT to avoid compiler warning. (fold): Remove redundant code from BIT_AND_EXPR as integer operands are canonicalized to be arg1. From-SVN: r53228
2002-05-06pa-protos.h (hppa_fpstore_bypass_p): Declare.Jeff Law4-112/+144
* pa-protos.h (hppa_fpstore_bypass_p): Declare. * pa.c (pa_adjust_cost): Remove all true dependency cost adjustments. Also remove support for non-DFA scheduling. * pa.md (700, 7100, 7100lc, 7200, 7300): Use bypass mechanism to adjust true dependency costs. Update various comments. (7100lc, 7200, 7300 scheduling): Simplify by combining the FP ALU & MPY units into a single unit. From-SVN: r53227
2002-05-06(compute_register_save_size): Make sureCatherine Moore2-6/+8
to count all of the registers that will be saved. From-SVN: r53226
2002-05-06* i386.c (q_regs_operand): Use ANY_QI_REGS_P.Jan Hubicka2-1/+5
From-SVN: r53224
2002-05-06os_defines.h (_SGI_SOURCE, [...]): Ensure they are always defined.Kaveh R. Ghazi2-0/+21
* config/os/irix/irix5.2/bits/os_defines.h (_SGI_SOURCE, __EXTENSIONS__): Ensure they are always defined. From-SVN: r53216
2002-05-06documentation.html: Fix broken link.Phil Edwards2-1/+5
2002-05-06 Phil Edwards <pme@gcc.gnu.org> * docs/html/documentation.html: Fix broken link. From-SVN: r53211
2002-05-06libjava.exp (libjava_arguments): Don't link with -no-install on *-*-cygwin*.David Billinghurst2-1/+9
2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com> * testsuite/lib/libjava.exp (libjava_arguments): Don't link with -no-install on *-*-cygwin*. From-SVN: r53210
2002-05-06* gcc.dg/cpp/charconst-3.c: Run, don't compile.Neil Booth2-1/+5
From-SVN: r53209
2002-05-06Daily bump.GCC Administrator6-6/+6
From-SVN: r53208
2002-05-06sparc.c (emit_soft_tfmode_libcall): Do not allow result to overlap input ↵David S. Miller2-2/+25
operands in memory. 2002-05-06 David S. Miller <davem@redhat.com> * config/sparc/sparc.c (emit_soft_tfmode_libcall): Do not allow result to overlap input operands in memory. From-SVN: r53204
2002-05-05cpp.texi: Update multichar charconst docs.Neil Booth4-8/+65
doc: * cpp.texi: Update multichar charconst docs. testsuite: * gcc.dg/cpp/charconst-3.c: New test. From-SVN: r53202
2002-05-05libjava.exp (test_libjava_from_source): Add comment explaining last patch.David Billinghurst2-0/+8
2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com> * testsuite/lib/libjava.exp (test_libjava_from_source): Add comment explaining last patch. From-SVN: r53201
2002-05-05cpplex.c (cpp_interpret_charconst): Sign-extend each character.Neil Booth2-27/+29
* cpplex.c (cpp_interpret_charconst): Sign-extend each character. Don't ignore excess characters. Treat multicharacter character constants as signed. (cpp_parse_escape): Clarify diagnostic. From-SVN: r53200
2002-05-05sparc.md (ashlsi3): If shift count is const1_rtx, use add instead of shift.Jakub Jelinek4-20/+30
2002-05-05 Jakub Jelinek <jakub@redhat.com> * config/sparc/sparc.md (ashlsi3): If shift count is const1_rtx, use add instead of shift. (ashldi3_sp64): Likewise. (ashlsi3_const1, ashldi3_const1): Remove. * config/sparc/sparc.h (PREDICATE_CODES): Add const1_operand. * config/sparc/sparc.c (const1_operand): New. From-SVN: r53199
2002-05-05* config.gcc (alpha*-*-netbsd*): Don't use crtstuff.Jason Thorpe2-1/+4
From-SVN: r53198
2002-05-06re PR target/6561 (sparc-sun-solaris2.7 C testsuite failure ↵Jakub Jelinek2-0/+12
w/-mcpu=ultrasparc in execute/950511-1.c) PR target/6561 * config/sparc/sparc.md (muldi3_v8plus): Handle %1 equal to %2. From-SVN: r53197
2002-05-05alpha.c (alpha_adjust_cost): Remove everything but memory latency adjustments.Richard Henderson6-436/+547
* config/alpha/alpha.c (alpha_adjust_cost): Remove everything but memory latency adjustments. (alpha_variable_issue): Remove. (alpha_use_dfa_pipeline_interface): New. (alpha_multipass_dfa_lookahead): New. * config/alpha/alpha.md: Remove define_function_unit scheduling; include new dfa scheduling. (attr type): Add none. (blockage): Use it. * config/alpha/ev4.md: New. * config/alpha/ev5.md: New. * config/alpha/ev6.md: New. From-SVN: r53196
2002-05-05recog.c (store_data_bypass_p): Handle CLOBBER inside PARALLEL.David S. Miller2-0/+7
2002-05-05 David S. Miller <davem@redhat.com> * recog.c (store_data_bypass_p): Handle CLOBBER inside PARALLEL. From-SVN: r53195
2002-05-05add PR idJason Merrill1-0/+2
From-SVN: r53194
2002-05-05Adding .csvignore.Tim Josling2-0/+8
From-SVN: r53192
2002-05-05cse.c: Fix formatting.Kazu Hirata3-49/+57
* cse.c: Fix formatting. * emit-rtl.c: Likewise. From-SVN: r53191
2002-05-05configure.in (noconfigdirs): Don't disable libgcj on sparc64-*-solaris* and ↵Alexandre Oliva2-1/+6
sparcv9-*-solaris*. * configure.in (noconfigdirs): Don't disable libgcj on sparc64-*-solaris* and sparcv9-*-solaris*. From-SVN: r53190
2002-05-05genautomata.c (initiate_states): Add additional guard to initialize ↵Vladimir Makarov2-1/+7
`units_array'. 2002-05-05 Vladimir Makarov <vmakarov@redhat.com> * genautomata.c (initiate_states): Add additional guard to initialize `units_array'. From-SVN: r53188