aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2000-11-25* gcc.dg/cpp/include2.c: Make test locale independent.Neil Booth2-2/+8
From-SVN: r37737
2000-11-25Makefile.am (INCLUDES): Remove unconditional use of _GNU_SOURCE and ↵Benjamin Kosnik3-3/+10
_ISOC99_SOURCE macros. 2000-11-25 Benjamin Kosnik <bkoz@redhat.com> Richard Earnshaw <rearnsha@arm.com> * src/Makefile.am (INCLUDES): Remove unconditional use of _GNU_SOURCE and _ISOC99_SOURCE macros. * src/Makefile.in: Regenerate. Co-Authored-By: Richard Earnshaw <rearnsha@arm.com> From-SVN: r37736
2000-11-25Daily bump.Jeff Law5-5/+5
From-SVN: r37735
2000-11-25sh.h (TARGET_NONE): New.Alexandre Oliva2-25/+43
* config/sh/sh.h (TARGET_NONE): New. (TARGET_SWITCHES): For all variant-selecting switch, use TARGET_NONE to reset all other variant-selecting switch. Added empty strings to avoid warnings. (TARGET_DEFAULT): Set to SH1_BIT. From-SVN: r37734
2000-11-25Makefile.in ($(INTL_TARGETS)): Added $(CONFIG_H) for insn-codes.h.Alexandre Oliva2-1/+4
* Makefile.in ($(INTL_TARGETS)): Added $(CONFIG_H) for insn-codes.h. From-SVN: r37733
2000-11-25sh.md (sibcalli, [...]): New insns.Alexandre Oliva2-0/+94
* gcc/config/sh/sh.md (sibcalli, sibcalli_pcrel): New insns. (sibcall_pcrel): New insn_and_split. (sibcall, sibcall_value, sibcall_epilogue): New expands. From-SVN: r37732
2000-11-25sh.md (GOTaddr2picreg, [...]): Don't set current_function_uses_pic_offset_table.Alexandre Oliva4-70/+35
* config/sh/sh.md (GOTaddr2picreg, symGOT2reg, symGOTOFF2reg, symPLT_label2reg, call, call_value): Don't set current_function_uses_pic_offset_table. * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Don't mark PIC_OFFSET_TABLE_REGNUM as call_used, so that calc_live_regs takes it into account. (FINALIZE_PIC): Delete, useless. (LEGITIMATE_CONSTANT_P): Delete, unused. * config/sh/sh.c (sh_expand_prologue): Don't use current_function_uses_pic_offset_table. Don't special-case PIC_OFFSET_TABLE_REGNUM. Initialize it if it's ever live and PIC is enabled. (sh_expand_epilogue, initial_elimination_offset): Don't special case PIC_OFFSET_TABLE_REGNUM. From-SVN: r37731
2000-11-25sh-protos.h (symbol_ref_operand): Declare.Alexandre Oliva6-24/+124
* config/sh/sh-protos.h (symbol_ref_operand): Declare. * config/sh/sh.md (UNSPEC_CALLER): New constant. (calli_pcrel, call_valuei_pcrel): Use PIC_REG. (call_pcrel, call_value_pcrel): New insn_and_splits. (call, call_value): Use them. (call_site): New expand. (sym_label2reg, symPLT_label2reg): Adjust to hold call_sites. * config/sh/sh.h (OUTPUT_ADDR_CONST_EXTRA) [UNSPEC_CALLER]: Output call_site label. (PREDICATE_CODES): Added symbol_ref_operand. * config/sh/sh.c (symbol_ref_operand): Define. * emit-rtl.c (try_split): Propagate CALL_INSN_FUNCTION_USAGE to CALL_INSNs in the split sequence. From-SVN: r37730
2000-11-25* gcc.c-torture/compile/20001123-2.c: New.Alexandre Oliva2-0/+25
From-SVN: r37729
2000-11-25* g++.old-dega/g++.pt/ttp62.C: Call abort() on failure.Kriang Lerdsuwanakij2-3/+9
From-SVN: r37728
2000-11-25Use target specific, language specific object files feature to allow buildNick Clifton6-243/+345
v850 pragma support into gcc and gxx. From-SVN: r37727
2000-11-25Add support for target specific, language specific object files.Nick Clifton7-249/+315
From-SVN: r37726
2000-11-25Add xscale-elf and xscale-coff targets.Nick Clifton2-0/+17
Add xscale-elf and xscale-coff targets. (Only supported in binutils at the moment). From-SVN: r37725
2000-11-24* gcc.c (process_command): Use F_OK, not R_OK.Richard Kenner2-1/+5
From-SVN: r37724
2000-11-24codecvt_wchar_t_char.cc (main): Add _GLIBCPP_USE_WCHAR_T guards.Benjamin Kosnik4-6/+24
2000-11-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com> * testsuite/22_locale/codecvt_wchar_t_char.cc (main): Add _GLIBCPP_USE_WCHAR_T guards. * configure.in (AC_OUTPUT_COMMANDS): Remove, just run scripts as is, so that checks for existence of generated files actually work. * configure: Regenerate. From-SVN: r37723
2000-11-24* flow.c (print_rtl_and_abort): Remove ANSIism.Arno J. Klaassen2-1/+5
From-SVN: r37722
2000-11-24sh.h (GENERAL_REGISTER_P, [...]): New macros.Alexandre Oliva4-41/+65
* config/sh/sh.h (GENERAL_REGISTER_P, GENERAL_OR_AP_REGISTER_P, FP_REGISTER_P, XD_REGISTER_P, FP_OR_XD_REGISTER_P, FP_ANY_REGISTER_P): New macros. Use them all over. (SPECIAL_REG): Renamed to SPECIAL_REGISTER_P. * config/sh/sh.c: Use new macros. * config/sh/sh.md: Likewise. From-SVN: r37721
2000-11-24sh.md: Clobber MACH_REG and MACL_REG in SImode, instead of just MACH_REG in ↵Alexandre Oliva2-11/+21
DImode. * config/sh/sh.md: Clobber MACH_REG and MACL_REG in SImode, instead of just MACH_REG in DImode. Always refer to FPSCR_REG in PSImode. From-SVN: r37720
2000-11-24libjava.exp (bytecompile_file): Change default from javac to gcj -C.Anthony Green3-3/+13
Fri Nov 24 11:25:20 2000 Anthony Green <green@redhat.com> * lib/libjava.exp (bytecompile_file): Change default from javac to gcj -C. (libjava_arguments): Fix classpath. * libjava.compile/PR129_B.no-link: New file. From-SVN: r37719
2000-11-24prims.cc (_Jv_NewObjectArray): Use palcement new to create array.Tom Tromey3-7/+32
* prims.cc (_Jv_NewObjectArray): Use palcement new to create array. (_Jv_NewPrimArray): Likewise. Include <new>. * gcj/array.h (__JArray): `length' field now const. Added constructor. (class JArray): Added constructor. From-SVN: r37718
2000-11-24* libjava.compile/PR375.java: New file. For PR gcj/375.Tom Tromey2-0/+9
From-SVN: r37717
2000-11-24* libjava.compile/PR374.java: New file. For PR gcj/374.Tom Tromey2-0/+13
From-SVN: r37716
2000-11-24avr.c (out_tsthi,out_tstsi): Test simplification bug fixed.Denis Chertykov2-18/+18
* config/avr/avr.c (out_tsthi,out_tstsi): Test simplification bug fixed. (machine_dependent_reorg): Wrong optimization based on NOTICE_UPDATE_CC removed. From-SVN: r37715
2000-11-24jump.c (delete_computation): Re-instate deletion of feeding insn.J"orn Rennecke2-11/+31
* jump.c (delete_computation): Re-instate deletion of feeding insn. (delete_insn): Look for REG_LABEL notes. (redirect_tablejump): Delete feeding insns. From-SVN: r37714
2000-11-24Make operand numbers contiguous in four patterns.Bernd Schmidt2-4/+7
From-SVN: r37713
2000-11-24Fix crash in fold_range_testBernd Schmidt2-0/+3
From-SVN: r37712
2000-11-24Fix code that substitutes reloadreg into SET_DEST of previous insn.Bernd Schmidt2-0/+21
From-SVN: r37711
2000-11-24Treat ready list as a (for now, semi-)abstract datatype. Lose max_priority.Bernd Schmidt2-57/+140
From-SVN: r37710
2000-11-24New testcaseBernd Schmidt2-0/+77
From-SVN: r37709
2000-11-24jcf-parse.c (init_jcf_parse): Register current_file_list root.Anthony Green3-16/+31
* jcf-parse.c (init_jcf_parse): Register current_file_list root. Move current_file_list out of yyparse and make it static. * expr.c: Declare quick_stack and tree_list_free_list as static (init_expr_processing): Register quick_stack and tree_list_free_list roots. From-SVN: r37708
2000-11-24Fix bug in previous change.Bernd Schmidt2-0/+5
From-SVN: r37707
2000-11-24Overhaul sequence point warnings (again)Bernd Schmidt6-209/+425
From-SVN: r37706
2000-11-24Avoid a bit of copy propagation when there's a REG_EQUIV noteRichard Sandiford2-6/+21
From-SVN: r37705
2000-11-24Avoid hard register combinationsBernd Schmidt2-7/+54
From-SVN: r37704
2000-11-24c-parse.in (unary_expr): Move VA_ARG from here ...Nathan Sidwell7-5/+46
* c-parse.in (unary_expr): Move VA_ARG from here ... (primary): ... to here. cp: * parse.y (unary_expr): Move VA_ARG from here ... (primary): ... to here. testsuite: * g++.old-deja/g++.other/vaarg4.C: New test. * gcc.c-torture/compile/20001123-1.c: New test. From-SVN: r37703
2000-11-24semantics.c (finish_id_expr): If type is error_mark, return error_mark.Nathan Sidwell5-6/+32
cp: * semantics.c (finish_id_expr): If type is error_mark, return error_mark. testsuite: * g++.other/crash24.C: Adjust and remove XFAIL. * g++.other/crash37.C: New test. From-SVN: r37702
2000-11-24Daily bump.Jeff Law5-5/+5
From-SVN: r37701
2000-11-23expr.c (store_constructor): If a field is non addressable and the target is ↵Graham Stott2-1/+7
a MEM use MEM_ALIAS_SET... * expr.c (store_constructor): If a field is non addressable and the target is a MEM use MEM_ALIAS_SET otherwise use get_alias_set. From-SVN: r37700
2000-11-23Try to dump some information before aborting.Bernd Schmidt2-3/+41
From-SVN: r37699
2000-11-23pt.c (lookup_template_class): Simplify loop exit constructs.Nathan Sidwell4-23/+61
cp: * pt.c (lookup_template_class): Simplify loop exit constructs. Cope when there is no partial instantiation of a template template member. testsuite: * g++.old-deja/g++.pt/instantiate9.C: New test. From-SVN: r37698
2000-11-23Use UNSPEC_MOVA in newly-introduced mova_constAlexandre Oliva1-1/+1
From-SVN: r37697
2000-11-23emit-rtl.c (gen_lowpart_common): Use word 0 if register mode is narrower ↵Alexandre Oliva2-2/+12
than requested mode. * emit-rtl.c (gen_lowpart_common): Use word 0 if register mode is narrower than requested mode. (gen_highpart): Abort if register mode is narrower than requested mode. From-SVN: r37696
2000-11-23os_defines.h: Include <features.h>.Hans-Peter Nilsson3-2/+36
* config/os/gnu-linux/bits/os_defines.h: Include <features.h>. If not glibc 2.1 or higher, include <gnu/types.h> and define __off64_t as __loff_t and #define __THROW as empty. * libio/libio.h [__P]: Move __THROW and __PMT into their own ifndef:s. From-SVN: r37695
2000-11-23cse.c (cse_insn): Initialise all regcost variables.Graham Stott2-13/+29
* cse.c (cse_insn): Initialise all regcost variables. Fix a typo add missing '='. Only compare costs if there is a replacement insn. From-SVN: r37694
2000-11-23Daily bump.Jeff Law5-5/+5
From-SVN: r37693
2000-11-23Make deprecated strstream header consistent with new and new.h.Benjamin Kosnik5-165/+53
2000-11-22 Benjamin Kosnik <bkoz@redhat.com> Make deprecated strstream header consistent with new and new.h. * include/backward/strstream.h: Add. Use using declarations to scope strstreambuf, istrstream, ostrstream, strstream to global scope. * include/backward/strstream: Remove using declarations. * src/Makefile.am (base_headers): Add strstream. * src/Makefile.in: Regenerate. * include/backward/new.h (_CPP_BACKWARD_NEW_H): Change macro guard to be consistent with other headers. From-SVN: r37692
2000-11-23final.c (output_addr_const): Simplify.Alexandre Oliva7-139/+90
* final.c (output_addr_const) [LABEL_REF]: Simplify. [MINUS]: Enclose non-CONST_INTs in parentheses. [default]: Try OUTPUT_ADDR_CONST_EXTRA. * tm.texi (OUTPUT_ADDR_CONST_EXTRA): Document it. * varasm.c (decode_rtx_const) [CONST]: If it's not something PLUS or MINUS a CONST_INT, use the whole CONST with offset 0 instead of abort()ing. * sh.c (output_pic_addr_const): Removed. Fixed all callers. * sh.h (OUTPUT_ADDR_CONST_EXTRA): New. Handle the UNSPECs formerly handled in output_pic_addr_const. * sh.md (sym_label2reg, symPLT_label2reg): Enclose UNSPEC operands of MINUS in CONSTs so that decode_rtx_const() will accept them. From-SVN: r37691
2000-11-23sh.md (mova_const): New pattern.Alexandre Oliva3-11/+31
* config/sh/sh.md (mova_const): New pattern. (GOTaddr2picreg): Use it. * config/sh/sh.c (broken_move): Match it. (mova_p): Don't match it. (machine_dependent_reorg): Adjust it. From-SVN: r37690
2000-11-22parse.y (build_outer_field_access): New local `decl_ctx', use it.Alexandre Petit-Bianco2-9/+34
2000-11-22 Alexandre Petit-Bianco <apbianco@cygnus.com> * parse.y (build_outer_field_access): New local `decl_ctx', use it. Check for field's context and current class immediate outer context inheritance. (outer_field_access_p): Consider fields inherited from the last enclosing context. (build_access_to_thisn): Stop at the last enclosing context if necessary. Fixes gcj/367. (http://gcc.gnu.org/ml/gcc-patches/2000-11/msg01335.html) From-SVN: r37689
2000-11-23* porting.texi: Expand libtool information.David Edelsohn2-7/+20
From-SVN: r37688