1. 02 Sep, 2003 17 commits
  2. 01 Sep, 2003 8 commits
    • mmitchel's avatar
      PR c++/12114 · d7d79557
      mmitchel authored
      	* g++.dg/init/ref9.C: New test.
      
      	PR c++/11972
      	* g++.dg/template/nested4.C: New test.
      
      	PR c++/12114
      	* cp-tree.h (initialize_reference): Change prototype.
      	* call.c (initialize_reference): Add cleanup parameter.
      	* decl.c (grok_reference_init): Likewise.
      	(check_initializer): Likewise.
      	(cp_finish_decl): Insert a CLEANUP_STMT if necessary.
      	(duplicate_decls): When replacing an anticipated builtin, do not
      	honor TREE_NOTHROW.
      	* typeck.c (convert_for_initialization): Correct call to
      	initialize_reference.
      
      	PR c++/11972
      	* pt.c (dependent_type_p_r): Pass only the innermost template
      	arguments to any_dependent_template_arguments_p.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70981 138bc75d-0d04-0410-961f-82ee72b054a4
      d7d79557
    • mmitchel's avatar
      * Makefile.in (gencheck.o): Remove build commands. · c061bf74
      mmitchel authored
      	(dummy-conditions.o): Likewise.
      	(read-rtl.o): Likewise.
      	(gensupport.o): Likewise.
      	(genconfig$(build_exeext)): Remove rule.
      	(genconfig.o): Remove build commands.
      	(genflags$(build_exeext)): Remove rule.
      	(genflags.o): Remove build commands.
      	(gencodes$(build_exeext)): Remove rule.
      	(gencodes.o): Remove build commands.
      	(genconstants.o): Remove build commands.
      	(genemit$(build_exeext)): Remove rule.
      	(genemit.o): Remove build commands.
      	(genrecog$(build_exeext)): Remove rule.
      	(genrecog.o): Remove build commands.
      	(genextract$(build_exeext)): Remove rule.
      	(genextract.o): Remove build commands.
      	(genpeep$(build_exeext)): Remove rule.
      	(genpeep.o): Remove build commands.
      	(genattr$(build_exeext)): Remove rule.
      	(genattr.o): Remove build commands.
      	(genprognames): New variable.
      	(genprogs): Likewise.
      	(genobjs): Likewise.
      	(genprogs): New rule.
      	(genobjs): Likewise.
      	(genattrtab.o): Remove build commands.
      	(genautomata.o): Likewise.
      	(genoutput$(build_exeext)): Remove rule.
      	(genoutput.o): Remove build commands.
      	(gengenrtl.o): Likewise.
      	(genpreds.o): Likewise.
      	(gengtype.o): Likewise.
      	(genconditions.o): Likewise.
      	(gen-protos.o): Likewise.
      	(scan.o): Likewise.
      	(fix-header.o): Likewise.
      	(scan-decls.o): Likewise.
      	(check-g++): Combine with other check targets.
      	(check-gcc): Likewise.
      	(check-g77): Likewise.
      	(check-objc): Likewise.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70980 138bc75d-0d04-0410-961f-82ee72b054a4
      c061bf74
    • neroden's avatar
      * config.gcc: Remove host-specific stuff which is unused here · 8e39d752
      neroden authored
      	since the introduction of config.host.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70978 138bc75d-0d04-0410-961f-82ee72b054a4
      8e39d752
    • neroden's avatar
      * doc/fragments.texi: Mention config.host. · f39bce10
      neroden authored
      	* doc/sourcebuild.texi: Mention config.host.  Give brief descriptions
      	of config.build, config.host, and config.gcc.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70977 138bc75d-0d04-0410-961f-82ee72b054a4
      f39bce10
    • zack's avatar
      * c-decl.c (pushdecl): Don't put variables on · 2cb72777
      zack authored
      	C_TYPE_INCOMPLETE_VARS of a type unless that type is itself
      	incomplete.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70976 138bc75d-0d04-0410-961f-82ee72b054a4
      2cb72777
    • neroden's avatar
      * config.host: New file. · 973f8bf3
      neroden authored
      	* config.gcc: Remove some host-specific stuff and some
      	logic needed only for repeated invocation.
      	* configure.in: Use config.host.
      	* configure: Regenerate.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70975 138bc75d-0d04-0410-961f-82ee72b054a4
      973f8bf3
    • zlomek's avatar
      * c-typeck.c (build_binary_op): Kill BIT_ANDTC_EXPR. · 734c48bb
      zlomek authored
      	* convert.c (convert_to_integer): Kill BIT_ANDTC_EXPR.
      	* fold-const.c (int_const_binop): Kill BIT_ANDTC_EXPR.
      	(fold): Kill BIT_ANDTC_EXPR and label bit_and.
      	* tree.def (BIT_ANDTC_EXPR): Kill.
      
      	* error.c (dump_expr): Kill BIT_ANDTC_EXPR.
      	* lex.c (init_operators): Kill BIT_ANDTC_EXPR.
      	* pt.c (tsubst_copy): Kill BIT_ANDTC_EXPR.
      	* typeck.c (build_binary_op): Kill BIT_ANDTC_EXPR.
      	(tsubst_copy_and_build): Kill BIT_ANDTC_EXPR.
      
      	* com.c (ffecom_overlap_): Kill BIT_ANDTC_EXPR.
      	(ffecom_tree_canonize_ref_): Kill BIT_ANDTC_EXPR.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70972 138bc75d-0d04-0410-961f-82ee72b054a4
      734c48bb
    • gccadmin's avatar
      Daily bump. · f9d88e11
      gccadmin authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70970 138bc75d-0d04-0410-961f-82ee72b054a4
      f9d88e11
  3. 31 Aug, 2003 8 commits
  4. 30 Aug, 2003 7 commits
    • zack's avatar
      * c-tree.h: Delete COMPARE_DIFFERENT_TU from enumeration. · 76c16586
      zack authored
      	* c-typeck.c (same_translation_unit_p): New function.
      	(comptypes): Use it instead of flags parameter to identify
      	structure types from different translation units.
      	* c-decl.c (duplicate_decls): Always call comptypes with
      	COMPTYPE_STRICT flags argument.
      	(c_reset_state): Set BLOCK_SUPERCONTEXT of the block formed
      	to file_scope_decl.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70953 138bc75d-0d04-0410-961f-82ee72b054a4
      76c16586
    • zack's avatar
      * c-tree.h (C_TYPE_INCOMPLETE_VARS): New macro. · 3e0a85c2
      zack authored
      	* c-decl.c (struct c_scope): Remove "incomplete" field.
      	(pushdecl): Attach variables with incomplete types to
      	the TYPE_MAIN_VARIANT of the incomplete type in question.
      	(finish_struct): Look at C_TYPE_INCOMPLETE_VARS for variables
      	to complete, not at current_scope->incomplete.  All such
      	variables do need completion.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70952 138bc75d-0d04-0410-961f-82ee72b054a4
      3e0a85c2
    • rearnsha's avatar
      2003-08-30 Richard Earnshaw <rearnsha@arm.com> · 4d18cf6f
      rearnsha authored
      	Nicolas Pitre <nico@cam.org>
      
      * arm/lib1funcs.asm (RETCOND): Delete.
      (RETLDM): New assembler macro.  Use it for returning with ldm/ldr.
      (ARM_LDIV0, THUMB_LDIV0): Collapse multiple definitions.
      (__ARM_ARCH__): Move here from ieee754-?f.S.
      (RET, RETc): Clean up definitions.
      (DIV_FUNC_END): Renamed from FUNC_END.  All uses changed.
      (FUNC_END): New macro that marks the end of any function.
      (ARM_FUNC_START): New macro that allows an assembler routine to be
      implemented in ARM code even if a Thumb-only build.
      Unconditionally include ieee754-?f.S.
      * arm/ieee754-df.S: Delete macros moved to lib1funcs.asm.
      Mark ends of functions.
      Split into separate conditionally-compiled units.
      Use RETLDM to return from routines.
      * arm/ieee754-sf.S: Similarly.
      * t-arm-elf (LIB1ASMFUNCS): Remove _ieee754_dp and _ieee754_sp.
      Add _negdf2 _addsubdf3 _muldivdf3 _cmpdf2 _unorddf2 _fixdfsi
      _truncdfsf2 _negsf2 _addsubsf3 _muldivsf3 _cmpsf2 _unordsf2
      _fixsfsi and _fixunssfsi.
      
      * arm/ieee754-df.S (__muldf3): Fix bug when result of a
      multiplication underflows to zero.
      (__adddf3): Fix bug when using VFP ordering on little-endian
      processors.
      (__fixdfsi): Use rrx to extract the carry into a register instead of
      MRS instruction.  Optimize later use of result.
      * arm/ieee754-sf.S (__fixsfsi): Likewise.
      (__fixunssfsi): Use a better sequence for handling negative-or-zero.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70949 138bc75d-0d04-0410-961f-82ee72b054a4
      4d18cf6f
    • gerald's avatar
      * MAINTAINERS: Update my e-mail address. · d4e272bb
      gerald authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70946 138bc75d-0d04-0410-961f-82ee72b054a4
      d4e272bb
    • mmitchel's avatar
      PR c++/12093 · f6638e25
      mmitchel authored
      	* g++.dg/template/non-dependent4.C: New test.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70943 138bc75d-0d04-0410-961f-82ee72b054a4
      f6638e25
    • mmitchel's avatar
      Remove inadvertent commit · a5039726
      mmitchel authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70942 138bc75d-0d04-0410-961f-82ee72b054a4
      a5039726
    • mmitchel's avatar
      2003-08-29 Mark Mitchell <mark@codesourcery.com> · cf326312
      mmitchel authored
      	PR c++/12093
      	* pt.c (build_non_dependent_expr): Do not build a
      	NON_DEPENDENT_EXPR for a STRING_CST.
      
      2003-08-29  Mark Mitchell  <mark@codesourcery.com>
      
      	PR c++/12093
      	* g++.dg/template/non-dependent4.C: New test.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70941 138bc75d-0d04-0410-961f-82ee72b054a4
      cf326312