aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2001-01-15ecos.exp (conpr-1.C): XFAIL if compile emits message containing "init_priority".Jeffrey Oldham3-4/+26
2001-01-14 Jeffrey Oldham <oldham@codesourcery.com> * g++.dg/special/ecos.exp (conpr-1.C): XFAIL if compile emits message containing "init_priority". (conpr-2.C): Likewise. (conpr-3.C): Likewise. * g++.old-deja/g++.ext/initp1.C: XFAIL for Irix. From-SVN: r39024
2001-01-15defaults.h (SUPPORTS_INIT_PRIORITY): New macro to indicate the linker ↵Jeffrey Oldham7-6/+46
supports the init_priority C++ attribute. gcc/ChangeLog: 2001-01-14 Jeffrey Oldham <oldham@codesourcery.com> * defaults.h (SUPPORTS_INIT_PRIORITY): New macro to indicate the linker supports the init_priority C++ attribute. * tm.texi (SUPPORTS_INIT_PRIORITY): Documentation for new macro. * config/mips/iris6.h (SUPPORTS_INIT_PRIORITY): Indicate Irix linker does not support init_priority C++ attribute. gcc/cp/ChangeLog: 2001-01-14 Jeffrey Oldham <oldham@codesourcery.com> * tree.c: Add defaults.h (cp_valid_lang_attribute): Incorporate SUPPORTS_INIT_PRIORITY. * Make-lang.in (cp/tree.o): Add defaults.h. From-SVN: r39023
2001-01-1520010114-2.c: New test.Franz Sirl2-0/+35
2001-01-14 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * gcc.c-torture/execute/20010114-2.c: New test. From-SVN: r39022
2001-01-14* Makefile.in (libgcc1-test.o): Depends on stmp-int-hdrs.J"orn Rennecke2-1/+5
From-SVN: r39021
2001-01-14c-parse.in (finish_parse): Add comment about cpp_destroy.Neil Booth6-8/+26
* c-parse.in (finish_parse): Add comment about cpp_destroy. * cp/lex.c (finish_parse): Similarly. * cppinit.c (cpp_cleanup): Rename cpp_destroy for clarity. Return the number of errors encountered. * cpplib.h (cpp_cleanup): Rename cpp_destroy, return int. * cppmain.c (main): Don't call cpp_destroy. From-SVN: r39020
2001-01-14Various patches to emit better messages on verification errors.Per Bothner4-78/+171
From-SVN: r39019
2001-01-14texi2pod.pl: Require at least perl 5.6.0.Joseph Myers3-260/+255
contrib: * texi2pod.pl: Require at least perl 5.6.0. gcc: * configure.in: Require at least perl 5.6.0 to regenerate manpages. * configure: Regenerate. From-SVN: r39018
2001-01-14parse.y (java_complete_lhs case EXPR_WITH_FILE_LOCATION): If body is ↵Per Bothner3-3/+12
constant, return body without wrapper. * parse.y (java_complete_lhs case EXPR_WITH_FILE_LOCATION): If body is constant, return body without wrapper. (Improves constant folding.) * lex.c (build_wfl_node): Clear TREE_TYPE from returned node. From-SVN: r39017
2001-01-14genrecog.c (DT_veclen_ge): New.Richard Henderson2-2/+33
* genrecog.c (DT_veclen_ge): New. (add_to_sequence) [MATCH_PARALLEL]: Generate one. (maybe_both_true_2): Simplify DT_veclen vs DT_veclen_ge. (nodes_identical_1): Handle DT_veclen_ge. (write_cond, debug_decision_2): Likewise. From-SVN: r39016
2001-01-14arm.md (ldmsi_postinc, [...]): Delete.Richard Earnshaw2-72/+160
* arm.md (ldmsi_postinc, ldmsi, stmsi_postinc, smsi): Delete. Replace with ... (ldmsi_postinc[432], ldmsi[432], stmsi_postinc[432], stmsi[432]): New. From-SVN: r39015
2001-01-14expr.c (expand_java_field_op): Assigning to a final field outside an ↵Per Bothner2-2/+8
initializer does not violate JVM spec... * expr.c (expand_java_field_op): Assigning to a final field outside an initializer does not violate JVM spec, so should be warning, not error. (Sun's verifier does not complain - though MicroSoft's does.) From-SVN: r39013
2001-01-14cppmain.c (do_preprocessing): New function; most of the old main.Neil Booth2-51/+80
* cppmain.c (do_preprocessing): New function; most of the old main. (main): Call it to do most of the work. (cb): Move from global scope to set_callbacks (). (setup_callbacks): Get the callback pointer. (general_init, printer_init): Clean up code and comments. From-SVN: r39012
2001-01-14semi.h (ASM_SPEC): Pass -k to the assembler when compiling PIC.Richard Earnshaw2-2/+15
* config/arm/semi.h (ASM_SPEC): Pass -k to the assembler when compiling PIC. From-SVN: r39011
2001-01-14h8300.c (get_shift_alg): Update comments.Kazu Hirata2-4/+8
2001-01-14 Kazu Hirata <kazu@hxi.com> * config/h8300/h8300.c (get_shift_alg): Update comments. From-SVN: r39010
2001-01-1420010114-1.c: New test.Joseph Myers7-0/+67
* gcc.c-torture/compile/20010114-1.c: New test. * gcc.c-torture/compile/20010114-1.x: Xfail. * gcc.c-torture/compile/20010114-2.c: New test. * gcc.c-torture/execute/20010114-1.c: New test. * gcc.dg/trunc-1.c: New test. * gcc.dg/uninit-B.c: New test. From-SVN: r39009
2001-01-14ggc-page.c (alloc_annon): Call perror and correctly call exit.Richard Kenner2-8/+17
* ggc-page.c (alloc_annon): Call perror and correctly call exit. (alloc_page, ggc_alloc): Add casts to remove warnings. From-SVN: r39008
2001-01-14combine.c (simplify_comparison): Don't change `code' when can't reverse ↵Geoffrey Keating2-5/+16
comparison. * combine.c (simplify_comparison): Don't change `code' when can't reverse comparison. From-SVN: r39007
2001-01-14rtlanal.c (computed_jump_p_1): Rename from jmp_uses_reg_or_mem; update all ↵Richard Henderson2-15/+20
call sites. * rtlanal.c (computed_jump_p_1): Rename from jmp_uses_reg_or_mem; update all call sites. Return true for all non-label constants. From-SVN: r39006
2001-01-14i386.c (ix86_expand_compare): Add bypass_test and second_test parameters.Jan Hubicka4-13/+155
* i386.c (ix86_expand_compare): Add bypass_test and second_test parameters. (ix86_expand_branch): Update. (ix86_expand_setcc): Update to handle multiple test conditions. (expand_int_movcc): Likewise. (expand_fp_movcc): Likewise. * i386-protos.h (ix86_expand_compare): New. * i386.md (andqi_?_slp, orqi_?_slp): New. (conditional trap expander): Update call to ix86_expand_compare. From-SVN: r39005
2001-01-14vax.h (RETURN_POPS_ARGS): Max at 255 arguments.Richard Henderson3-44/+53
* config/vax/vax.h (RETURN_POPS_ARGS): Max at 255 arguments. * config/vax/vax.md (call_pop): Turn into an expander. (call_value_pop): Likewise. (call, call_value): New. From-SVN: r39004
2001-01-14* config/vax/vax.md (indirect_jump): Use register_operand.Richard Henderson2-1/+3
From-SVN: r39003
2001-01-14vax.md: Use nonimmediate_operand instead of general_operand in destinations.Richard Henderson2-106/+111
* config/vax/vax.md: Use nonimmediate_operand instead of general_operand in destinations. From-SVN: r39002
2001-01-14Daily bump.Jeff Law2-2/+2
From-SVN: r39001
2001-01-14i386.c (ix86_split_fp_branch): Remove unused variables.Andreas Jaeger3-19/+36
* config/i386/i386.c (ix86_split_fp_branch): Remove unused variables. (ix86_fp_compare_mode): Add unused attribute. (ix86_expand_fp_movcc): Remove unused variable. (ix86_expand_builtin): Make fcode unsigned. * expr.c (MOVE_BY_PIECES_P): Cast MOVE_RATIO to unsigned. (expand_expr): Add cast to avoid signed warning. (store_field): Likewise. (store_constructor_field): Likewise. (store_constructor): Likewise. (store_expr): Likewise. (clear_storage): Likewise. (emit_group_store): Likewise. (emit_group_load): Likewise. From-SVN: r39000
2001-01-14Expext the bf64-1.c test to fail for the M*CoreNick Clifton2-0/+13
From-SVN: r38999
2001-01-13c-common.c: Move format checking code to ...Joseph Myers7-2457/+2537
* c-common.c: Move format checking code to ... * c-format.c: ... here. New file. Reorder some functions and declarations. (decl_handle_format_attribute, decl_handle_format_arg_attribute): New functions. * c-common.h (decl_handle_format_attribute, decl_handle_format_arg_attribute): Declare. * Makefile.in (C_AND_OBJC_OBJS): Add c-format.o. (c-common.o): Adjust dependencies. (c-format.o): New list of dependencies. cp: * Make-lang.in (CXX_C_OBJS): Add c-format.o. From-SVN: r38998
2001-01-13* gcc.c-torture/compile/20010113-1.c: New test.Joseph Myers2-0/+19
From-SVN: r38997
2001-01-13unroll.c (loop_iterations): If we cannot prove iteration variable is set ↵Jakub Jelinek2-0/+20
once in each iteration, punt. * unroll.c (loop_iterations): If we cannot prove iteration variable is set once in each iteration, punt. From-SVN: r38996
2001-01-14avr.md ("strlenhi"): Remove clobber of input address.Denis Chertykov2-7/+11
* config/avr/avr.md ("strlenhi"): Remove clobber of input address. (*strlenhi): Remove clobber (which was buggy) of output address. From-SVN: r38995
2001-01-13* gcc.c-torture/compile/20001212-1.c: New test.Jakub Jelinek2-0/+14
From-SVN: r38994
2001-01-13gcc_update: Add gcc/gcc.1 to generated files.Joseph Myers8-4701/+7815
contrib: * gcc_update: Add gcc/gcc.1 to generated files. * texi2pod.pl: Handle @r and @gccoptlist. Handle @gol. Handle discarding to end of sentence with @xref where the sentence has an interior "." in markup, and handle discarding parentheses around such a sentence. gcc: * Makefile.in (generated-manpages): Add gcc.1 ($(srcdir)/gcc.1): New target. (maintainer-clean): Delete $(srcdir)/gcc.1. * gcc.texi: Add macros @gccoptlist and @gol. * invoke.texi: Include option summary in manpage. Mark up option summary with @gccoptlist and @gol. Use @r in one place where appropriate. * texinfo.tex: Update to version 2000-12-11.07 from ftp.gnu.org. * gcc.1: Generate from invoke.texi. gcc/cp: * g++.1: Change to be ".so man1/gcc.1". From-SVN: r38993
2001-01-13ggc-page.c (USING_MALLOC_PAGE_GROUPS): New; set if not using mmap.Richard Henderson5-286/+460
* ggc-page.c (USING_MALLOC_PAGE_GROUPS): New; set if not using mmap. (struct page_entry): Add group member. (struct page_group): New. (struct globals): Add page_groups member. (alloc_anon): Only define for using mmap; remove valloc call. (page_group_index): New. (set_page_group_in_use): New. (clear_page_group_in_use): New. (alloc_page): Implement USING_MALLOC_PAGE_GROUPS. (free_page, release_pages): Likewise. * configure.in (with-gc): Default to ggc-page always. From-SVN: r38992
2001-01-13reload1.c (replace_pseudos_in_call_usage): Use reg_equiv_constant and ↵Alexandre Oliva2-5/+18
reg_equiv_address, and don't try regno_reg_rtx first. * reload1.c (replace_pseudos_in_call_usage): Use reg_equiv_constant and reg_equiv_address, and don't try regno_reg_rtx first. From-SVN: r38991
2001-01-13ggc-page.c (alloc_page): Round up allocation size to one page.Richard Henderson2-4/+12
* ggc-page.c (alloc_page): Round up allocation size to one page. Set e->order on extra pages. From-SVN: r38990
2001-01-13genrecog.c (nodes_identical): Expand commentary.Richard Henderson2-3/+20
* genrecog.c (nodes_identical): Expand commentary. (write_switch): Watch out for identical nodes. From-SVN: r38989
2001-01-13widestr1.c: Update.Neil Booth3-9/+7
* gcc.dg/cpp/widestr1.c: Update. * gcc.dg/cpp/prag-imp.c: Remove. From-SVN: r38988
2001-01-13cppfiles.c (_cpp_fake_include): New function.Neil Booth5-50/+40
* cppfiles.c (_cpp_fake_include): New function. * cpphash.h (_cpp_fake_include): New. * cpplib.c (do_line): Call _cpp_fake_include when entering header files in preprocessed input. * cppmain.c (cb_pragma_implementation): Remove handling. (setup_callbacks): Don't register pragmas. From-SVN: r38987
2001-01-13* extend.texi: Update for CPP.Neil Booth2-41/+81
From-SVN: r38986
2001-01-13reload1.c: Add prototype for replace_pseudos_in_call_usage.Andreas Jaeger3-20/+30
* reload1.c: Add prototype for replace_pseudos_in_call_usage. * regmove.c: Add prototype for replace_in_call_usage. From-SVN: r38985
2001-01-13cpplib.h (cpp_pool, [...]): Move to cpphash.h (struct macro_args): Delete.Neil Booth3-269/+277
* cpplib.h (cpp_pool, mi_state, mi_ind, struct cpp_macro, struct cpp_chunk, struct htab, struct toklist, struct cpp_context, CPP_STACK_MAX, struct lexer_state, struct spec_nodes, struct cpp_reader, CPP_OPTION, CPP_BUFFER, CPP_BUF_LINE, CPP_BUF_COL, CPP_BUF_COLUMN, U, ustrcmp, ustrncmp, ustrlen, uxstrdup, ustrchr, ufputs): Move to cpphash.h (struct macro_args): Delete. * cpphash.h: See above. From-SVN: r38984
2001-01-13cppmain.c (struct printer): Remove no_line_dirs.Neil Booth2-41/+56
* cppmain.c (struct printer): Remove no_line_dirs. (options, cb): New. (main, setup_callbacks, scan_buffer, printer_init, cb_define) : Use options rather than CPP_OPTION. (setup_callbacks): Use cb rather than pfile->cb. (main): No need to check for a buffer. Use cpp_errors. (printer_init): Don't set no_line_dirs. (maybe_print_line): Use options not no_line_dirs. (cb_file_change): Don't call print_line if -P. From-SVN: r38983
2001-01-13c-lex.c (init_c_lex): Use cpp_get_callbacks to set callbacks.Neil Booth5-11/+21
* c-lex.c (init_c_lex): Use cpp_get_callbacks to set callbacks. * c-parse.in (finish_parse): Use cpp_errors. (__yylex): Use return value of cpp_pop_buffer. * cp/lex.c (finish_parse): Use cpp_errors. * cp/spew.c (read_token): Use return value of cpp_pop_buffer. From-SVN: r38982
2001-01-13* README.AVR: URLs corrected.Denis Chertykov2-5/+12
From-SVN: r38981
2001-01-13c-decl.c (start_function): Don't warn if old prototype is builtin that's not ↵Richard Kenner4-7/+24
in C's namespace. * c-decl.c (start_function): Don't warn if old prototype is builtin that's not in C's namespace. * libgcc2.c (_varargs): Update definition of __builtin_saveregs. (_bb): Add prototype for ctime. * config/alpha/osf.h (TRANSFER_FROM_TRAMPOLINE): Add missing protos. From-SVN: r38980
2001-01-13i386.c (ix86_fp_comparison_arithmetics_cost, [...]): New functions.Jan Hubicka6-79/+274
* i386.c (ix86_fp_comparison_arithmetics_cost, ix86_fp_comparison_fcomi_cost, ix86_fp_comparison_sahf_cost, ix86_fp_comparison_cost): New functions. (ix86_expand_fp_compare): Use the costs to choose best bethod; add two new parameters SECOND_TEST and BYPASS_TEST; allow generating two-branch sequences; make static. (ix86_use_fcomi_compare): Do decision according to the costs. (split_fp_branch): New. * i386.md (compare-and-branch patterns): Use split_fp_branch. * i386-protos.h (ix86_expand_fp_compare): Remove (ix86_split_fp_branch): Declare. * i386.h (PREDICATE_CODES): Update codes from fcmov_comparison_operand and ix86_comparison_operator. * i386.c (ix86_prepare_fp_compare_args): Try to rearange the comparison to make it cheaper. * i386.c (put_condition_code): Output properly the unordered/ordered compares in fp case. (ix86_expand_fp_movcc): Use ix86_expand_compare infrastructure. * tm.texi (REVERSE_CONDITION): Document. * i386.c (ix86_fp_compare_mode): Simplify; return always CCFPmode in -ffast-math mode. * i386.h (REVERSE_CONDITION, REVERSIBLE_CC_MODE): New macro. From-SVN: r38979
2001-01-13Daily bump.Jeff Law2-2/+2
From-SVN: r38978
2001-01-13* config/sh/sh.c (sh_expand_epilogue): Use PR explicitly.Alexandre Oliva2-0/+6
From-SVN: r38977
2001-01-13sh.c (sh_expand_prologue): Let the second toggle_sz be optimized away.Alexandre Oliva2-1/+13
* config/sh/sh.c (sh_expand_prologue): Let the second toggle_sz be optimized away. From-SVN: r38976
2001-01-13Don't omit century in list of copyright yearsAlexandre Oliva1-1/+2
From-SVN: r38975
2001-01-13* config/sh/sh.c (mova_p): Fix test for mova_const.Alexandre Oliva2-1/+5
From-SVN: r38974