1. 05 Dec, 2003 32 commits
  2. 04 Dec, 2003 8 commits
    • re PR rtl-optimization/13260 (Incorrect optimisation of loop termination condition) · fc64a247
      2003-12-04  Stuart Menefy <stuart.menefy@st.com>
      	    J"orn Rennecke <joern.rennecke@superh.com>
      
      	PR optimization/13260
      	* gcc.c-torture/execute/20031204-1.c: New test.
      
      Co-Authored-By: J"orn Rennecke <joern.rennecke@superh.com>
      
      From-SVN: r74297
      Stuart Menefy committed
    • i386.md (addqi3_carry): Use q not r constraints. · d67e96cf
              * config/i386/i386.md (addqi3_carry): Use q not r constraints.
              (subqi3_carry): Likewise.
      
      From-SVN: r74295
      Richard Henderson committed
    • re PR rtl-optimization/13260 (Incorrect optimisation of loop termination condition) · 3db1b434
      	PR optimization/13260
      	* sh-protos.h (sh_expand_t_scc): Declare.
      	* sh.h (PREDICATE_CODES): Add cmpsi_operand.
      	* sh.c (cmpsi_operand, sh_expand_t_scc): New functions.
      	* sh.md (cmpsi): Use cmpsi_operand.  If T_REG is compared to
      	something that is not a CONST_INT, copy it into a pseudo register.
      	(subc): Fix description of new T value.
      	(slt, sgt, sge, sgtu): Don't clobber T after rtl generation is over.
      	(sltu, sleu, sgeu): Likewise.
      	(seq, sne): Likewise. Use sh_expand_t_scc.
      
      From-SVN: r74294
      J"orn Rennecke committed
    • FilePermission.java: Import used classes explicitely. · a0a8f530
      2003-12-04  Michael Koch  <konqueror@gmx.de>
      
      	* java/io/FilePermission.java:
      	Import used classes explicitely.
      
      From-SVN: r74293
      Michael Koch committed
    • configure.in: Generalize the CONFIG_HEADERS pattern under which we stamp cstamp-h. · f1faaabd
      
      	* configure.in: Generalize the CONFIG_HEADERS pattern under which
      	we stamp cstamp-h.
      	* configure: Regenerate.
      
      From-SVN: r74292
      Nathanael Nerode committed
    • re PR other/13304 (demangler bad output, "operator<<" insteads of "operator< <") · a51753e4
      	* cp-demangle.c (IS_UPPER, IS_LOWER): Define.
      	(d_last_char): Define new macro.
      	(d_make_name): Reject an empty name.
      	(d_prefix, d_unqualified_name, d_type): Use new IS_* macros.
      	(d_substitution, d_print_identifier): Likewise.
      	(d_print_comp) [D_COMP_OPERATOR]: Likewise.
      	(d_print_comp) [D_COMP_TEMPLATE]: Use new d_last_char macro.
      	(d_print_mod) Use new d_last_char macro.
      	(d_print_cast): Use new d_last_char macro.
      	(is_ctor_or_dtor): Don't leak memory.
      
      	Fix handling of member function modifiers:
      	* cp-demangle.c (enum d_comp_type): Add D_COMP_RESTRICT_THIS,
      	D_COMP_VOLATILE_THIS, and D_COMP_CONST_THIS.
      	(d_dump): Dump new d_comp_type values.
      	(d_make_comp): Accept new d_comp_type values.
      	(has_return_type): Only accept _THIS variants of qualifiers.
      	(d_encoding): Without DMGL_PARAMS, only remove _THIS variants of
      	qualifiers.
      	(d_cv_qualifiers): Add member_fn parameter.  Change all callers.
      	(d_print_comp) [D_COMP_TYPED_NAME]: Rather than removing
      	qualifiers and printing them at the end, add _THIS qualifiers to
      	the modifier list.
      	(d_print_comp) [D_COMP_*_THIS]: New cases.
      	(d_print_comp) [D_COMP_PTRMEM_TYPE]: Remove special handling of
      	qualifiers.
      	(d_print_mod_list): Add suffix parameter.  Change all callers.
      	Keep walking the list even if the current modifier has been
      	printed.
      	(d_print_mod): Handle new _THIS qualifiers.
      	(d_print_function_type): Handle new _THIS qualifiers when deciding
      	whether to print a parenthesis.  Put a space before the
      	parenthesis in some cases.  Call d_print_mod_list again at the
      	end, passing suffix as 1.
      	(is_ctor_or_dtor): Look for new _THIS qualifiers.
      	* testsuite/demangle-expected: Add test case.
      
      	Fix for PR gcc/13304:
      	* cp-demangle.c (d_print_comp) [D_COMP_TEMPLATE]: If the character
      	before the '<' is itself a '<', insert a space.
      	(d_print_cast): Likewise.
      	* testsuite/demangle-expected: Add test case.
      
      	Fix for PR gcc/13244:
      	* cp-demangle.c (d_print_comp) [D_COMP_BINARY]: Wrap an expression
      	which uses the '>' operator in an extra layer of parens.
      	* testsuite/demangle-expected: Add test case.
      
      From-SVN: r74290
      Ian Lance Taylor committed
    • re PR libstdc++/13284 (126 g++ failures due to lrand48 not defined) · 82fa4538
      
      2003-12-04  Benjamin Kosnik  <bkoz@redhat.com>
      
      	PR libstdc++/13284
      	* include/bits/stl_algo.h (__random_number): Remove.
      	(random_shuffle): Use rand, as permitted by DR 395.
      	* include/ext/algorithm: Same.
      	* linkage.m4 (GLIBCXX_CHECK_STDLIB_SUPPORT): Remove lrand48.
      	* acconfig.h: Same.
      	* crossconfig.m4: Remove HAVE_DRAND48, HAVE_LRAND48.
      	* config.h.in: Regenerated.
      	* configure: Same.
      	* aclocal.m4: Same.
      
      From-SVN: r74288
      Benjamin Kosnik committed
    • BeanDescriptor.java, [...]: Explicitely import used classes. · cb611e3e
      2003-12-04  Michael Koch  <konqueror@gmx.de>
      
      	* java/beans/BeanDescriptor.java,
      	java/beans/EventSetDescriptor.java,
      	java/beans/FeatureDescriptor.java,
      	java/beans/IndexedPropertyDescriptor.java,
      	java/beans/Introspector.java,
      	java/beans/MethodDescriptor.java,
      	java/beans/PropertyDescriptor.java,
      	java/beans/SimpleBeanInfo.java: Explicitely import used classes.
      	* java/beans/beancontext/BeanContextServicesSupport.java
      	(serialVersionUID): New field.
      
      From-SVN: r74287
      Michael Koch committed