- 11 Sep, 2004 35 commits
-
-
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 -
From-SVN: r87338
Geoffrey Keating committed -
* 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. From-SVN: r87337
James E Wilson committed -
* gimplify.c (create_tmp_var_raw): Don't name otherwise-nameless temporary variables. From-SVN: r87335
Geoffrey Keating committed -
From-SVN: r87333
GCC Administrator committed -
re PR c/16046 (ICE tree check: expected tree_list, have identifier_node in decl_attributes, at attribs.c:151) 2004-09-10 Eric Christopher <echristo@redhat.com> 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. From-SVN: r87330
Eric Christopher committed
-
- 10 Sep, 2004 5 commits
-
-
* c-common.h (struct c_fileinfo): Comment moved here from cp-tree.h. (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. From-SVN: r87329
Zack Weinberg committed -
* c-tree.h (struct c_declspecs): Remove typedef_decl. Add 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. From-SVN: r87326
Joseph Myers committed -
From-SVN: r87324
Kazu Hirata committed -
[gcc/cp/ChangeLog] 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. From-SVN: r87323
Ziemowit Laski committed -
PR c++/17386 * call.c (build_vfield_ref): Move... * class.c (build_vfield_ref): ... here. Convert datum to the primary base containing the vptr. (make_new_vtable): Simplify build_primary_vtable arguments. (finish_struct_1): Do not duplicate TYPE_VFIELD. * typeck.c (build_class_member_access_expr): Don't warn for null object access to base fields. From-SVN: r87322
Richard Henderson committed
-