summaryrefslogtreecommitdiff
path: root/gcc
Commit message (Collapse)AuthorAgeFilesLines
* * ggc-common.c (cmp_statistics): Fix sorting.hubicka2004-09-122-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87404 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/16795dje2004-09-122-1/+19
| | | | | | | | * expmed.c (expand_divmod): If cheap power of 2 divide is available, use it for negative constant as well. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87403 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-09-12 Andrew Pinski <apinski@apple.com>pinskia2004-09-122-5/+11
| | | | | | | | * darwin.h (ASM_OUTPUT_COMMON): Make sure we do not have a size of 0. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87401 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-09-12 Andrew Pinski <apinski@apple.com>pinskia2004-09-122-18/+4
| | | | | | | * tree-chrec.c (initialize_scalar_evolutions_analyzer): Remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87400 138bc75d-0d04-0410-961f-82ee72b054a4
* * lib/fortran-torture.exp (add-ieee-options): Replace ieee-options;rth2004-09-126-13/+20
| | | | | | | | | | | do the uplevel thing and update additional_flags directly. * gfortran.fortran-torture/execute/intrinsic_fraction_exponent.x, gfortran.fortran-torture/execute/intrinsic_nearest.x, gfortran.fortran-torture/execute/intrinsic_set_exponent.x, gfortran.fortran-torture/execute/nan_inf_fmt.x: Update to match. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87399 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/i386/i386.c (ix86_split_ashldi): Special case op1 as onerth2004-09-124-140/+170
| | | | | | | | | | | | | | | | | | | | | or minus one. (ix86_split_ashrdi, ix86_split_lshrdi): Clean up conditions for post-reload, and scratch NULL. * config/i386/i386.md (testqi_1): Use FLAGS_REG name. (x86_shift_adj_2): Use ix86_expand_clear. (ashldi3): Remove CMOVE expansion difference. (ashldi3_1): Remove. (*ashldi3_1): Rename from *ashldi3_2. Use reg_or_pm1_operand and add constraints for immediates. New peephole for split-with-temp. Run splitter after peep2 pass. (ashrdi3, ashrdi3_1, ashrdi3_2): Similarly. (lshrdi3, lshrdi3_1, lshrdi3_2): Similarly. (setcc_2): Rename with *. * config/i386/predicates.md (reg_or_pm1_operand): New. (ashldi_input_operand): New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87398 138bc75d-0d04-0410-961f-82ee72b054a4
* * print-rtl.c (print_decl_name): New.rth2004-09-122-6/+28
| | | | | | | (print_mem_expr): Use it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87395 138bc75d-0d04-0410-961f-82ee72b054a4
* PR 17186, part deuxrth2004-09-122-10/+17
| | | | | | | | * except.c (sjlj_emit_function_exit): Fix logic locating sjlj_exit_after in final block. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87394 138bc75d-0d04-0410-961f-82ee72b054a4
* * g++.dg/parse/break-in-for.C: Fix for -ansi -pedantic-errors.steven2004-09-122-2/+7
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87387 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-09-12 Toon Moene <toon@moene.indiv.nluug.nl>toon2004-09-125-38/+16
| | | | | | | | | | | | | | | | * common.opt: Remove flags -fmove-all-movables and -freduce-all-givs. * loop-invariant.c (find_invariants_to_move): Remove all uses of flag_move_all_movables. * loop.c (move_movables): Remove all uses of flag_move_all_movables. (strength_reduce): Remove all uses of flag_reduce_all_givs. * doc/invoke.texi: Remove documentation of flags -fremove-all-movables and -freduce-all-givs. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87386 138bc75d-0d04-0410-961f-82ee72b054a4
* * pt.c (cur_stmt_expr): Move from tsubst_expr.rth2004-09-123-18/+35
| | | | | | | | (tsubst_expr) <case STMT_EXPR>: Move ... (tsubst_copy_and_build): ... here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87385 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2004-09-121-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87380 138bc75d-0d04-0410-961f-82ee72b054a4
* PR middle-end/17411sayle2004-09-114-1/+33
| | | | | | | | | | * tree-sra.c (generate_element_zero): Revert recent build_int_cst change. elt->type may be a floating point type, so use fold_convert. * g++.dg/opt/pr17411-1.C: New test case. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87377 138bc75d-0d04-0410-961f-82ee72b054a4
* * c-tree.h (enum c_storage_class): New.jsm282004-09-111-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | (struct c_declspecs): Add storage_class, inline_p and thread_p. * c-decl.c (shadow_tag_warned): Give errors for "inline" in empty declarations and "auto" or "register" in file scope empty declarations. Give more specific warnings for other cases of storage class specifiers in empty declarations. (grokdeclarator): Update for new structures. Don't check for multiple storage classes. Diagnose file-scope "register" if pedantic. (build_null_declspecs): Update. (declspecs_add_scspec): Update. Diagnose multiple storage class specifiers and invalid uses of "__thread". testsuite: * gcc.dg/declspec-4.c, gcc.dg/declspec-5.c, gcc.dg/declspec-6.c, gcc.dg/tls/diag-2.c: Update expected messages. * gcc.dg/991209-1.c: Specify compilation options. Update expected messages. * gcc.dg/pr14289-2.c, gcc.dg/pr14289-3.c: Remove. * gcc.dg/declspec-7.c, gcc.dg/declspec-8.c, gcc.dg/declspec-9.c, gcc.dg/declspec-10.c, gcc.dg/declspec-11.c, gcc.dg/tls/diag-4.c, gcc.dg/tls/diag-5.c: New tests. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87376 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/darwin.c (machopic_validate_stub_or_non_lazy_ptr): Markgeoffk2004-09-112-3/+11
| | | | | | | the thing referenced as used, not the stub itself. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87375 138bc75d-0d04-0410-961f-82ee72b054a4
* * c-tree.h (enum c_storage_class): New.jsm282004-09-1117-158/+449
| | | | | | | | | | | | | | | | | | | | | | | | | | | (struct c_declspecs): Add storage_class, inline_p and thread_p. * c-decl.c (shadow_tag_warned): Give errors for "inline" in empty declarations and "auto" or "register" in file scope empty declarations. Give more specific warnings for other cases of storage class specifiers in empty declarations. (grokdeclarator): Update for new structures. Don't check for multiple storage classes. Diagnose file-scope "register" if pedantic. (build_null_declspecs): Update. (declspecs_add_scspec): Update. Diagnose multiple storage class specifiers and invalid uses of "__thread". testsuite: * gcc.dg/declspec-4.c, gcc.dg/declspec-5.c, gcc.dg/declspec-6.c, gcc.dg/tls/diag-2.c: Update expected messages. * gcc.dg/991209-1.c: Specify compilation options. Update expected messages. * gcc.dg/pr14289-2.c, gcc.dg/pr14289-3.c: Remove. * gcc.dg/declspec-7.c, gcc.dg/declspec-8.c, gcc.dg/declspec-9.c, gcc.dg/declspec-10.c, gcc.dg/declspec-11.c, gcc.dg/tls/diag-4.c, gcc.dg/tls/diag-5.c: New tests. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87374 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.dg/20040910-1.c: Correct dg-error regexp.zack2004-09-112-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87373 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree.c (tree_code_size): New function, bulk of code from tree_size.zack2004-09-114-36/+56
| | | | | | | | | (tree_size, make_node): Use it. * tree-ssa-pre.c (init_pre): Use it. * tree.h: Prototype it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87371 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-09-11 Andrew Pinski <apinski@apple.com>pinskia2004-09-112-1/+6
| | | | | | | | * Make-lang.in (java/ggc-none.c): Change dependency for ggc.h into $(GGC_H). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87370 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree-cfg.c (set_bb_for_stmt): Use PHI_BB.rakdver2004-09-118-51/+129
| | | | | | | | | | | | | | | | | | | | | | | * tree-dfa.c (compute_immediate_uses, add_immediate_use, redirect_immediate_use): Use PHI_DF. * tree-flow-inline.h (stmt_ann): Abort on phi nodes. (bb_for_stmt): Use PHI_BB. (get_immediate_uses): Use PHI_DF. * tree-ssa-dse.c (max_stmt_uid): New variable. (get_stmt_uid): New function. (dse_optimize_stmt, dse_record_phis, tree_ssa_dse): Do not use phi node annotations. * tree-ssa-loop-im.c (LIM_DATA): Do not use phi statement annotations. (max_uid): Renamed to max_stmt_uid. (get_stmt_uid): New function. (maybe_queue_var, single_reachable_address, determine_lsm): Do not use phi node annotations. * tree-ssa.c (replace_immediate_uses): Do not use phi node annotations. * tree.h (PHI_BB, PHI_DF): New accessor functions. (struct tree_phi_node): Add bb and df fields. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87369 138bc75d-0d04-0410-961f-82ee72b054a4
* PR middle-end/17416rth2004-09-112-6/+8
| | | | | | | | * cfgexpand.c (expand_used_vars_for_block): Fix off-by-one bug in conflict loop. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87366 138bc75d-0d04-0410-961f-82ee72b054a4
* * i386.h (MODE_NEEDED): Calls need UNINITIALIZED mode; add comment.hubicka2004-09-113-4/+13
| | | | | | | | (EMIT_MODE_SET): UNINITIALIZED mode needs no set. * i386.md (i387_cw): Add 'uninitialized' mode. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87365 138bc75d-0d04-0410-961f-82ee72b054a4
* * profile.c (BB_TO_GCOV_INDEX): move more to the front.hubicka2004-09-113-59/+151
| | | | | | | | | | (output_location): Break out from .... (branch_prob): ... here; handle gcov output on trees. * toplev.c (process_options): No longer be sorry about coverage for trees. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87364 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/17412steven2004-09-116-10/+53
| | | | | | | | | | | | | | | | | | * fold-const.c (fold): Do not try to fold the operand of a CLEANUP_POINT_EXPR if that operand does itself not have any operands. testsuite/ * g++.dg/parse/break-in-for.C: New test. PR middle-end/17417 * langhooks.c (lhd_decl_printable_name): Make sure that this function is called with is a decl node that has an identifier. * tree-pretty-print.c (dump_function_name): New function to wrap PRINT_FUNCTION_NAME and dump_decl_name. (print_call_name): Use it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87363 138bc75d-0d04-0410-961f-82ee72b054a4
* * Make-lang.in (java/win32-host.o): Add dependency onmembar2004-09-113-1/+9
| | | | | | | | coretypes.h. * win32-host.c: Add includes for coretypes.h, jcf.h git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87360 138bc75d-0d04-0410-961f-82ee72b054a4
* * Make-lang.in (GCJH_OBJS): Change dependency frommembar2004-09-112-2/+14
| | | | | | | | | ggc-none.o to java/ggc-none.o (JCFDUMP_OBJS): Likewise. (java/ggc-none.o): New target. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87359 138bc75d-0d04-0410-961f-82ee72b054a4
* * ggc-none.c: Include "bconfig.h" if -DGENERATOR_FILE,membar2004-09-112-3/+13
| | | | | | | "config.h" if not. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87358 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree-ssa-alias.c (collect_points_to_info_r): Handlejakub2004-09-114-4/+39
| | | | | | | | | | pointing to PTR + OFFSET as PTR, not as pointing to PTR or pointing to OFFSET. * gcc.dg/tree-ssa/20040911-1.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87357 138bc75d-0d04-0410-961f-82ee72b054a4
* * expr.c (expand_expr_addr_expr_1) Rename from expand_expr_addr_expr.rth2004-09-112-7/+40
| | | | | | | | | (expand_expr_addr_expr): New function. Take ADDR_EXPR instead of the operand of the ADDR_EXPR. (expand_expr_real_1): Update to match. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87355 138bc75d-0d04-0410-961f-82ee72b054a4
* Add PR target/17277 to ChangeLog entry.dje2004-09-111-0/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87354 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/rs6000/aix.h (MD_FROB_UPDATE_CONTEXT): Use __64BIT__ todje2004-09-112-1/+6
| | | | | | | choose 64-bit version. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87352 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c/17396rth2004-09-112-0/+13
| | | | | | | * c-typeck.c (build_unary_op): Add legacy offsetof hack. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87351 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.c-torture/execute/991118-1.x: Delete, PR 16437 is fixed.aj2004-09-113-27/+5
| | | | | | | * gcc.c-torture/execute/bf64-1.x: Remove XFAIL on x86-64. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87350 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/cfg.texi, doc/hostconfig.texi, doc/install.texi,kazu2004-09-118-24/+30
| | | | | | | | doc/invoke.texi, doc/md.texi, doc/tm.texi, doc/tree-ssa.texi: Insert @: after i.e. or e.g. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87346 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.target/frv: New directory of FR-V-specific tests.rsandifo2004-09-1123-0/+700
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87345 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree-pretty-print.c (dump_decl_name): Print unnamed decls asgeoffk2004-09-112-2/+7
| | | | | | | D.xxx rather than <Dxxx>. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87344 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.ac (AC_MSG_CHECKING(what linker to use)):nemet2004-09-113-2/+10
| | | | | | | | in_tree_ld_is_elf should be true for LynxOS. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87343 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (all.cross): Add srcextra.nemet2004-09-112-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87342 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix typos.wilson2004-09-112-2/+5
| | | | | | | | * Makefile.in (LIBGCC_DEPS): Delete duplicate stmp-int-hdrs reference. (stmp-fixproto): Change stmp-int-headers to stmp-int-hdrs in comment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87341 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix excess errors problem for invalid vector testcase.wilson2004-09-114-1/+11
| | | | | | | | | * convert.c (convert_to_vector): Replace recursive call with error_mark_node. * gcc.dg/convert-vec-1.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87340 138bc75d-0d04-0410-961f-82ee72b054a4
* PR middle-end/17024sayle2004-09-114-13/+59
| | | | | | | | | | * fold-const.c (fold_cond_expr_with_comparison): Handle unordered floating point comparison operators. Change aborts to gcc_asserts. * gcc.dg/pr17024-1.c: New test case. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87339 138bc75d-0d04-0410-961f-82ee72b054a4
* * final.c (output_asm_insn): Correct problem with -fverbose-asm.geoffk2004-09-112-2/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87338 138bc75d-0d04-0410-961f-82ee72b054a4
* Add CONST1_RTX (vector mode) support.wilson2004-09-113-15/+49
| | | | | | | | | | | | | | | * emit-rtl.c (gen_const_vector): Renamed from gen_const_vector_0. Add integer argument named constant. Use const_tiny_rtx instead of CONST0_RTX. (gen_rtx_CONST_VECTOR): Rewrite to handle checks for both CONST0_RTX and CONST1_RTX. (init_emit_once): Fix users of gen_const_vector. Set CONST1_RTX for vector types. * expr.c (const_vector_from_tree): Call gen_rtx_CONST_VECTOR instead of gen_rtx_raw_CONST_VECTOR. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87337 138bc75d-0d04-0410-961f-82ee72b054a4
* * gimplify.c (create_tmp_var_raw): Don't name otherwise-namelessgeoffk2004-09-112-1/+5
| | | | | | | temporary variables. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87335 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2004-09-111-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87333 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-09-10 Eric Christopher <echristo@redhat.com>echristo2004-09-114-9/+21
| | | | | | | | | | | | | PR c/16046 * c-parse.in (attribute): Add NULL_TREE for error case for error recovery. 2004-09-10 Eric Christopher <echristo@redhat.com> * gcc.dg/20040910-1.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87330 138bc75d-0d04-0410-961f-82ee72b054a4
* * c-common.h (struct c_fileinfo): Comment moved here from cp-tree.h.zack2004-09-1012-88/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (extract_interface_info): Delete prototype. * c-decl.c (extract_interface_info): Delete stub. * c-lex.c (get_fileinfo): Initialize file_info_tree here, if it's not already been done ... (init_c_lex): ... not here. (fe_file_change): Don't call extract_interface_info. cp: * cp-tree.h (interface_only, interface_unknown): Delete declarations; comment explaining them moved to c-common.h. * lex.c (interface_only, interface_unknown, extract_interface_info): Delete definitions. (cxx_finish): Don't reset interface_unknown. (handle_pragma_interface): Don't set interface_only and interface_unknown; just the like-named fields in finfo. (handle_pragma_implementation): Adjust comment. * decl2.c (cp_finish_file): Don't reset interface_only and interface_unknown. * method.c (synthesize_method): Don't reset interface_unknown or call extract_interface_info. * pt.c (pop_tinst_level): Don't call extract_interface_info. * decl.c (start_cleanup_fn): Don't save or restore interface_only and interface_unknown. (make_rtl_for_nonlocal_decl): Call get_fileinfo on input_filename and use the result instead of the interface_only/interface_unknown globals. (start_preparsed_function): Likewise. * lex.c (cxx_make_type): Likewise. * semantics.c (begin_class_definition): Likewise. (expand_body): Don't call extract_interface_info. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87329 138bc75d-0d04-0410-961f-82ee72b054a4
* * c-tree.h (struct c_declspecs): Remove typedef_decl. Addjsm282004-09-105-15/+152
| | | | | | | | | | | | | | | | | | typedef_p and typedef_signed_p. * c-decl.c (shadow_tag_warned): Check typedef_p, not typedef_decl. (grokdeclarator): Don't use typedef_decl for warn_deprecated_use. Check typedef_p and typedef_signed_p, not typedef_decl. (grokfield): Check typedef_p, not typedef_decl. (build_null_declspecs): Initialize typedef_p and typedef_signed_p, not typedef_decl. (declspecs_add_type): Set typedef_p and typedef_signed_p, not typedef_decl. testsuite: * gcc.dg/bitfld-9.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87326 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/tm.texi, doc/tree-ssa.texi: Fix typos.kazu2004-09-103-2/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87324 138bc75d-0d04-0410-961f-82ee72b054a4
* [gcc/cp/ChangeLog]zlaski2004-09-102-3/+14
| | | | | | | | | | | 2004-09-10 Ziemowit Laski <zlaski@apple.com> * decl.c (objc_mark_locals_volatile): Make description of routine more descriptive; only mark VAR_DECLs at each binding level. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87323 138bc75d-0d04-0410-961f-82ee72b054a4