]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/ChangeLog
aix.h (CPP_CPU_SPEC): Move back to rs6000.h
[thirdparty/gcc.git] / gcc / ChangeLog
index 20d1dd84ef453f93a38f0ef463fb1e65859a31db..2494e1433861bc19fee5b171b4853ac6a4ec5e00 100644 (file)
@@ -1,3 +1,131 @@
+2001-08-06  Daniel Berlin  <dan@cgsoftware.com>
+
+       * config/rs6000/aix.h (CPP_CPU_SPEC): Move back to rs6000.h
+       (ASM_CPU_SPEC): Move back to rs6000.h
+       #undef CPP_DEFAULT_SPEC and ASM_DEFAULT_SPEC before redefining them.
+
+       * config/rs6000/darwin.h (DOUBLE_INT_ASM_OP): New macro.
+
+       * config/rs6000/linux.h: Remove vtable thunks stuff we accidently
+       readded. 
+
+       * config/rs6000/linux64.h: Ditto.
+
+       * config/rs6000/rs6000.h: Move CPP_CPU_SPEC and ASM_CPU_SPEC back
+       to here. Define default ASM_DEFAULT_SPEC and CPP_DEFAULT SPEC to
+       nothing.
+
+       Remove accidently readded definitions of FUNCTION_PROLOGUE,
+       FUNCTION_EPILOGUE,  ASM_OPEN_PAREN, ASM_CLOSE_PAREN
+
+       * config/rs6000/sysv4.h: Move CPP_CPU_SPEC and ASM_CPU_SPEC back
+       to rs6000.h
+       
+2001-08-05  Richard Henderson  <rth@redhat.com>
+
+       * local-alloc.c (update_equiv_regs): Do not move insns that
+       can throw.
+
+2001-08-05  Jan Hubicka  <jh@suse.cz>
+
+       * Makefile.in (reload1.o): Add dedendancy on except.h
+       * basic-block.h (purge_all_dead_edges, purge_dead_edges): Update
+       prototypes.
+       * flow.c (purge_dead_edges, purge_all_dead_edges): Return bool
+       indicating wehther edges has been cleaned up.
+       * reload1.c: Inlucde except.h
+       (fixup_abnormal_edges): Accept deleted insns.
+       * toplev.c (rest_of_compilation): Purge dead edges unconditionally
+       after combine.
+
+2001-08-06  Neil Booth  <neil@daikokuya.demon.co.uk>
+
+       * cpplib.c (do_line): Correct line number after pop_buffer.
+
+2001-08-05  Neil Booth  <neil@daikokuya.demon.co.uk>
+
+       PR preprocessor/3824
+       * line-map.c: Update comments.
+       * line-map.h: Update comments.
+       * tradcif.y: Don't consider large numbers unsigned.
+
+2001-08-05  Neil Booth  <neil@daikokuya.demon.co.uk>
+
+       PR preprocessor/3081
+       * c-lex.c (map): New.
+       (cb_file_change): Update map and use it.
+       (cb_def_pragma, cb_define, cb_undef): Use map and line.
+       (c_lex): Update to use map.
+       * cpperror.c (print_location): Move to using logical line numbers.
+       * cppfiles.c (stack_include_file): Update for new _cpp_do_file_change.
+       (cpp_make_system_header): Similarly.
+       (_cpp_execute_include): Stop line numbering hacks.  Store the
+       line we will return to.
+       * cpphash.h (CPP_BUF_LINE): Remove.
+       (struct cpp_buffer): Remove lineno and pseudo_newlines.
+       Add map and return_to_line.
+       (_cpp_do_file_change): Update.
+       * cppinit.c (cpp_start_read): Update line kludge.
+       * cpplex.c (handle_newline): Don't update lineno and pseudo_newlines.
+       (trigraph_ok): Use logical line numbers for diagnostics.
+       (skip_block_comment): Likewise.
+       (skip_whitespace): Likewise.
+       (skip_line_comment): Use pfile->line instead.
+       (_cpp_lex_token): Update to use logical line numbering exclusively.
+       Handle BOL locally.  Accept new lines in directives, but keep
+       pfile->line decremented.  Diagnostics use logical lines.  Update
+       directive handling.
+       * cpplib.c (SEEN_EOL): New.
+       (skip_rest_of_line, check_eol): Use it.
+       (end_directive): Increase line number when accepting the newline
+       at the end of a directive.
+       (run_directive): Simplify.
+       (do_line): Bad LC_LEAVEs become LC_RENAMEs.  Update.
+       (_cpp_do_file_change): Update to take buffer line number as an
+       argument, and store the current map in the cpp_reader.  Remove
+       line number kludges.
+       (_cpp_do__Pragma): Restore output position after a _Pragma.
+       (cpp_push_buffer): Don't set output line or lineno.
+       (_cpp_pop_buffer): Transfer more info from a faked buffer.
+       Remove line kludge.  Set output_line.
+       * cppmacro.c (builtin_macro): Update handling of __LINE__.
+       (parse_arg): Use logical lines.
+       (save_lookahead_token): Save EOFs too now.
+       * cppmain.c (struct printer): Fix comments.
+       (printer_init): Simplify, let caller do errors.
+       (scan_translation_unit, check_multiline_token, dump_macro): Update.
+       (maybe_print_line): Simplify.
+       (print_line): Don't print a linemarker if -P.
+       (cb_define, cb_undef, cb_def_pragma, cb_ident, cb_include): Update.
+       (cb_file_change): Simplify.
+       * line-map.h (LAST_SOURCE_LINE): Fix.
+       (CURRENT_LINE_MAP): New.
+
+2001-08-05  Bernd Schmidt  <bernds@redhat.com>
+
+       * doloop.c (doloop_modify_runtime): Properly compute number of
+       iterations if loop was unrolled.
+
+       * alias.c (rtx_equal_for_memref_p): VALUEs are only identical
+       if their CSELIB_VAL_PTRs are.
+
+       * config/ia64/ia64.c (struct spill_fill_data): New member prev_insn.
+       (setup_spill_pointers): Initialize it.
+       (spill_restore_mem): Set it.
+       (do_spill, do_restore): Use it to add REG_INC note.
+       * config/ia64/ia64.md (movti_internal): Add REG_INC notes as needed.
+
+       * config/ia64/ia64.c (ia64_sched_reorder): Defer scheduling of
+       asms if other insns are available.
+
+       * config/ia64/ia64.c (condop_operator): New predicate.
+       * config/ia64/ia64.h (PREDICATE_CODES): Add it.
+       * config/ia64/ia64.md (cond_opsi2_internal and splitters): New
+       patterns.
+
+       * expr.c (expand_expr, case COND_EXPR): Prefer working with a
+       temporary register than directly using a MEM.
+
 2001-08-04  Hans-Peter Nilsson  <hp@bitrange.com>
 
        * config/sh/sh.c (sh_asm_named_section): Fix typo in align
@@ -245,7 +373,7 @@ Sat Aug  4 13:51:36 CEST 2001  Jan Hubicka  <jh@suse.cz>
        (__gthread_mutex_init_function): New function for mutex initialization.
 
 2001-08-03  Daniel Berlin  <dan@cgsoftware.com>
-        
+       
        * Makefile.in: Revert screwed up commit.
 
 2001-08-03  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
@@ -265,7 +393,7 @@ Sat Aug  4 13:51:36 CEST 2001  Jan Hubicka  <jh@suse.cz>
        (DTORS_SECTION_FUNCTION): Likewise for __do_global_dtors.
 
 2001-08-03  Daniel Berlin  <dan@cgsoftware.com>
-        
+       
        * ChangeLog: Fix date on previous ChangeLog entry for GCSE.
        
        * Makefile.in: Add df.h to gcse.c dependencies.
@@ -278,26 +406,26 @@ Sat Aug  4 13:51:36 CEST 2001  Jan Hubicka  <jh@suse.cz>
 
 2001-08-03  Daniel Berlin  <dan@cgsoftware.com>
 
-        * gcse.c: Include df.h for use as a dataflow analyzer.
-        Remove regvec.
-        Declaration of reg_set_info: gone.
-        New df_analyzer variable used by store motion.
-        (reg_set_info): Deleted.
-        (mark_mem_regs): New function, analyze regs used by a mem.
-        (store_ops_ok): Use dataflow analyzer results to determine if
-        necessary regs are changed in the block.
-        (find_moveable_store): Remove check for symbol ref, we can handle
-        much more complex expressions now.
-        (compute_store_table): Remove most of the code, it's unnecessary
-        now that the dataflow analyzer records the info for us.
-        (store_killed_after): Add parameter to say whether to do the
-        store_ops_okay test, used to speed up testing when we already know
-        the answer, and just want to know if the store itself was killed.
-        (build_store_vector): Largely rewritten to calculate the various
-        vectors properly, and somewhat optimized.
-        (store_motion): Init the df_analyzer, get REG_DEF chains. 
-        Also handle trapping expressions (since mems almost always trap)
-        (simple_mem): Redefine what a simple mem is.
+       * gcse.c: Include df.h for use as a dataflow analyzer.
+       Remove regvec.
+       Declaration of reg_set_info: gone.
+       New df_analyzer variable used by store motion.
+       (reg_set_info): Deleted.
+       (mark_mem_regs): New function, analyze regs used by a mem.
+       (store_ops_ok): Use dataflow analyzer results to determine if
+       necessary regs are changed in the block.
+       (find_moveable_store): Remove check for symbol ref, we can handle
+       much more complex expressions now.
+       (compute_store_table): Remove most of the code, it's unnecessary
+       now that the dataflow analyzer records the info for us.
+       (store_killed_after): Add parameter to say whether to do the
+       store_ops_okay test, used to speed up testing when we already know
+       the answer, and just want to know if the store itself was killed.
+       (build_store_vector): Largely rewritten to calculate the various
+       vectors properly, and somewhat optimized.
+       (store_motion): Init the df_analyzer, get REG_DEF chains. 
+       Also handle trapping expressions (since mems almost always trap)
+       (simple_mem): Redefine what a simple mem is.
 
 2001-08-03  DJ Delorie  <dj@redhat.com>
 
@@ -366,7 +494,7 @@ Sat Aug  4 13:51:36 CEST 2001  Jan Hubicka  <jh@suse.cz>
        cp/decl2.c, doc/contrib.texi, doc/cpp.texi, doc/gcc.texi,
        doc/install.texi, doc/invoke.texi, doc/md.texi, doc/rtl.texi,
        doc/tm.texi: consistently use "VAX", "VAXen", and "MicroVAX"
-        in comments and documentation.
+       in comments and documentation.
 
 2001-08-03  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
 
@@ -478,7 +606,7 @@ Sat Aug  4 13:51:36 CEST 2001  Jan Hubicka  <jh@suse.cz>
 
 2001-08-01  Robert Lipe  <robertl@caldera.com>
 
-        * dwarfout.c: Remove reference to README.DWARF.
+       * dwarfout.c: Remove reference to README.DWARF.
 
 2001-08-01  Andrew MacLeod  <amacleod@redhat.com>
 
@@ -581,7 +709,7 @@ Wed Aug  1 20:02:12 CEST 2001 Graham Stott  <grahams@redhat.com>
 
 2001-08-01  Ziemowit Laski  <zlaski@apple.com>
 
-        * c-parse.in (OBJC_NEED_RAW_IDENTIFIER): Define macro and flag for
+       * c-parse.in (OBJC_NEED_RAW_IDENTIFIER): Define macro and flag for
        contextualizing Objective-C class name lookup by the lexer.
        (typespec_reserved_nonattr): Disable ObjC class name lookup after
        seeing a TYPESPEC.
@@ -643,7 +771,7 @@ Wed Aug  1 20:02:12 CEST 2001 Graham Stott  <grahams@redhat.com>
 
 2001-07-31  Jeff Sturm  <jsturm@one-point.com>
 
-        * except.c (duplicate_eh_regions): Test n_array[i] for NULL.
+       * except.c (duplicate_eh_regions): Test n_array[i] for NULL.
 
 2001-07-31  matthew green  <mrg@eterna.com.au>
 
@@ -726,10 +854,10 @@ Tue Jul 31 15:33:27 CEST 2001  Jan Hubicka  <jh@suse.cz>
 
 2001-07-31 Hartmut Penner <hpenner@de.ibm.com>
 
-        * doc/install.texi: Add s390 and s390x as new targets.
-        * doc/invoke.texi: Add documantation of S/390 and zSeries
-        target options.
-        * doc/md.texi: Add documantation of S/390 and zSeries constraints.
+       * doc/install.texi: Add s390 and s390x as new targets.
+       * doc/invoke.texi: Add documantation of S/390 and zSeries
+       target options.
+       * doc/md.texi: Add documantation of S/390 and zSeries constraints.
 
 2001-07-30  Roman Zippel  <zippel@linux-m68k.org>
 
@@ -739,7 +867,7 @@ Tue Jul 31 15:33:27 CEST 2001  Jan Hubicka  <jh@suse.cz>
 
 Mon Jul 30 23:20:34 EDT 2001  John Wehle  (john@feith.com)
 
-        * flow.c (merge_blocks): Return 1 if an extra jump is inserted.
+       * flow.c (merge_blocks): Return 1 if an extra jump is inserted.
 
 2001-07-30  Richard Henderson  <rth@redhat.com>
 
@@ -780,18 +908,18 @@ Mon Jul 30 22:16:08 CEST 2001  Jan Hubicka  <jh@suse.cz>
 
 2001-07-30  Andreas Jaeger  <aj@suse.de>
 
-        * jump.c: Add prototype for mark_modified_reg.
+       * jump.c: Add prototype for mark_modified_reg.
 
-        * cse.c (set_live_p): Add unused attribute.
+       * cse.c (set_live_p): Add unused attribute.
 
-        * gcov.c (calculate_branch_probs): Use gcov_type to avoid
-        overflow.
-        (scan_for_source_files): Use long for count to avoid overflow.
-        (output_data): Likewise.
-        (output_data): Don't use string concatatenation to silence gcc
-        -traditional.
+       * gcov.c (calculate_branch_probs): Use gcov_type to avoid
+       overflow.
+       (scan_for_source_files): Use long for count to avoid overflow.
+       (output_data): Likewise.
+       (output_data): Don't use string concatatenation to silence gcc
+       -traditional.
 
-        * predict.c: Fix typos and grammar.
+       * predict.c: Fix typos and grammar.
 
        * gcse.c (insert_insn_end_bb): Remove unused variables.
 
@@ -1034,7 +1162,7 @@ Fri Jul 27 17:53:00 CEST 2001  Jan Hubicka  <jh@suse.cz>
 
 Fri Jul 27 00:33:35 EDT 2001  John Wehle  (john@feith.com)
 
-        * flow.c (redirect_edge_and_branch_force): Test
+       * flow.c (redirect_edge_and_branch_force): Test
        target->global_live_at_start.
 
 2001-07-26  Richard Henderson  <rth@redhat.com>
@@ -1080,8 +1208,8 @@ Thu Jul 26 14:04:03 EDT 2001  John Wehle  (john@feith.com)
 
 2001-07-26  Catherine Moore  <clm@redhat.com>
 
-        * config/v850/v850.h (ENCODE_SECTION_INFO):  Change order
-        of conditional to avoid tree checking errors.
+       * config/v850/v850.h (ENCODE_SECTION_INFO):  Change order
+       of conditional to avoid tree checking errors.
 
 2001-07-26  Kazu Hirata  <kazu@hxi.com>
 
@@ -1160,8 +1288,8 @@ Wed Jul 25 18:00:05 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
 
 2001-07-25  Catherine Moore  <clm@redhat.com>
 
-        * config/v850/v850.c (v850_va_arg):  Use addr
-        instead of valist to build incr.
+       * config/v850/v850.c (v850_va_arg):  Use addr
+       instead of valist to build incr.
 
 Wed Jul 25 22:48:59 CEST 2001  Jan Hubicka  <jh@suse.cz>
 
@@ -1226,11 +1354,11 @@ Wed Jul 25 08:25:01 2001  Jeffrey A Law  (law@cygnus.com)
 
 2001-07-24  Joel Sherrill <joel@OARcorp.com>
 
-        * config/sparc/rtems.h (CPP_PREDEFINES): Remove redundant
+       * config/sparc/rtems.h (CPP_PREDEFINES): Remove redundant
        -Acpu and -Amachine.h.
-        * config/sparc/rtemself.h (CPP_PREDEFINES): Likewise.
-        Corrected header to say ELF not a.out.
-        * config/sparc/sparc.h (CPP_CPU_SPEC): Define _SOFT_FLOAT
+       * config/sparc/rtemself.h (CPP_PREDEFINES): Likewise.
+       Corrected header to say ELF not a.out.
+       * config/sparc/sparc.h (CPP_CPU_SPEC): Define _SOFT_FLOAT
        when given -msoft-float.
 
 2001-07-24  Joel Sherrill <joel@OARcorp.com>