- 12 Sep, 2004 21 commits
-
-
* c-common.c, c-decl.c, c-lex.c, c-objc-common.c, c-opts.c, c-parse.in, c-pragma.c, c-typeck.c: Use %q, %< and %> for quoting in diagnostics. Use %' for English apostrophes. * c-tree.h (ATTRIBUTE_GCC_CDIAG): Define. (pedwarn_c90, pedwarn_c99): Use it. * c-decl.c (lookup_label): Quote label name in diagnostic. * c-parse.in (yyprint): Use ' instead of ` for left quote. * c-typeck.c (warn_for_assignment): Likewise. testsuite: * g++.dg/warn/Wswitch-1.C, g++.dg/warn/Wswitch-2.C, gcc.dg/Wswitch-2.c, gcc.dg/Wswitch-enum.c, gcc.dg/Wswitch.c, gcc.dg/declspec-9.c, gcc.dg/declspec-10.c, gcc.dg/declspec-11.c, gcc.dg/m-un-2.c, gcc.dg/noreturn-1.c, gcc.dg/wtr-conversion-1.c: Update expected messages. From-SVN: r87413
Joseph Myers committed -
* gcc.dg/asmreg-1.c (__syscall_getdents64): Adjust signedness declaration/use mismatch for dirp parameter. From-SVN: r87412
Hans-Peter Nilsson committed -
* i386.c (x86_schedule): New global variable. (override_options): Disable scheduling when not supported. * i386.h (x86_schedule): Declare. (TARGET_SCHEDULE): New macro. From-SVN: r87411
Jan Hubicka committed -
* javax/naming/CompoundName.java (CompoundName): Don't check for separator in "flat" case. From-SVN: r87410
Tom Tromey committed -
2004-09-12 Andrew Pinski <apinski@apple.com> * lib/objc.exp (objc_target_compile): Look for libobjc-gnu.a also when -fgnu-runtime is passed. From-SVN: r87409
Andrew Pinski committed -
From-SVN: r87408
Richard Henderson committed -
PR c++/16254 * fold-const.c (fold) <case CLEANUP_POINT_EXPR>: Remove. * tree.c, tree.h (has_cleanups): Remove. cp/ * semantics.c (maybe_cleanup_point_expr): Don't call fold. * typeck.c (condition_conversion): Likewise. From-SVN: r87407
Richard Henderson committed -
tree-ssa-loop-manip.c (split_loop_exit_edge): Handle non-ssaname arguments of the phi nodes correctly. * tree-ssa-loop-manip.c (split_loop_exit_edge): Handle non-ssaname arguments of the phi nodes correctly. From-SVN: r87405
Zdenek Dvorak committed -
From-SVN: r87404
Jan Hubicka committed -
re PR middle-end/16795 (PowerPC - Divide sequences by negative power of two could be more efficient) PR target/16795 * expmed.c (expand_divmod): If cheap power of 2 divide is available, use it for negative constant as well. From-SVN: r87403
David Edelsohn committed -
2004-09-12 Andrew Pinski <apinski@apple.com> * darwin.h (ASM_OUTPUT_COMMON): Make sure we do not have a size of 0. From-SVN: r87401
Andrew Pinski committed -
2004-09-12 Andrew Pinski <apinski@apple.com> * tree-chrec.c (initialize_scalar_evolutions_analyzer): Remove. From-SVN: r87400
Andrew Pinski committed -
fortran-torture.exp (add-ieee-options): Replace ieee-options; do the uplevel thing and update additional_flags directly. * lib/fortran-torture.exp (add-ieee-options): Replace ieee-options; 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. From-SVN: r87399
Richard Henderson committed -
* 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 19 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
-