OSDN Git Service

* config/h8300/h8300.md (output_a_shift): Clean up the code to
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index b9becce..209e12f 100644 (file)
@@ -1,3 +1,254 @@
+2002-12-19  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/h8300/h8300.md (output_a_shift): Clean up the code to
+       output shifts using rotation.
+
+2002-12-20  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
+
+       * flow.c (allocate_reg_life_data): Reset REG_FREQ.
+
+2002-12-19  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/h8300/h8300.md (pushqi_h8300): Don't push the stack
+       pointer.
+       (pushqi_h8300hs): Likewise.
+       (pushhi_h8300): Likewise.
+       (pushhi_h8300hs): Likewise.
+
+Thu Dec 19 23:44:09 2002  J"orn Rennecke <joern.rennecke@superh.com>
+
+       * sched-rgn.c (init_regions): Update comment.
+
+2002-12-19  David Edelsohn  <edelsohn@gnu.org>
+
+       * config/rs6000/rs6000.md (define_attr type): Remove altivec.
+       * config/rs6000/altivec.md (movv4si_internal): Set correct instruction
+       attributes.
+       (movv8hi_internal,movv16qi_internal,movv4sf_internal): Same.
+       (get_vrsave_internal,set_vrsave_internal): Same.
+       (altivec_vspltisb,altivec_vspltish,altivec_vspltisw): Same.
+       (absv16qi2,absv8hi2,absv4si2,absv4sf2): Same
+       (altivec_abss_v16qi,altivec_abss_v8hi,altivec_abss_v4si): Same.
+
+2002-12-19  Casper S. Hornstrup  <chorns@users.sourceforge.net>
+           Danny Smith  <dannysmith@users.sourceforge.net>
+           Eric Kohl  <ekohl@rz-online.de>
+
+       * config/i386/i386.c (ix86_handle_cdecl_attribute): Check for
+       attributes incompatible with fastcall attribute.
+       (ix86_handle_regparm_attribute): Likewise.
+
+       * config/i386/i386.c (ix86_comp_type_attributes): Check for mismatched
+       fastcall types.
+
+       * config/i386/cygwin.h (TARGET_OS_CPP_BUILTINS): Add fastcall
+       attributes.
+       (ASM_OUTPUT_LABELREF): Define as i386_pe_output_labelref.
+       * config/i386/i386-protos.h (i386_pe_output_labelref): Declare.
+       * config/i386/winnt.c (i386_pe_mark_dllimport). Add __imp_ prefix in
+       i386_pe_output_labelref rather than here.
+       (gen_fastcall_suffix): New function. Decorates a label name with the
+       fastcall prefix (@) and the stdcall suffix.
+       (i386_pe_encode_section_info): Call gen_fastcall_suffix() if a symbol
+       has a fastcall attribute.
+       (i386_pe_output_labelref): New function. Outputs a label reference.
+       * config/i386/i386.c (ix86_attribute_table): Accept 'fastcall' as a
+       valid attribute.
+       (ix86_return_pops_args): Fastcall functions pop the stack.
+       (init_cumulative_args): Reserve registers ECX and EDX if function has
+       fastcall attribute.
+       (function_arg): Use registers ECX and EDX if function has fastcall
+       attribute.
+       * config/i386/i386.h (CUMULATIVE_ARGS): Add fastcall attribute flag.
+       (DLL_IMPORT_EXPORT_PREFIX): Redefine as '#'.
+       (FASTCALL_PREFIX): Define as '@'.
+       * config/i386/mingw32.h (TARGET_OS_CPP_BUILTINS): Add fastcall
+       attributes.
+       * doc/extend.texi: Add documentation of fastcall attribute.
+
+2002-12-19  Nathanael Nerode  <neroden@gcc.gnu.org>
+
+       * configure.in: FORBUILD when build!=host changed from 
+       ../$build-alias to ../build-$build_alias to match change made
+       in top directory.
+       * configure: Regenerated.
+
+2002-12-19  Eric Botcazou  <ebotcazou@libertysurf.fr>
+
+       PR optimization/8988
+       * loop.c (maybe_eliminate_biv): Kill REG_EQUAL notes mentioning
+       the biv when eliminating.
+
+2002-12-19  Devang Patel  <dpatel@apple.com>
+       * gcc.c (struct default_compiler): Recognizes input file name with
+       .CPP extension as C++ source files
+       * cp/lang-spec.h: Same
+       * doc/invoke.texi:  Add documentation for .CPP support.
+       
+2002-12-19  Aldy Hernandez  <aldyh@redhat.com>
+
+       PR 8553
+       * config/rs6000/altivec.md ("absv8hi2"): Add & to clobbered
+       registers.
+       ("absv16qi2"): Same.
+       ("absv4si2"): Same.
+       ("absv4sf2"): Same.
+       ("altivec_abss_v16qi"): Same.
+       ("altivec_abss_v8hi"): Same.
+       ("altivec_abss_v4si"): Same.
+
+2002-12-19  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * config/s390/s390.md ("*tsthiCCT", "*tsthiCCT_cconly",
+       "*tstqiCCT", "*tstqiCCT_cconly"): New insns.
+
+2002-12-19  Eric Botcazou  <ebotcazou@libertysurf.fr>
+
+       PR target/8340
+       * stmt.c (expand_asm_operands): Produce an error when
+       the PIC register is clobbered.
+
+2002-12-18  Daniel Berlin  <dberlin@dberlin.org>
+
+       * Makefile.in (OBJS): Add alloc-pool.o
+       (alloc-pool.o): New object.
+
+       * alloc-pool.c: New file.
+       * alloc-pool.h: New file.
+
+2002-12-18  Loren James Rittle  <rittle@labs.mot.com>
+
+       * gcc.c (validate_switches): Robustify against skipping past '\0'.
+
+2002-12-18  Geoffrey Keating  <geoffk@apple.com>
+
+       * config.gcc: Set extra_objs in the generic Darwin rule,
+       not in the machine-specific rules.
+
+2002-12-19  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * ChangeLog: Follow spelling conventions.
+       * ChangeLog.2: Likewise.
+       * ChangeLog.4: Likewise.
+       * ChangeLog.5: Likewise.
+       * cppexp.c: Likewise.
+       * df.c: Likewise.
+       * gcov.c: Likewise.
+       * gengtype.c: Likewise.
+       * reload1.c: Likewise.
+       * sched-rgn.c: Likewise.
+       * stmt.c: Likewise.
+       * stor-layout.c: Likewise.
+       * timevar.c: Likewise.
+       * toplev.c: Likewise.
+       * tree.h: Likewise.
+       * varasm.c: Likewise.
+       * config/fr30/fr30.md: Likewise.
+       * config/i386/i386.c: Likewise.
+       * config/ia64/ia64.c: Likewise.
+       * config/pa/pa.c: Likewise.
+
+2002-12-18  Roger Sayle  <roger@eyesopen.com>
+
+       * basic-block.h (flow_bb_inside_loop_p): Correct prototype.
+
+2002-12-18  Aldy Hernandez  <aldyh@redhat.com>
+
+       PR 8551
+       * config/rs6000/altivec.h (vec_cmplt macro): Reverse arguments in
+       macro.
+       (vec_cmplt C++ functions): Reverse arguments.
+
+2002-12-18  Geoffrey Keating  <geoffk@apple.com>
+
+       * config/rs6000/t-rs6000: Move contents to t-fprules,
+       add rules for dependencies of rs6000.o and to build rs6000-c.o
+       * config/rs6000/t-fprules: New file from t-rs6000.
+       * config/rs6000/t-beos: Remove soft-fp rules.
+       * config/rs6000/t-ppccomm: Likewise.
+       * config/rs6000/t-newas: Likewise.
+       * config/rs6000/t-rs6000-c-rule: Delete.
+       * config.gcc: Use t-fprules for rs6000/ ports when appropriate.
+       Use t-rs6000 for all rs6000/ ports instead of t-rs6000-c-rule.
+       Create generic Darwin rules.
+
+       * gengenrtl.c (gencode): Delete unnecessary rtl_obstack declaration.
+
+2002-12-18  Doug Evans  <dje@sebabeach.org>
+
+       * m32r/m32r.c (addr24_operand): Fix arg to CONSTANT_POOL_ADDRESS_P
+       and LIT_NAME_P.
+       (move_src_operand): Remove compile-time warning.
+       * m32r/m32r.h (ROUND_ADVANCE_ARG): Ditto.
+
+2002-12-18  Jason Merrill  <jason@redhat.com>
+
+       * unwind-dw2-fde.c (frame_downheap): Split out from...
+       (frame_heapsort): Here.
+
+2002-12-17  Jason Merrill  <jason@redhat.com>
+
+       * tree.c (make_node): Don't set TREE_TYPE on 's' class nodes.
+       (build1): Always set TREE_SIDE_EFFECTS on 's' class nodes.
+
+       * gcc.c (do_spec_1) ['W']: End any pending argument from the braces.
+
+       * calls.c (expand_call): Don't try to be clever about expanding
+       the return slot address.
+
+2002-12-18  Kaz kojima  <kkojima@gcc.gnu.org>
+
+       * config/sh/linux.h (NO_IMPLICIT_EXTERN_C, CPLUSPLUS_CPP_SPEC):
+       Define.
+
+2002-12-17  Jason Merrill  <jason@redhat.com>
+
+       * genmultilib: Use 'cd ./foo'.
+
+2002-12-17  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * doc/c-tree.texi: Restore deliberate spelling mistakes.
+
+2002-12-17  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * doc/c-tree.texi: Fix typos and follow spelling conventions.
+       * doc/cpp.texi: Likewise.
+       * doc/extend.texi: Likewise.
+       * doc/gty.texi: Likewise.
+       * doc/install.texi: Likewise.
+       * doc/invoke.texi: Likewise.
+       * doc/md.texi: Likewise.
+       * doc/passes.texi: Likewise.
+       * doc/rtl.texi: Likewise.
+       * doc/sourcebuild.texi: Likewise.
+       * doc/tm.texi: Likewise.
+
+2002-12-17  Jerry Quinn  <jlquinn@optonline.net>
+
+       * doc/invoke.texi: Minor spelling and grammar fixes.
+
+2002-12-17  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * config/s390/s390.c (s390_output_constant_pool): Replace
+       ASM_OUTPUT_INTERNAL_LABEL by (*targetm.asm_out.internal_label).
+
+Tue Dec 17 09:47:57 CET 2002  Jan Hubicka  <jh@suse.cz>
+
+       * convert.c (convert_to_real): Disable function transformation for
+       now.
+
+2002-12-16  Geoffrey Keating  <geoffk@apple.com>
+
+       * gcc.c (handle_braces): Allow '@' as a switch name.
+
+2002-12-16  Jason Merrill  <jason@redhat.com>
+
+       * calls.c (expand_call): Handle CALL_EXPR_HAS_RETURN_SLOT_ADDR
+       with special struct-return ABIs.
+
+       * c-semantics.c (add_scope_stmt): Abort if the end SCOPE_STMT
+       doesn't match the begin SCOPE_STMT in partialness.
+
 2002-12-16  Geoffrey Keating  <geoffk@apple.com>
 
        * genmultilib: Create temporary files in unique subdirectory.
@@ -2128,7 +2379,6 @@ Fri Nov 15 14:54:19 CET 2002  Jan Hubicka  <jh@suse.cz>
        * gthr-posix.h: Fix formatting.
 
 2002-11-12  Devang Patel <dpatel@apple.com>
-
        * gcc.c (display_help): Two new options -Xpreprocessor and -Xassembler.
        (process_command): Same.
        * doc/invoke.texi: Info about these two new options.
@@ -2965,7 +3215,7 @@ Tue Oct 29 19:32:16 CET 2002  Jan Hubicka  <jh@suse.cz>
        (sched_get_priority_max, sched_get_priority_min)
        (pthread_getschedparam, pthread_setschedparam): Only use
        if _POSIX_THREAD_PRIORITY_SCHEDULING is defined.
-       (__gthread_objc_thread_set_priority): Don't treat all non-zero
+       (__gthread_objc_thread_set_priority): Don't treat all nonzero
        returns from sched_get_priority_max and sched_get_priority_min
        as an error.
 
@@ -4919,7 +5169,7 @@ Thu Oct  3 23:20:58 CEST 2002  Jan Hubicka  <jh@suse.cz>
        (multilib_os_dir): New variable.
        (static_specs): Add multilib_options.
        (find_a_file): Add multilib argument.  Search in GCC or OS multilib
-       subdirs if non-zero.
+       subdirs if nonzero.
        (read_specs, execute): Update callers.
        (find_file): Likewise.  Don't prefix name with multilib_dir, instead
        pass 1 as multilib option.