- 30 May, 2000 8 commits
-
-
* cp-tree.h (DECL_ANTICIPATED): New macro. Document new use of DECL_LANG_FLAG_7. * decl.c (builtin_function): Set DECL_ANTICIPATED on builtins in the user namespace. * lex.c (do_identifier): If the identifier's declaration has DECL_ANTICIPATED on, it has not yet been declared. But do not replace it with an ordinary implicit declaration. * tinfo2.cc: Include stdlib.h. From-SVN: r34267
Zack Weinberg committed -
From-SVN: r34266
Philipp Thomas committed -
From-SVN: r34265
Kaveh R. Ghazi committed -
From-SVN: r34264
Jason Merrill committed -
From-SVN: r34263
Philippe De Muyter committed -
From-SVN: r34262
Jeff Law committed -
From-SVN: r34261
Richard Henderson committed -
* cpplib.c (do_if): Don't save and restore only_seen_white here. * cppexp.c (_cpp_parse_expr): Save and restore only_seen_white and skipping here. From-SVN: r34260
Zack Weinberg committed
-
- 29 May, 2000 16 commits
-
-
flow.c (mark_used_reg): If a register is unconditionally live, remove any conditional death information. * flow.c (mark_used_reg): If a register is unconditionally live, remove any conditional death information. From-SVN: r34259
Richard Earnshaw committed -
* final.c (current_output_insn): New. (final_scan_insn): Set it. * output.h: Declare it. From-SVN: r34258
Richard Henderson committed -
From-SVN: r34257
Richard Henderson committed -
* jump.c (redirect_jump): Don't emit NOTE_INSN_FUNCTION_END if nlabel is null. From-SVN: r34256
Richard Henderson committed -
* concatstr.c, exh.c: Include stdlib.h and string.h. * delaycase.c, eqstr.c, memmove.c, printbuffer.c, printevent.c, sendbuffer.c, waitbuffer.c: Include string.h. From-SVN: r34255
Zack Weinberg committed -
* hashtab.c, partition.c, sort.c, xmemdup.c: Include string.h if HAVE_STRING_H. * pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H. * objalloc.c: Include config.h. Include stdlib.h and don't declare malloc or free if HAVE_STDLIB_H. * strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H, else declare malloc without prototype. Include string.h if HAVE_STRING_H, else declare memset without prototype. Don't include stddef.h. From-SVN: r34254
Zack Weinberg committed -
* cpplib.h (cpp_reader): Remove if_stack. Change potential_control_macro to a cpp_hashnode *. Add skipping flag. * cpphash.h (struct ihash): Change control_macro to a cpp_hashnode * and shorten name to cmacro. Add NEVER_REINCLUDE constant. * cppfiles.c (redundant_include_p): Drop cpp_reader argument. Examine the cmacro node directly, no need to call cpp_defined. (_cpp_execute_include, read_include_file): Set cmacro to NEVER_REINCLUDE, not U"". * cpplex.c (cpp_push_buffer): Don't set new->if_stack. (cpp_get_token): If pfile->skipping is true, discard text and keep scanning until we hit a directive; don't expand macros. * cpplib.c (struct if_stack): Remove if_succeeded, add was_skipping. Change control_macro to a cpp_hashnode * and shorten name to cmacro. Remove typedef IF_STACK. (parse_ifdef), detect_if_not_defined): Return a cpp_hashnode *. (conditional_skip, skip_if_group, consider_directive_while_skipping): Delete. (push_conditional): New. (_cpp_handle_directive): Don't process directives other than conditionals if we are skipping. (do_ifdef, do_ifndef, do_if, do_else, do_elif, do_endif): Update to new scheme. (validate_else): Skip rest of line here, unconditionally. (_cpp_unwind_if_stack): The stack is per-buffer. Force pfile->skipping off. (all): Remove `scare quotes' from error messages. * gcc.dg/cpp-mi.c: Add another case, cpp-mix.h, where the guard macro is already defined when the header is first included. * gcc.dg/cpp-mix.h: New file. * gcc.dg/endif-label.c: Update patterns to match compiler. * g++.brendan/complex1.C: Declare abort. * g++.law/refs4.C: Remove XFAIL. * g++.oliva/expr2.C: Declare abort and exit. From-SVN: r34253
Zack Weinberg committed -
* cp-tree.h (CLASSTYPE_ALIGN_UNIT): New macro. * class.c (layout_empty_base): Use CLASSTYPE_ALIGN_UNIT, not CLASSTYPE_ALIGN. From-SVN: r34252
Mark Mitchell committed -
* function.c (emit_return_into_block): New line_note arg; emit it. (thread_prologue_and_epilogue_insns): Attempt to locate a line note for the close brace to accompany HAVE_return. Move all line notes following the epilogue to before the NOTE_INSN_EPILOGUE_BEG. From-SVN: r34251
Richard Henderson committed -
* longlong.h [__alpha] (count_leading_zeros): New. (count_trailing_zeros): New. (COUNT_LEADING_ZEROS_0): New. * config/alpha/alpha.c (alpha_zero_comparison_operator): New. (alpha_split_conditional_move): New. * config/alpha/alpha-protos.h: Prototype them. * config/alpha/alpha.h (PREDICATE_CODES): Update. (CPP_CPU_DEFAULT_SPEC): Fix typo for EV67. * config/alpha/alpha.md: Update ffs cix commentary. (*ze_and_ne): New. (*nabssf2, *nabsdf2): New. (*mov[qhsd]icc_internal): Use add_operand. (if_then_else constant splitters): New. (*cmp_sadd_di, *cmp_sadd_si, *cmp_sadd_sidi): New. (*cmp_ssub_di, *cmp_ssub_si, *cmp_ssub_sidi): New. From-SVN: r34250
Richard Henderson committed -
From-SVN: r34249
Jeff Law committed -
* combine.c (force_to_mode) [MINUS]: Convert subtraction from a constant to NEG or NOT when conditions allow. From-SVN: r34248
Richard Henderson committed -
combine.c (combine_simplify_rtx): Don't create an if_then_else unless both args are general_operand. * combine.c (combine_simplify_rtx): Don't create an if_then_else unless both args are general_operand. Don't canonicalize plus to ior unless it helps. From-SVN: r34247
Richard Henderson committed -
toplev.c (rest_of_compilation): Set no_new_pseudos after flow1; instead track register_life_up_to_date. * toplev.c (rest_of_compilation): Set no_new_pseudos after flow1; instead track register_life_up_to_date. Toggle no_new_pseudos around if_convert. From-SVN: r34246
Richard Henderson committed -
2000-05-29 Bryce McKinlay <bryce@albatross.co.nz> * libjava.lang/PR242.java: New file. PR gcj/242. From-SVN: r34245
Bryce McKinlay committed -
* config/rs6000/rs6000.c (output_cbranch): Escape '%' characters so output_operand doesn't see them. From-SVN: r34244
Geoff Keating committed
-
- 28 May, 2000 16 commits
-
-
* lcm.c (make_preds_opaque): Fix comment. (optimize_mode_switching): Use NORMAL_MODE instead of MODE_USES_IN_EXIT_BLOCK. Change leftover instance of FP_MODE_NONE to no_mode. Rename MODE_AT_ENTRY to NORMAL_MODE. Handle insertions before an existing NOTE_INSN_BASIC_BLOCK. * tm.texi (OPTIMIZE_MODE_SWITCHING): Refer to NORMAL_MODE. (MODE_USES_IN_EXIT_BLOCK): Delete. (MODE_AT_ENTRY) Rename to NORMAL_MODE. * sh.h (MODE_USES_IN_EXIT_BLOCK): Delete. (MODE_AT_ENTRY): Rename to NORMAL_MODE. (MODE_NEEDED): Don't look for USE. (EPILOGUE_USES): Define. From-SVN: r34243
Clinton Popetz committed -
From-SVN: r34242
Alexandre Oliva committed -
From-SVN: r34241
Philippe De Muyter committed -
2000-05-28 Gabriel Dos Reis <gdr@codesourcery.com> * toplev.h (skip_leading_substring): New macro. * toplev.c (decode_f_option): Use skip_leading_substring instead of strncmp. (decode_W_option): Likewise. cp/ 2000-05-28 Gabriel Dos Reis <gdr@codesourcery.com> * decl2.c (lang_decode_option): Use skip_leading_substring instead of plain strncmp. From-SVN: r34240
Gabriel Dos Reis committed -
From-SVN: r34239
Nick Clifton committed -
* regclass.c (record_operand_costs): Protect reg_changes_size with CLASS_CANNOT_CHANGE_SIZE. From-SVN: r34238
Richard Henderson committed -
From-SVN: r34237
Richard Henderson committed -
From-SVN: r34236
Alexandre Oliva committed -
* g++.old-deja/g++.law/refs4.C: Mark as XFAIL. * g++.old-deja/g++.law/temps4.C: Likewise. From-SVN: r34235
Alexandre Oliva committed -
From-SVN: r34234
Alexandre Oliva committed -
* g++.old-deja/g++.brendan/code-gen4.C: Include stdio.h and stdlib.h. Call abort() on failure. * g++.old-deja/g++.law/refs4.C: Likewise. * g++.old-deja/g++.law/temps4.C: Likewise. * g++.old-deja/g++.brendan/complex1.C: Don't assume argc is 1. * gcc.c-torture/execute/20000112-1.c: Include string.h. From-SVN: r34233
Alexandre Oliva committed -
* operators.def (<?): Duplicated, should have been... (>?): this. Fixed. From-SVN: r34232
Alexandre Oliva committed -
2000-05-28 Toon Moene <toon@moene.indiv.nluug.nl> * bugs.texi: Note that debugging information for common block items is emitted now. * news.texi: Ditto. From-SVN: r34231
Toon Moene committed -
* function.c (diddle_return_value): A pcc-style struct return returns a pointer. From-SVN: r34230
Richard Henderson committed -
From-SVN: r34229
Jeff Law committed -
* cppfiles.c: Read files in, using mmap if possible, then prescan them separately. (read_file, read_with_read): New functions. * cpplex.c: Don't define UCHAR_MAX. (_cpp_read_and_prescan): Rename to _cpp_prescan. Don't read the file here. * cppinit.c (handle_option): Automatically define __cplusplus, __OBJC__, __ASEEMBLER__, _LANGUAGE_FORTRAN here when we see the respective -lang switch. * cpphash.h (enum node_type, struct hashnode, _cpp_lookup prototype): Move to... * cpplib.h: ... here. Rename struct hashnode to struct cpp_hashnode and give it a typedef. Rename _cpp_lookup to cpp_lookup. Add 'fe_value' slot, a union tree_node *. From-SVN: r34228
Zack Weinberg committed
-