Skip to content
Snippets Groups Projects
  1. Jul 01, 2002
    • Roger Sayle's avatar
      re PR rtl-optimization/4046 (redundant conditional branch) · 6bfa5aac
      Roger Sayle authored
      	PR opt/4046
      	* fold-const.c (fold) [COND_EXPR]: Simplify A ? 0 : 1 to !A,
      	A ? B : 0 to A && B and A ? B : 1 into !A || B if both A and
      	B are truth values.
      
      From-SVN: r55153
      6bfa5aac
    • Nathanael Nerode's avatar
      Kill last references to LIBGCC1_TEST, which is never tested and never set to anything but "". · 9a5c1b9d
      Nathanael Nerode authored
      Kill last references to LIBGCC1_TEST, which is never tested and never
      set to anything but "".  Oy.
      
      From-SVN: r55152
      9a5c1b9d
    • Matt Kraai's avatar
      README.Portability (Function prototypes): Give an example of declaring and... · 3b2124df
      Matt Kraai authored
      README.Portability (Function prototypes): Give an example of declaring and defining a function with no arguments.
      
      	* README.Portability (Function prototypes): Give an example of
      	declaring and defining a function with no arguments.
      
      From-SVN: r55151
      3b2124df
    • Matt Kraai's avatar
      README.Portability (Function prototypes): Document new variable-argument function macros. · d3fc4dbc
      Matt Kraai authored
      	* README.Portability (Function prototypes): Document new
      	variable-argument function macros.
      
      From-SVN: r55150
      d3fc4dbc
    • Nathanael Nerode's avatar
      config-ml.in doesn't need to worry about cygnus configure · 5fd3853a
      Nathanael Nerode authored
      From-SVN: r55149
      5fd3853a
    • Benjamin Kosnik's avatar
      strstream: Remove namespace std. · eafa1afa
      Benjamin Kosnik authored
      2002-07-01  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* include/backward/strstream: Remove namespace std. Transfer to...
      	* include/backward/strstream.h: ...here. Qualify std names.
      	* src/strstream.cc: Remove namespace std.
      	* include/Makefile.am (backward_headers): Remove strstream.h.
      	* include/Makefile.in: Regenerate.
      	* config/linker-map.gnu: Export strstream bits.
      
      	* src/fstream-inst.cc: Tweak.
      	* src/io-inst.cc: Same.
      	* src/istream-inst.cc: Same.
      	* src/misc-inst.cc: Same.
      	* src/ostream-inst.cc: Same.
      	* src/sstream-inst.cc: Same.
      	* src/valarray-inst.cc: Same.
      	* src/misc-inst.cc: Remove unused instantiations.
      
      From-SVN: r55148
      eafa1afa
    • J"orn Rennecke's avatar
      sh.c (langhooks.h): Include. · c1b92d09
      J"orn Rennecke authored
      	* sh.c (langhooks.h): Include.
      	(sh_init_builtins, sh_media_init_builtins): New functions.
      	(sh_expand_builtin, arith_reg_dest,and_operand): Likewise.
      	(mextr_bit_offset, extend_reg_operand, zero_vec_operand): Likewise.
      	(sh_rep_vec, sh_1el_vec, sh_const_vec): Likewise.
      	(builtin_description): New struct tag.
      	(signature_args, bdesc): New arrays.
      	(TARGET_INIT_BUILTINS, TARGET_EXPAND_BUILTIN): Undef / define.
      	(print_operand): Add 'N' modifier.
      	* sh.h (VECTOR_MODE_SUPPORTED_P): Add SHmedia vector modes.
      	(EXTRA_CONSTRAINT_U, EXTRA_CONSTRAINT_W): New macros.
      	(EXTRA_CONSTRAINT): Add 'U' and 'W' cases.
      	(CONST_COSTS): Add special case for SHmedia AND.
      	(PREDICATE_CODES): Add and_operand, arith_reg_dest,
      	extend_reg_operand, extend_reg_or_0_operand, mextr_bit_offset,
      	sh_const_vec, sh_1el_vec, sh_rep_vec, zero_vec_operand.
      	target_operand can also be const or unspec.
      	* sh.md (UNSPEC_INIT_TRAMP, UNSPEC_FCOSA UNSPEC_FSRRA): New constants.
      	(UNSPEC_FSINA, UNSPEC_NSB, UNSPEC_ALLOCO): Likewise.
      	(attribute type): Add new types.
      	(anddi3): Add splitter.
      	(movdi_const_16bit+1): Add code to handle vector constants and
      	bitmasks efficiently.
      	(shori_media): Have generator function made.
      	(movv8qi, movv8qi_i, movv8qi_i+1, movv8qi_i+2): New patterns.
      	(movv8qi_i+3, movv2hi, movv2hi_i, movv4hi, movv4hi_i): Likewise.
      	(movv2si, movv2si_i, absv2si2, absv4hi2, addv2si3, addv4hi3): Likewise.
      	(ssaddv2si3, usaddv8qi3, ssaddv4hi3, negcmpeqv8qi): Likewise.
      	(negcmpeqv2si, negcmpeqv4hi, negcmpgtuv8qi, negcmpgtv2si): Likewise.
      	(negcmpgtv4hi, mcmv, mcnvs_lw, mcnvs_wb, mcnvs_wub): Likewise.
      	(mextr_rl, mextr_lr, mextr1, mextr2, mextr3, mextr4, mextr5): Likewise.
      	(mextr6, mextr7, mmacfx_wl, mmacfx_wl_i, mmacnfx_wl): Likewise.
      	(mmacnfx_wl_i, mulv2si3, mulv4hi3, mmulfx_l, mmulfx_w): Likewise.
      	(mmulfxrp_w, mmulhi_wl, mmullo_wl, mmul23_wl, mmul01_wl): Likewise.
      	(mmulsum_wq, mmulsum_wq_i, mperm_w, mperm_w_little): LIkewise.
      	(mperm_w_big, mperm_w0, msad_ubq, msad_ubq_i, mshalds_l): Likewise.
      	(mshalds_w, ashrv2si3, ashrv4hi3, mshards_q, mshfhi_b): Likewise.
      	(mshflo_b,  mshf4_b, mshf0_b, mshfhi_l, mshflo_l, mshf4_l): Likewsie.
      	(mshf0_l, mshfhi_w, mshflo_w, mshf4_w, mshf0_w, mshfhi_l_di): Likewise.
      	(mshfhi_l_di_rev, mshflo_l_di, mshflo_l_di_rev): Likewise.
      	(mshflo_l_di_x, mshflo_l_di_x_rev, ashlv2si3, ashlv4hi3): Likewise.
      	(lshrv2si3, lshrv4hi3, subv2si3, subv4hi3, sssubv2si3): Likewise.
      	(ussubv8qi3, sssubv4hi3, fcosa_s, fsina_s, fipr, fsrra_s): Likewise.
      	(ftrv): Likewise.
      
      	(fpu_switch+1, fpu_switch+2): Remove constraint.
      
      From-SVN: r55147
      c1b92d09
    • Neil Booth's avatar
      cmdlne-dD.c, [...]: New tests. · 7098b619
      Neil Booth authored
      	* gcc.dg/cpp/trad/cmdlne-dD.c, gcc.dg/cpp/trad/cmdlne-dM.c,
      	gcc.dg/cpp/trad/include.c: New tests.
      
      From-SVN: r55146
      7098b619
    • Hans-Peter Nilsson's avatar
      re PR target/7177 (cris-axis-elf: ICE at -O2, unrecognized insn, sign-extend mem) · 0a220b4a
      Hans-Peter Nilsson authored
      	PR target/7177
      	* gcc.c-torture/compile/20020701-1.c: New test.
      
      From-SVN: r55143
      0a220b4a
    • Stan Shebs's avatar
      objc.exp (objc_target_compile): Add the -I path to ObjC header here... · bbeb33f2
      Stan Shebs authored
              * lib/objc.exp (objc_target_compile): Add the -I path to ObjC
              header here...
              * lib/objc-torture.exp (objc-torture-compile): ...instead of here
              (objc-torture-execute): or here.
      
      From-SVN: r55142
      bbeb33f2
    • Aldy Hernandez's avatar
      tree.c (build_function_type_list): Update function comment. · 97ebc06f
      Aldy Hernandez authored
      2002-07-01  Aldy Hernandez  <aldyh@redhat.com>
      
              * tree.c (build_function_type_list): Update function comment.
              Rename first argument to return_type.
      
      From-SVN: r55141
      97ebc06f
    • Benjamin Kosnik's avatar
      configure.in (libtool_VERSION): Bump to 5:0:0. · 9035b63a
      Benjamin Kosnik authored
      2002-07-01  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* configure.in (libtool_VERSION): Bump to 5:0:0.
      	* configure: Regenerate.
      
      From-SVN: r55140
      9035b63a
    • Neil Booth's avatar
      Makefile.in: Remove all trace of tradcpp.c, tradcpp.h, tradcif.y and related files. · 353a10d0
      Neil Booth authored
      	* Makefile.in: Remove all trace of tradcpp.c, tradcpp.h,
      	tradcif.y and related files.
      
      From-SVN: r55139
      353a10d0
    • Nathanael Nerode's avatar
      Remove references to building emacs from top level Makefile.in. · cfefc434
      Nathanael Nerode authored
      From-SVN: r55138
      cfefc434
    • J"orn Rennecke's avatar
      * gcc.c-torture/execute/arith-rand-ll.c: New test. · 03c53278
      J"orn Rennecke authored
      From-SVN: r55136
      03c53278
    • Neil Booth's avatar
      cpptrad.c (skip_whitespace): Pass pointer to prior char. · e34cabb3
      Neil Booth authored
      	* cpptrad.c (skip_whitespace): Pass pointer to prior char.
      testsuite:
      	* gcc.dg/cpp/trad/escaped-nl.c: New test.
      
      From-SVN: r55135
      e34cabb3
    • Neil Booth's avatar
      * cppmacro.c: Forgotten commit. · 590e1987
      Neil Booth authored
      From-SVN: r55134
      590e1987
    • Kaveh R. Ghazi's avatar
      * mips.h (FUNCTION_ARG_REGNO_P): Fix parentheses. · 8bf3ccbb
      Kaveh R. Ghazi authored
      From-SVN: r55133
      8bf3ccbb
    • GCC Administrator's avatar
      Daily bump. · 0201312b
      GCC Administrator authored
      From-SVN: r55132
      0201312b
    • Douglas B Rupp's avatar
      configure.in (OUTPUT_OPTION,NO_MINUS_C_MINUS_O): Configure. · 7fda878c
      Douglas B Rupp authored
      2002-06-30  Douglas Rupp  <rupp@gnat.com>
      
      	* configure.in (OUTPUT_OPTION,NO_MINUS_C_MINUS_O): Configure.
      	* Makefile.in (OUTPUT_OPTION): Use.
      
      From-SVN: r55127
      7fda878c
    • T.J. Mather's avatar
      gcj.texi: Fixed gcj invocation example so that it compiles. · 32c4621e
      T.J. Mather authored
      2002-06-29  T.J. Mather  <tjmather@maxmind.com>
      
      	* gcj.texi: Fixed gcj invocation example so that it compiles.
      
      From-SVN: r55126
      32c4621e
    • Devang Patel's avatar
      objc-act.c (finish_file): Avoid finish_objc() if -fsyntax-only. · 118f8dc1
      Devang Patel authored
      2002-06-30  Devang Patel  <dpatel@apple.com>
      
              * objc/objc-act.c (finish_file): Avoid finish_objc() if
              -fsyntax-only.
      
      2002-06-30  Devang Patel  <dpatel@apple.com>
      
              * objc.dg/fsyntax-only.m: New test.
      
      From-SVN: r55125
      118f8dc1
  2. Jun 30, 2002
    • Nathan Sidwell's avatar
      cp-tree.h (CPTI_TINFO_DECL_TYPE): Replace with ... · d689a8f1
      Nathan Sidwell authored
      	* cp-tree.h (CPTI_TINFO_DECL_TYPE): Replace with ...
      	(CPTI_TYPE_INFO_PTR_TYPE): ... this.
      	(tinfo_decl_type): Replace with ...
      	(type_info_ptr_type): ... this.
      	(import_export_tinfo): Declare.
      	(tinfo_decl_p): Rename to ...
      	(unemitted_tinfo_decl_p): ... this.
      	* decl2.c (import_export_decl): Break out tinfo handling into ...
      	(import_export_tinfo): ... here. New function.
      	(finish_file): Adjust.
      	* rtti.c (TINFO_REAL_NAME): New macro.
      	(init_rtti_processing): Create the tinfo types.
      	(get_tinfo_decl_dynamic): Use type_info_ptr_type, get_tinfo_ptr.
      	(get_tinfo_decl): Adjust.
      	(get_tinfo_ptr): New function.
      	(get_type_id): Use it.
      	(tinfo_base_init): Create vtable decl here, if it doesn't exist.
      	(ptr_initializer): Use get_tinfo_ptr.
      	(ptm_initializer): Likewise.
      	(synthesize_tinfo_var): Break into ...
      	(get_pseudo_ti_init): ... this. Just create the initializer.
      	(get_pseudo_ti_desc): .. and this.
      	(create_real_tinfo_var): Remove.
      	(create_pseudo_type_info): Don't create the vtable decl here.
      	(get_vmi_pseudo_type_info): Remove.
      	(create_tinfo_types): Adjust.
      	(tinfo_decl_p): Rename to ...
      	(unemitted_tinfo_decl_p): ... here. Adjust.
      	(emit_tinfo_decl): Adjust. Create the initializer.
      
      From-SVN: r55124
      d689a8f1
    • Denis Chertykov's avatar
      extend.texi: Add ip2k port to description of attribute naked. · e3223ea2
      Denis Chertykov authored
      
      	* doc/extend.texi: Add ip2k port to description of attribute
      	naked.
      	* doc/install.texi (Specific): Add ip2k description.
      	* doc/install-old.texi (Configurations): Add ip2k to possible
      	cpu types.
      	* doc/md.texi: Document ip2k constraints.
      	* config/ip2k/crt0.S: New file.
      	* config/ip2k/ip2k-protos.h: New file.
      	* config/ip2k/ip2k.c: New file.
      	* config/ip2k/ip2k.h: New file.
      	* config/ip2k/ip2k.md: New file.
      	* config/ip2k/libgcc.S: New file.
      	* config/ip2k/t-ip2k: New file.
      
      Co-Authored-By: default avatarAlan Lehotsky <apl@alum.mit.edu>
      Co-Authored-By: default avatarBernd Schmidt <bernds@redhat.com>
      Co-Authored-By: default avatarDave Hudson <dave.hudson@ubicom.com>
      Co-Authored-By: default avatarFrank Ch. Eigler <fche@redhat.com>
      Co-Authored-By: default avatarGraham Stott <grahams@redhat.com>
      Co-Authored-By: default avatarJeff Johnston <jjohnstn@redhat.com>
      Co-Authored-By: default avatarMatthew Green <mrg@redhat.com>
      Co-Authored-By: default avatarRichard Henderson <rth@redhat.com>
      
      From-SVN: r55122
      e3223ea2
    • Hans-Peter Nilsson's avatar
      mmix.md ("return"): New pattern. · 66b8c57f
      Hans-Peter Nilsson authored
      	* config/mmix/mmix.md ("return"): New pattern.
      	* config/mmix/mmix.h (TARGET_MASK_USE_RETURN_INSN)
      	(TARGET_USE_RETURN_INSN): New macros.
      	(TARGET_DEFAULT): Include TARGET_MASK_USE_RETURN_INSN.
      	(TARGET_SWITCHES): Add -msingle-exit and -mno-single-exit.
      	* config/mmix/mmix.c (MMIX_OUTPUT_REGNO): Fix spacing.
      	(MMIX_POP_ARGUMENT): New macro.
      	(mmix_target_asm_function_prologue): When no epilogue is executed,
      	just emit a blank line.  Use MMIX_POP_ARGUMENT with final POP insn.
      	(mmix_print_operand) <case '.'>: New case.
      	(mmix_print_operand_punct_valid_p): Match '.'.
      	(mmix_use_simple_return): New function.
      	* config/mmix/mmix-protos.h (mmix_use_simple_return): Prototype.
      	* doc/invoke.texi (Option Summary) <MMIX Summary>: Add
      	-msingle-exit, -mno-single-exit.
      	(MMIX Options): Ditto.
      
      From-SVN: r55121
      66b8c57f
    • Aldy Hernandez's avatar
      i386.c (ix86_init_mmx_sse_builtins): Fix typos. · e7a60f56
      Aldy Hernandez authored
      2002-06-30  Aldy Hernandez  <aldyh@redhat.com>
      
              * config/i386/i386.c (ix86_init_mmx_sse_builtins): Fix typos.
      
      From-SVN: r55120
      e7a60f56
    • Kaveh R. Ghazi's avatar
      * gengtype.c (oprintf): Move VA_CLOSE after all fixedarg uses. · 1ef7d32b
      Kaveh R. Ghazi authored
      From-SVN: r55119
      1ef7d32b
    • GCC Administrator's avatar
      Daily bump. · 76147cce
      GCC Administrator authored
      From-SVN: r55117
      76147cce
    • Alan Modra's avatar
      * unroll.c (loop_iterations): Handle EQ loops. · c8b64bf2
      Alan Modra authored
      From-SVN: r55111
      c8b64bf2
    • David Edelsohn's avatar
      rs6000.md (ctrdi): Allocate pseudo for FPR constraint in define_expand, not splitter. · 35aba846
      David Edelsohn authored
              * config/rs6000/rs6000.md (ctrdi): Allocate pseudo for FPR
              constraint in define_expand, not splitter.
              Formatting.
      
      From-SVN: r55110
      35aba846
    • Aldy Hernandez's avatar
      i386.c (ix86_init_mmx_sse_builtins): Use build_function_type_list instead of build_function_type. · b4de2f7d
      Aldy Hernandez authored
      2002-06-29  Aldy Hernandez  <aldyh@redhat.com>
      
              * config/i386/i386.c (ix86_init_mmx_sse_builtins): Use
              build_function_type_list instead of build_function_type.
      
              * config/ia64/ia64.c (ia64_init_builtins): Same.
      
              * config/alpha/alpha.c (alpha_init_builtins): Same.
      
              * config/rs6000/rs6000.c (altivec_init_builtins): Same.
      
              * config/arm/arm.c (arm_init_builtins): Same.
      
              * tree.h: Add build_function_type_list prototype.
      
              * tree.c (build_function_type_list): New.
      
      From-SVN: r55109
      b4de2f7d
  3. Jun 29, 2002
Loading