- 12 Sep, 2004 8 commits
-
-
* config/i386/i386.c (ix86_split_ashldi): Special case op1 as one 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. From-SVN: r87398
Richard Henderson committed -
* print-rtl.c (print_decl_name): New. (print_mem_expr): Use it. From-SVN: r87395
Richard Henderson committed -
PR 17186, part deux * except.c (sjlj_emit_function_exit): Fix logic locating sjlj_exit_after in final block. From-SVN: r87394
Richard Henderson committed -
2004-09-12 Michael Koch <konqueror@gmx.de> * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces AM_CONFIG_HEADER by AC_CONFIG_FILES. * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure: Regenerate. From-SVN: r87393
Michael Koch committed -
From-SVN: r87387
Steven Bosscher committed -
2004-09-12 Toon Moene <toon@moene.indiv.nluug.nl> * 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. From-SVN: r87386
Toon Moene committed -
* pt.c (cur_stmt_expr): Move from tsubst_expr. (tsubst_expr) <case STMT_EXPR>: Move ... (tsubst_copy_and_build): ... here. From-SVN: r87385
Richard Henderson committed -
From-SVN: r87380
GCC Administrator committed
-
- 11 Sep, 2004 32 commits
-
-
PR middle-end/17411 * 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. From-SVN: r87377
Roger Sayle committed -
* c-tree.h (enum c_storage_class): New. (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. From-SVN: r87376
Joseph Myers committed -
darwin.c (machopic_validate_stub_or_non_lazy_ptr): Mark the thing referenced as used, not the stub itself. * config/darwin.c (machopic_validate_stub_or_non_lazy_ptr): Mark the thing referenced as used, not the stub itself. From-SVN: r87375
Geoffrey Keating committed -
* c-tree.h (enum c_storage_class): New. (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. From-SVN: r87374
Joseph Myers committed -
From-SVN: r87373
Zack Weinberg committed -
* tree.c (tree_code_size): New function, bulk of code from tree_size. (tree_size, make_node): Use it. * tree-ssa-pre.c (init_pre): Use it. * tree.h: Prototype it. From-SVN: r87371
Zack Weinberg committed -
2004-09-11 Andrew Pinski <apinski@apple.com> * Make-lang.in (java/ggc-none.c): Change dependency for ggc.h into $(GGC_H). From-SVN: r87370
Andrew Pinski committed -
* tree-cfg.c (set_bb_for_stmt): Use PHI_BB. * 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. From-SVN: r87369
Zdenek Dvorak committed -
PR middle-end/17416 * cfgexpand.c (expand_used_vars_for_block): Fix off-by-one bug in conflict loop. From-SVN: r87366
Richard Henderson committed -
* i386.h (MODE_NEEDED): Calls need UNINITIALIZED mode; add comment. (EMIT_MODE_SET): UNINITIALIZED mode needs no set. * i386.md (i387_cw): Add 'uninitialized' mode. From-SVN: r87365
Jan Hubicka committed -
* profile.c (BB_TO_GCOV_INDEX): move more to the front. (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. From-SVN: r87364
Jan Hubicka committed -
PR c++/17412 * 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. From-SVN: r87363
Steven Bosscher committed -
PR libgcj/14751 * win32-threads.cc (_Jv_ThreadInitData): Zero out thread handle in newly-allocated _Jv_Thread_t. (_Jv_ThreadDestroyData): Close thread handle. (_Jv_ThreadStart): Remove obsolete comment. Store handle of newly-created thread in _Jv_Thread_t. * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN before including <windows.h> #define _Jv_HaveCondDestroy From-SVN: r87362
Mohan Embar committed -
* java/lang/natThread.cc (finalize_native): Destroy join conditional variable and mutex if these destroy operations are supported. From-SVN: r87361
Mohan Embar committed -
* Make-lang.in (java/win32-host.o): Add dependency on coretypes.h. * win32-host.c: Add includes for coretypes.h, jcf.h From-SVN: r87360
Mohan Embar committed -
* Make-lang.in (GCJH_OBJS): Change dependency from ggc-none.o to java/ggc-none.o (JCFDUMP_OBJS): Likewise. (java/ggc-none.o): New target. From-SVN: r87359
Mohan Embar committed -
* ggc-none.c: Include "bconfig.h" if -DGENERATOR_FILE, "config.h" if not. From-SVN: r87358
Mohan Embar committed -
* tree-ssa-alias.c (collect_points_to_info_r): Handle pointing to PTR + OFFSET as PTR, not as pointing to PTR or pointing to OFFSET. * gcc.dg/tree-ssa/20040911-1.c: New test. From-SVN: r87357
Jakub Jelinek committed -
From-SVN: r87356
Gerald Pfeifer committed -
(expand_expr_addr_expr): New function. Take ADDR_EXPR instead of the operand of the ADDR_EXPR. (expand_expr_real_1): Update to match. From-SVN: r87355
Richard Henderson committed -
From-SVN: r87354
David Edelsohn committed -
* config/rs6000/aix.h (MD_FROB_UPDATE_CONTEXT): Use __64BIT__ to choose 64-bit version. From-SVN: r87352
David Edelsohn committed -
PR c/17396 * c-typeck.c (build_unary_op): Add legacy offsetof hack. From-SVN: r87351
Richard Henderson committed -
* gcc.c-torture/execute/991118-1.x: Delete, PR 16437 is fixed. * gcc.c-torture/execute/bf64-1.x: Remove XFAIL on x86-64. From-SVN: r87350
Andreas Jaeger committed -
* doc/cfg.texi, doc/hostconfig.texi, doc/install.texi, doc/invoke.texi, doc/md.texi, doc/tm.texi, doc/tree-ssa.texi: Insert @: after i.e. or e.g. From-SVN: r87346
Kazu Hirata committed -
From-SVN: r87345
Richard Sandiford committed -
* tree-pretty-print.c (dump_decl_name): Print unnamed decls as D.xxx rather than <Dxxx>. From-SVN: r87344
Geoffrey Keating committed -
* configure.ac (AC_MSG_CHECKING(what linker to use)): in_tree_ld_is_elf should be true for LynxOS. * configure: Regenerate. From-SVN: r87343
Adam Nemet committed -
From-SVN: r87342
Adam Nemet committed -
* Makefile.in (LIBGCC_DEPS): Delete duplicate stmp-int-hdrs reference. (stmp-fixproto): Change stmp-int-headers to stmp-int-hdrs in comment. From-SVN: r87341
James E Wilson committed -
* convert.c (convert_to_vector): Replace recursive call with error_mark_node. * gcc.dg/convert-vec-1.c: New test. From-SVN: r87340
James E Wilson committed -
PR middle-end/17024 * 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. From-SVN: r87339
Roger Sayle committed
-