]> gcc.gnu.org Git - gcc.git/blobdiff - gcc/ChangeLog
cgraph.c (create_edge): Fix typo.
[gcc.git] / gcc / ChangeLog
index 372f834b9f5c51e9c4ce9e929efdb3a846087d03..923f25ea6699cbb4a0a5fb17ba18eb4bb9433033 100644 (file)
@@ -1,3 +1,332 @@
+Thu Jul 31 19:49:53 CEST 2003  Jan Hubicka  <jh@suse.cz>
+
+       * cgraph.c (create_edge): Fix typo.
+       * i386.c (pic_symbolic_operand): Reorder tests.
+
+2003-07-31  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * doc/gcov.texi (Invoking Gcov): Describe output name mangling
+       more fully.
+       (Gcov Data Files): Update.
+
+2003-07-31  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
+
+       * config.gcc (alpha*-dec-osf[45]*): Enable POSIX thread support by
+       default.
+
+       * gthr-posix.c: New file.
+       * gthr-posix.h: Define _REENTRANT if missing.
+       Make _LIBOBJC #pragma weak visible with _LIBOBJC_WEAK.
+
+       * config/alpha/t-osf4 (SHLIB_LINK): Hide dummy functions provided
+       by gthr-posix.o.
+       * config/alpha/t-osf-pthread: New file.
+
+       * fixinc/inclhack.def (alpha_pthread): New fix.
+       * fixinc/fixincl.x: Regenerate.
+       * fixinc/tests/base/pthread.h [ALPHA_PTHREAD_CHECK]: New testcase.
+
+       * doc/install.texi (alpha*-dec-osf*): Remove --enable-threads
+       warning.
+       Fixes PR bootstrap/9330.
+
+2003-07-31  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
+
+       * configure.in (gcc_cv_ld_hidden): Also disable on mips-sgi-irix5*
+       without GNU ld.
+       Update comment.
+       * configure: Regenerate.
+
+2003-07-31  Vladimir Makarov  <vmakarov@redhat.com>
+
+        * sched-deps.c (sched_analyze_2): Prevent interblock move of CC0
+        setter.
+
+2003-07-30  Roger Sayle  <roger@eyesopen.com>
+
+       * builtins.def: Alphabetize.
+
+2003-07-30  Matt Kraai  <kraai@alumni.cmu.edu>
+
+       * doc/c-tree.texi: Normalize spellings of "lowercase" and
+       "uppercase".
+       * doc/cpp.texi: Likewise.
+       * doc/md.texi: Likewise.
+       * doc/rtl.texi: Likewise.
+       * doc/tm.texi: Likewise.
+
+2003-07-30  Matt Kraai  <kraai@alumni.cmu.edu>
+
+       * objc/Make-lang.in (objc.stage1, objc.stage2, objc.stage3)
+       (objc.stage4, objc.stageprofile, objc.stagefeedback): Remove moves
+       of cc1obj.
+
+2003-07-30  Chris Demetriou  <cgd@broadcom.com>
+
+       * config/mips/mips.h (SIZE_TYPE, PTRDIFF_TYPE): Undef these
+       macros before defining them.
+
+2003-07-31  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * config/s390/s390.md (UNSPEC_ROUND, UNSPEC_SETHIGH, 
+       UNSPECV_BLOCKAGE): New constants.
+       ("*sethighqisi", "*sethighhisi", "*sethiqidi_64", "*sethiqidi_31",
+       "*extractqi", "*extracthi", "*extendqidi2" splitter, "*extendqisi2"
+       splitter, "fix_truncdfdi2_ieee", "fix_truncdfsi2_ieee",
+       "fix_truncsfdi2", "fix_truncsfsi2", "blockage"): Use them.
+
+       (all insns and expanders): Write output control string as brace block
+       where appropriate.  Remove \-escapes for doublequote characters.
+
+Thu Jul 31 01:04:19 CEST 2003  Jan Hubicka  <jh@suse.cz>
+
+       * gcse.c (insert_store): Fix typo in previous patch.
+
+2003-07-30  Neil Booth  <neil@daikokuya.co.uk>
+
+       * cppfiles.c (stack_file, open_file_failed): Use path for deps.
+
+2003-07-30  Andi Kleen  <ak@muc.de>
+
+       * loop.c (check_dbra_loop): Allow LTU in the loop condition.
+
+2003-07-30  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
+
+       * combine.c (distribute_notes): Cancel REG_VALUE_PROFILE notes.
+       * gcov-io.h (GCOV_FIRST_VALUE_COUNTER, GCOV_LAST_VALUE_COUNTER,
+       GCOV_N_VALUE_COUNTERS): New.
+       * profile.c (compute_value_histograms): New static function.
+       (branch_prob): Read back the value histograms.
+       * rtl.c (reg_note_name): Add name for REG_VALUE_PROFILE note.
+       * rtl.h (enum reg_note): Add REG_VALUE_PROFILE note.
+       * value-prof.c: Add comment on reading the profile.
+       * value-prof.h (COUNTER_FOR_HIST_TYPE, HIST_TYPE_FOR_COUNTER): New.
+       * doc/invoke.texi (-fprofile-values): Document behavior with
+       -fbranch-probabilities.
+
+2003-07-30  David Edelsohn  <edelsohn@gnu.org>
+
+       * longlong.h (PowerPC umul_ppmm): Do not test __vxworks__.
+
+2003-07-30  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * config/s390/s390.h (EH_RETURN_HANDLER_RTX): Compute offset
+       symbolically.
+
+Wed Jul 30 19:12:10 CEST 2003  Jan Hubicka  <jh@suse.cz>
+
+       * gcse.c (insert_store): Ignore fake edges.
+
+       * c-common.c (flag_vtable_gc): Kill.
+       * c-common.g (flag_vtable_gc): Kill.
+       * c-opts (c_common_handle_option): Kill.
+       * c.opt (fvtable-gc): Kill.
+       * final.c (final_scan_insn): Do not call assemble_vtable_entry.
+       * output.h (assemble_vtable_entry, assemble_vtable_inherit): Kill.
+       * varasm.c (assemble_vtable_entry, assemble_vtable_inherit): Kill.
+
+       * invoke.texi (-ftable-gc): Kill documentation.
+
+       * tree-inline.c (inlinable_function_p): Don't set DECL_UNINLINABLE
+       just because function body is missing.
+
+       * i386.c (pic_symbolic_operand): Properly detect RIP relative unspecs.
+
+2003-07-30  Ranjit Mathew  <rmathew@hotmail.com>
+
+       * unwind-sjlj.c: Fix typo in file description.
+
+2003-07-30  Alan Modra  <amodra@bigpond.net.au>
+
+       * calls.c (load_register_parameters): When shifting reg sized values
+       to the msb, move the value to a reg first.
+
+2003-07-29  Geoffrey Keating  <geoffk@apple.com>
+
+       * cppfiles.c (stack_file): Leave filename as "" rather than "<stdin>".
+       * line-map.h (linemap_add): Update comments.
+       * line-map.c (linemap_add): Update comments, interpret zero-length
+       filename as "<stdin>".
+
+2003-07-29  Nathanael Nerode  <neroden@gcc.gnu.org>
+
+       * mkinstalldirs: Import autoconf 2.57 / automake 1.7 version.
+
+2003-07-29  Zack Weinberg  <zack@codesourcery.com>
+
+       * c-decl.c (last_function_parm_vars, current_function_parm_vars):
+       New static variables.
+       (struct c_scope): Add parms and warned_forward_parm_decls
+       fields; remove parm_order.
+       (storedecls, storetags): Delete.
+       (poplevel): Also clear bindings on the parms chain.
+       (pushdecl): Handle forward declarations of parameters, and
+       chain PARM_DECLs on the parms list, not the names list.
+       (lookup_name_current_level): Check for PARM_DECLs on the parms
+       list too.
+       (push_parm_decl): Don't update parm_order.
+       (clear_parm_order): Rename mark_forward_parm_decls.  Issue the
+       warning, only once per parameter list, and set TREE_ASM_WRITTEN
+       on the decls here.  Then move the forward decls to the names list.
+       (grokparms): Set last_function_parm_vars.
+       (get_parm_info): Don't use gettags or getdecls.  No need to
+       extract non-parms from the parms list, or reorganize the parms
+       list.  Feed nonparms back in the TREE_TYPE of the list node
+       returned.  Issue only one error per parameter list for "void"
+       appearing more than once in said parameter list.  Collapse
+       parmlist_tags_warning into this function to avoid double scan
+       of tags list.
+       (start_function): Set current_function_parm_vars.
+       (store_parm_decls_newstyle): Bypass pushdecl, manipulate scope
+       directly.  Get non-parms from current_function_parm_vars; no
+       need to extract them from the parms chain.  Properly bind tags
+       in the new scope.
+       (store_parm_decls_oldstyle): No need to extract non-parameters
+       from the parms chain, nor to store them back afterward.  Move
+       declaration to top of function, restructure code reordering
+       DECL_ARGUMENTS.
+       (store_parm_decls): No need to save and restore warn_shadow.
+       * c-parse.in: Don't call parmlist_tags_warning nor
+       clear_parm_order.  Call mark_forward_parm_decls when forward
+       parm decls are encountered.
+       * c-tree.h: Prototype mark_forward_parm_decls; not
+       clear_parm_order or parmlist_tags_warning.
+
+2003-07-29  Geoffrey Keating  <geoffk@apple.com>
+
+       * c-common.c (allow_pch): Remove.
+       * c-common.h (allow_pch): Remove.
+       (c_common_no_more_pch): Declare.
+       * c-lex.c (c_lex): Call c_common_no_more_pch when appropriate.
+       * c-pch.c: Include hosthooks.h.
+       (c_common_valid_pch): Don't check allow_pch.
+       (c_common_read_pch): Clear valid_pch to prevent reading PCH files.
+       (c_common_no_more_pch): New.
+       * ggc-common.c: Include hosthooks.h.
+       (gt_pch_save): Call gt_pch_get_address.
+       (gt_pch_restore): Call gt_pch_use_address.
+       * hooks.c (hook_voidp_size_t_null): New.
+       (hook_bool_voidp_size_t_false): New.
+       * hooks.h (hook_voidp_size_t_null): New.
+       (hook_bool_voidp_size_t_false): New.
+       * hosthooks-def.h (HOST_HOOKS_GT_PCH_GET_ADDRESS): New.
+       (HOST_HOOKS_GT_PCH_USE_ADDRESS): New.
+       (HOST_HOOKS_INITIALIZER): Add HOST_HOOKS_GT_PCH_GET_ADDRESS,
+       HOST_HOOKS_GT_PCH_USE_ADDRESS.
+       * hosthooks.h (struct host_hooks): Add gt_pch_get_address,
+       gt_pch_use_address.
+       * doc/hostconfig.texi (Host Common): Document
+       HOST_HOOKS_GT_PCH_GET_ADDRESS, HOST_HOOKS_GT_PCH_USE_ADDRESS.
+       * Makefile.in (c-pch.o): Depend on hosthooks.h.
+       (ggc-common.o): Likewise.
+
+       * config/rs6000/host-darwin.c (HOST_HOOKS_GT_PCH_GET_ADDRESS): Define.
+       (HOST_HOOKS_GT_PCH_USE_ADDRESS): Define.
+       (pch_address_space): New.
+       (darwin_rs6000_gt_pch_get_address): New.
+       (darwin_rs6000_gt_pch_use_address): New.
+
+2003-07-29  Neil Booth  <neil@daikokuya.co.uk>
+
+       * Makefile.in (LIBCPP_DEPS): Add HASHTAB_H.
+       * cppfiles.c: Completely rewritten.
+       * c-incpath.c (free_path, remove_duplicates, heads, tails, add_path):
+       struct cpp_path is now struct cpp_dir.
+       (remove_duplicates): Don't simplify path names.
+       * c-opts.c (c_common_parse_file): cpp_read_next_file renamed
+       cpp_stack_file.
+       * cpphash.h: Include hashtab.h.
+       (_cpp_file): Declare.
+       (struct cpp_buffer): struct include_file is now struct _cpp_file,
+       and struct cpp_path is now struct cpp_dir.  Rename members.
+       (struct cpp_reader): Similarly.  New members once_only_files,
+       file_hash, file_hash_entries, quote_ignores_source_dir,
+       no_search_path, saw_pragma_once.  Remove all_include_files and
+       max_include_len.  Make some members bool.
+       (_cpp_mark_only_only): Renamed from _cpp_never_reread.
+       (_cpp_stack_file): Renamed from _cpp_read_file.
+       (_cpp_stack_include): Renamed from _cpp_execute_include.
+       (_cpp_init_files): Renamed from _cpp_init_includes.
+       (_cpp_cleanup_files): Renamed from _cpp_cleanup_includes.
+       * cppinit.c (cpp_create_reader): Initialize no_search_path.  Update.
+       (cpp_read_next_file): Rename and move to cppfiles.c.
+       (cpp_read_main_file): Update.
+       * cpplib.c (run_directive): Update for renamed members.
+       (do_include_common, _cpp_pop_buffer): Update.
+       (do_import): Undeprecate #import.
+       (do_pragma_once): Undeprecate.  Use _cpp_mark_file_once_only.
+       * cpplib.h: Remove file_name_map_list.
+       (cpp_options): Remove map_list.
+       (cpp_dir): Rename from cpp_path.  New datatype for name_map.
+       (cpp_set_include_chains, cpp_stack_file, cpp_included): Update.
+
+2003-07-29  Phil Edwards  <pme@gcc.gnu.org>
+
+       * Makefile.in:  Make stamp-objdir safe for parallel builds.
+
+2003-07-29  Phil Edwards  <pme@gcc.gnu.org>
+
+       * Makefile.in (stmp-docobjdir):  New target; ensure $docobjdir exists.
+       (info):  Depend on stmp-docobjdir.
+
+2003-07-29  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
+
+       * configure: Regenerate.
+
+Tue Jul 29 19:24:49 CEST 2003  Jan Hubicka  <jh@suse.cz>
+
+       PR C++/11131
+       * tree-inline.c (expand_call_inline): Always call inlinable_function_p
+       in !unit-at-a-time mode.
+
+2003-07-28  Geoffrey Keating  <geoffk@apple.com>
+
+       * c-decl.c (c_expand_body_1): Use C_DECL_FILE_SCOPE to detect
+       main function.
+
+2003-07-28  Mark Mitchell  <mark@codesourcery.com>
+
+       PR c++/11667
+       * c-common.c (shorten_compare): Take into account differences
+       between C and C++ representation for enumeration types.
+       * tree.h (set_min_and_max_values_for_integral_type): Declare.
+       * stor-layout.c (set_min_and_max_values_for_integral_type): New
+       function, broken out from ...
+       (fixup_signed_type): ... here and ...
+       (fixup_unsigned_type): ... here.
+
+2003-07-28  Zack Weinberg  <zack@codesourcery.com>
+
+       * c-decl.c: Update commentary, adjust blank lines throughout.
+       (struct c_scope): Fix indentation.  Reorder members so
+       outer-context pointers come first, booleans last.
+       (duplicate_decls, define_label): Use a 'locus' variable for
+       diagnostic locations in a few more places.
+       (warn_if_shadowing): Un-split a conditional that fits on one line.
+       (c_init_decl_processing): No need to clear current_scope and
+       current_function_scope.
+       (start_decl): Merge if/else if statements with same action.
+       (push_parm_decl): Rename old_immediate_size_expand to use
+       save_foo convention; save/restore around entire function.
+       (grokdeclarator): Remove unnecessary braces.
+
+2003-07-28  Hans-Peter Nilsson  <hp@bitrange.com>
+           Michael Culbertson  <Michael.J.Culbertson@wheaton.edu>
+
+       * c-parse.in (lineno_stmt_decl_or_labels_ending_decl): Also warn
+       when warn_declaration_after_statement.  Call pedwarn_c90, not
+       pedwarn.  Correct message: it's "ISO C90", not "ISO C89".
+       * c-common.c (warn_declaration_after_statement): Define.
+       * c-common.h (warn_declaration_after_statement): Declare.
+       * c.opt (Wdeclaration-after-statement): New.
+       * c-errors.c (pedwarn_c90): New function.
+       * c-opts.c (c_common_handle_option) <case
+       OPT_Wdeclaration_after_statement>: New.
+       * c-tree.h (pedwarn_c90): Declare.
+       * doc/invoke.texi (Option Summary): Document
+       -Wdeclaration-after-statement.
+       (Warning Options): Ditto.
+
 Mon Jul 28 20:13:06 CEST 2003  Jan Hubicka  <jh@suse.cz>
 
        * i386.md (memory attribute) Avoid accessing uninitialized memory
@@ -21,7 +350,7 @@ Mon Jul 28 20:13:06 CEST 2003  Jan Hubicka  <jh@suse.cz>
 
 2003-07-27  Nathanael Nerode  <neroden@gcc.gnu.org>
 
-       * fixinc/fixinc.svr4: Remove dead code.  Remove now-unnecessary 
+       * fixinc/fixinc.svr4: Remove dead code.  Remove now-unnecessary
        cleanup of junk after #else and #endif directives.  Collapse repeated
        clauses into for statment.
 
This page took 0.040375 seconds and 5 git commands to generate.