- 27 May, 2005 23 commits
-
-
gcc/ PR tree-optimization/21658 * tree-ssa-ccp.c (ccp_fold): Call fold_binary instead of fold_binary_to_constant. Likewise, call fold_unary instead of fold_unary_to_constant. testsuite/ PR tree-optimization/21658 * gcc.dg/tree-ssa/pr21658.c: New. From-SVN: r100266
Kazu Hirata committed -
* docs/html/test.html: Mention PCH_CXXFLAGS. * testsuite/lib/libstdc++.exp: Set PCH_CXXFLAGS by probing for an available stcd++.h PCH. * testsuite/libstdc++-dg/normal.exp: Use PCH_CXXFLAGS. From-SVN: r100264
Mark Mitchell committed -
2005-05-27 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr> * src/misc-inst.cc: Remove unnecessary included files. From-SVN: r100263
Theodore Papadopoulo committed -
2005-05-27 Benjamin Kosnik <bkoz@redhat.com> * include/bits/c++config: Remove extern template use when in debug mode, disable for non-weak systems. From-SVN: r100261
Benjamin Kosnik committed -
cp: PR c++/21455 * typeck.c (get_delta_difference): Cope with incomplete but equal classes. Reorder if. testsuite: PR c++/21455 * g++.dg/inherit/ptrmem3.C: New. From-SVN: r100258
Nathan Sidwell committed -
2005-05-27 Benjamin Kosnik <bkoz@redhat.com> PR libstdc++/20534 * include/debug/debug.h: Forwarding header, that pulls in details only if in debug mode. * include/debug/macros.h: ...transfer all the internal macros here. * include/debug/functions.h: ...transfer all the functions here. * include/debug/safe_iterator.h: Add functions.h, macros.h includes. * include/debug/safe_sequence.h: Same. * include/debug/vector: Tweak. * include/Makefile.am (debug_headers): Add new includes. * include/Makefile.in: Regenerate. * testsuite/17_intro/no_assert_neg.cc: Add. * include/ext/hash_set: Add debug mode include. * include/ext/hash_map: Same. * include/debug/hash_map: Fix included files to match actual files. * include/debug/hash_set: Same. From-SVN: r100255
Benjamin Kosnik committed -
cp: PR c++/21681 * parser.c (cp_parser_late_parsing_for_member): Disable access checking for template functions. testsuite: PR c++/21681 * g++.dg/parse/template16.C: New. From-SVN: r100252
Nathan Sidwell committed -
* vec.h: Implement integral type vector specialization. (VEC_T): Define a non-GTY structure. (VEC_T_GTY): Define a GTY structure. (VEC_TA): Rename to ... (VEC_TA_GTY): ... here. (DEF_VEC_I, DEF_VEC_ALLOC_I): New. (DEF_VEC_P, DEF_VEC_ALLOC_P): Adjust. (DEF_VEC_FUNC_P, DEF_VEC_ALLOC_FUNC_P): New, broken out of DEF_VEC_P and DEF_VEC_ALLOC_P. (DEF_VEC_O, DEF_VEC_ALLOC_O): Adjust. (DEF_VEC_FUNC_O, DEF_VEC_ALLOC_FUNC_O): New, broken out of DEF_VEC_O and DEF_VEC_ALLOC_O. * global.c: Use DEF_VEC_I, DEF_VEC_ALLOC_I. * lambda-code.c: Likewise. * tree-into-ssa.c: Likewise. * tree-ssa-live.c: Likewise. From-SVN: r100251
Nathan Sidwell committed -
* tree-into-ssa.c (update_ssa): Ensure that the operand cache is up-to-date. * tree-ssa-dom.c (tree_ssa_dominator_optimize): Call update_stmt_if_modified before calling update_ssa. From-SVN: r100250
Kazu Hirata committed -
2005-05-27 Ralf Corsepius <ralf.corsepius@rtems.org> * config/rs6000/t-rtems: Remove roe multilib variant. From-SVN: r100249
Ralf Corsepius committed -
From-SVN: r100248
Andreas Jaeger committed -
my editor in the previous commit. From-SVN: r100247
Ranjit Mathew committed -
re PR java/19870 (gcj -C doesn't generate accessors for private members across nested class boundaries) PR java/19870. * java-tree.h (OUTER_FIELD_ACCESS_IDENTIFIER_P): Rename to NESTED_FIELD_ACCESS_IDENTIFIER_P. (FIELD_INNER_ACCESS): Rename to FIELD_NESTED_ACCESS. (FIELD_INNER_ACCESS_P): Rename to FIELD_NESTED_ACCESS_P. * jcf-write.c (generate_classfile): Use NESTED_FIELD_ACCESS_IDENTIFIER_P instead of OUTER_FIELD_ACCESS_IDENTIFIER_P. * parse.y (build_outer_field_access): Rename to build_nested_field_access. Support static fields and outer-to-inner class accesses. (outer_field_access_p): Rename to nested_field_access_p. Support static fields and generalise to outer-to-inner class and sibling inner class accesses. (outer_field_expanded_access_p): Rename to nested_field_expanded_access_p and support static fields. (outer_field_access_fix): Rename to nested_field_access_fix and support static fields. (build_outer_field_access_expr): Rename to build_nested_field_access_expr and support static fields. (build_outer_field_access_methods): Rename to build_nested_field_access_methods and support static fields. For static fields, generate accessors without class instance parameters. (build_outer_field_access_method): Rename to build_nested_field_access_method and support static fields. (build_outer_method_access_method): Use NESTED_FIELD_ACCESS_IDENTIFIER_P instead of OUTER_FIELD_ACCESS_IDENTIFIER_P. (resolve_expression_name): Consider static field accesses across nested classes. (resolve_qualified_expression_name): Likewise. (java_complete_lhs): Use nested_field_access_fix instead of outer_field_access_fix. (patch_unary_op): Rename outer_field_flag to nested_field_flag. Use nested_field_expanded_access_p instead of outer_field_expanded_access_p. Use nested_field_access_fix instead of outer_field_access_fix. (check_thrown_exceptions): Use NESTED_FIELD_ACCESS_IDENTIFIER_P instead of OUTER_FIELD_ACCESS_IDENTIFIER_P. From-SVN: r100246
Ranjit Mathew committed -
* testsuite/libjava.lang/PR19870.java: New testcase. * testsuite/libjava.lang/PR19870.out: Expected output for the testcase. * testsuite/libjava.jacks/jacks.xfail: Add 8.5.2-accessible-static-member-usage-3 and 15.8.4-static-2 From-SVN: r100245
Ranjit Mathew committed -
* gcc.dg/i386-sse-8.c: Run test on all archs. * gcc.dg/2002122-2.c: Fix compiler flags. From-SVN: r100244
Andreas Jaeger committed -
2005-05-26 Chris Demetriou <cgd@broadcom.com> * MAINTAINERS (Write After Approval): Remove self. From-SVN: r100243
Chris Demetriou committed -
* objc.dg/isa-field-1.m: Only run on darwin. * objc.dg/lookup-1.m: Likewise. * objc.dg/try-catch-8.m: Likewise. From-SVN: r100242
Mike Stump committed -
* objc.dg/comp-types-8.m, objc.dg/encode-6.m, objc.dg/extra-semi.m, objc.dg/fix-and-continue-2.m, objc.dg/isa-field-1.m, objc.dg/lookup-1.m, objc.dg/method-15.m, objc.dg/method-16.m, objc.dg/method-17.m, objc.dg/method-18.m, objc.dg/method-19.m, objc.dg/next-runtime-1.m, objc.dg/no-extra-load.m, objc.dg/pragma-1.m, objc.dg/stubify-1.m, objc.dg/stubify-2.m, objc.dg/super-class-4.m, objc.dg/super-dealloc-1.m, objc.dg/super-dealloc-2.m, objc.dg/try-catch-6.m, objc.dg/try-catch-7.m, objc.dg/try-catch-8.m: New. From-SVN: r100241
Ziemowit Laski committed -
PR tree-optimization/9814 * ifcvt.c (noce_emit_move_insn): If we fail to recognize the move instruction, add the necessary clobbers by re-expanding the RTL for arithmetic operations via optab.c's expand_unop/expand_binop. (noce_try_bitop): New function to optimize bit manipulation idioms of the form "if (x & C) x = x op C" and "if (!(x & C) x = x op C". (noce_process_if_block): Call noce_try_bitop. * gcc.dg/pr9814-1.c: New test case. From-SVN: r100240
Roger Sayle committed -
* objc.dg/comp-types-8.m, objc.dg/encode-6.m, objc.dg/extra-semi.m, objc.dg/fix-and-continue-2.m, objc.dg/isa-field-1.m, objc.dg/lookup-1.m, objc.dg/method-15.m, objc.dg/method-16.m, objc.dg/method-17.m, objc.dg/method-18.m, objc.dg/method-19.m, objc.dg/next-runtime-1.m, objc.dg/no-extra-load.m, objc.dg/pragma-1.m, objc.dg/stubify-1.m, objc.dg/stubify-2.m, objc.dg/super-class-4.m, objc.dg/super-dealloc-1.m, objc.dg/super-dealloc-2.m, objc.dg/try-catch-6.m, objc.dg/try-catch-7.m, objc.dg/try-catch-8.m: New. From-SVN: r100239
Ziemowit Laski committed -
* reg-stack.c (convert_regs_entry, convert_regs_exit, convert_regs_1, convert_regs_2, convert_regs): Delete prototypes. (reg_to_stack): Move to end of the file. Initialize the per basic block information here, instead of... (convert_regs_entry): Here. (convert_regs): Change unused return type to void. From-SVN: r100238
Roger Sayle committed -
[[Split portion of a mixed commit.]] From-SVN: r100236.2
GCC Administrator committed -
* c-pch.c, timevar.c, timevar.h, unwind-compat.c, unwind-dw2-fde-compat.c, unwind-dw2-fde.c, config/mmix/mmix.h, config/rs6000/eabispe.h, config/rs6000/lynx.h, config/sh/elf.h, config/sh/symbian-pre.h, config/sparc/sparc-protos.h: Update copyright. From-SVN: r100234
Kazu Hirata committed
-
- 26 May, 2005 17 commits
-
-
* darwin.h (ASM_OUTPUT_LABELREF): Handle quoted non-lazy pointers for Objective-C++. From-SVN: r100233
Mike Stump committed -
From-SVN: r100232
Andreas Jaeger committed -
From-SVN: r100230
Andreas Jaeger committed -
* lib/obj-c++.exp (obj-c++_target_compile): Declare global variable, remove extraneous semicolons. From-SVN: r100229
Janis Johnson committed -
[gcc/testsuite/ChangeLog] 2005-05-26 Ziemowit Laski <zlaski@apple.com> * obj-c++.dg/comp-types-12.mm: New. * objc.dg/comp-types-11.m: New. * objc.dg/selector-4.m: New. From-SVN: r100226
Ziemowit Laski committed -
PR testsuite/20772 * g++.old-deja/g++.ext/attrib1.C, g++.old-deja/g++.ext/attrib2.C, g++.old-deja/g++.ext/attrib3.C, g++.old-deja/g++.other/store-expr1.C, g++.old-deja/g++.other/store-expr2.C, g++.dg/opt/longbranch2.C, gcc.dg/20000609-1.c, gcc.dg/20000720-1.c, gcc.dg/20011107-1.c, gcc.dg/20011119-1.c, gcc.dg/20020108-1.c, gcc.dg/20020122-2.c, gcc.dg/20020122-3.c, gcc.dg/20020201-3.c, gcc.dg/20020206-1.c, gcc.dg/20020218-1.c, gcc.dg/20020310-1.c, gcc.dg/20020411-1.c, gcc.dg/20020418-2.c, gcc.dg/20020426-1.c, gcc.dg/20020426-2.c, gcc.dg/20020517-1.c, gcc.dg/20020523-1.c, gcc.dg/20020523-2.c, gcc.dg/20020729-1.c, gcc.dg/20030204-1.c, gcc.dg/20030826-2.c, gcc.dg/20030926-1.c, gcc.dg/20031202-1.c, gcc.dg/980312-1.c, gcc.dg/980313-1.c, gcc.dg/990424-1.c, gcc.dg/990524-1.c, gcc.dg/991230-1.c, gcc.dg/i386-387-1.c, gcc.dg/i386-387-2.c, gcc.dg/i386-387-3.c, gcc.dg/i386-387-4.c, gcc.dg/i386-387-5.c, gcc.dg/i386-387-6.c, gcc.dg/i386-bitfield1.c, gcc.dg/i386-bitfield2.c, gcc.dg/i386-loop-1.c, gcc.dg/i386-loop-2.c, gcc.dg/i386-loop-3.c, gcc.dg/i386-pic-1.c, gcc.dg/i386-regparm.c, gcc.dg/i386-signbit-1.c, gcc.dg/i386-signbit-2.c, gcc.dg/i386-sse-5.c, gcc.dg/i386-sse-8.c, gcc.dg/i386-unroll-1.c, gcc.dg/tls/opt-1.c, gcc.dg/tls/opt-2.c, gcc.dg/unroll-1.c: Handle 32-bit x86-64 compilation. From-SVN: r100225
Andreas Jaeger committed -
* gcc.c-torture/execute/ieee/ieee.exp: Set float-store for 32-bit x86-64 compilation. From-SVN: r100224
Andreas Jaeger committed -
tree-ssa-forwprop.c (forward_propagate_addr_expr): See through ADDR_EXPR in finding place to propagate into. * tree-ssa-forwprop.c (forward_propagate_addr_expr): See through ADDR_EXPR in finding place to propagate into. From-SVN: r100223
Richard Guenther committed -
2005-05-26 Bryce McKinlay <mckinlay@redhat.com> * decl.c (GCJ_BINARYCOMPAT_ADDITION, GCJ_BOOTSTRAP_LOADER_ADDITION): Removed. (FLAG_BINARYCOMPAT_ABI, FLAG_BOOTSTRAP_LOADER, MINOR_BINARYCOMPAT_ABI_VERSION): New. (GCJ_CURRENT_BC_ABI_VERSION): Use new method to calculate version ID. (parse_version): Calculate version ID using new method. Use bit-flags for flag_indirect_dispatch and flag_bootstrap_classes. 2005-05-26 Bryce McKinlay <mckinlay@redhat.com> * include/jvm.h (FLAG_BINARYCOMPAT_ABI, FLAG_BOOTSTRAP_LOADER): New. (GCJ_BINARYCOMPAT_ADDITION, GCJ_BOOTSTRAP_LOADER_ADDITION): Removed. (OLD_GCJ_40_BC_ABI_VERSION): Renamed. Old-style version ID for BC-ABI classes. (GCJ_CXX_ABI_VERSION): Renamed from GCJ_ABI_VERSION. (GCJ_40_BC_ABI_VERSION): New. Calculate version IDs using new method. (_Jv_CheckABIVersion): Check for both old and new style version IDs. (_Jv_ClassForBootstrapLoader): Use FLAG_BOOTSTRAP_LOADER. From-SVN: r100222
Bryce McKinlay committed -
PR testsuite/20772 * gfortran.dg/promotion.f90, gcc.misc-tests/i386-pf-3dnow-1.c, gcc.misc-tests/i386-pf-athlon-1.c, gcc.misc-tests/i386-pf-none-1.c, gcc.misc-tests/i386-pf-sse-1.c, g++.dg/opt/mmx1.C, g++.dg/other/big-struct.C, g++.dg/abi/bitfield3.C, g++.dg/abi/bitfield8.C, g++.dg/abi/bitfield9.C, g++.dg/abi/empty7.C, g++.dg/abi/empty9.C, g++.dg/abi/layout4.C, g++.dg/abi/thunk1.C, g++.dg/abi/thunk2.C, g++.dg/abi/vbase11.C, g++.dg/abi/vthunk2.C, g++.dg/abi/vthunk3.C, g++.dg/ext/attrib8.C: Run also on x86_64 compiling 32-bit x86 programs. * g++.dg/opt/reg-stack4.C, g++.dg/eh/simd-1.C, g++.dg/eh/simd-1.C, gcc.dg/setjmp-2.c, gcc.dg/short-compare-1.c, gcc.dg/short-compare-2.c, gcc.target/i386/asm-1.c: Handle 32-bit x86-64 compilation. * g++.dg/warn/register-var-1.C, g++.dg/charset/asm2.c: Run also on x86_64. * gcc.dg/i386-pentium4-not-mull.c: Change option handling to use effective-target ilp32. From-SVN: r100220
Andreas Jaeger committed -
* data.c, parse.c, trans-array.c, trans-decl.c, trans-intrinsic.c, trans-stmt.c, trans-types.c, trans.c, trans.h: Fix comment typos. Follow spelling conventions. From-SVN: r100219
Kazu Hirata committed -
* c-common.c, c-parser.c, cfgbuild.c, cfghooks.c, cfghooks.h, cfgrtl.c, cgraphunit.c, ddg.c, expr.h, gcse.c, ggc-page.c, ggc-zone.c, gimplify.c, ipa-inline.c, longlong.h, targhooks.c, tree-flow-inline.h, tree-pass.h, tree-ssa-dse.c, tree-ssa-loop-im.c, tree-ssa-loop-ivopts.c, tree-ssa-operands.c, tree-vect-analyze.c, tree-vect-transform.c, tree-vectorizer.c, tree.c, config/arm/arm.c, config/bfin/bfin.c, config/frv/frv.c, config/frv/frv.md, config/i386/i386.c, config/i386/sse.md, config/m68hc11/m68hc11.c, config/m68hc11/m68hc11.h, config/mcore/mcore.c, config/mips/mips.c, config/mips/mips.md, config/rs6000/darwin-ldouble.c, config/rs6000/rs6000.c, config/rs6000/rs6000.h, config/sh/sh.c, config/sh/sh.md, config/sh/ushmedia.h, config/sparc/sparc.c, config/sparc/sparc.md, config/stormy16/stormy-abi: Fix comment typos. Follow spelling conventions. * doc/invoke.texi, doc/tm.texi, doc/tree-ssa.texi: Fix typos. Follow spelling conventions. From-SVN: r100218
Kazu Hirata committed -
* gcc.target/mips/ext_ins.c: New test for testing the generation of MIPS32/64 rev 2 ext/ins instructions. * config/mips/mips.c (mips_use_ins_ext_p): New helper function that determines whether the MIPS32/64 R2 ext/ins should be used. * config/mips/mips.h (ISA_HAS_EXT_INS): New macro. * config/mips/mips.md (extzv): Changed predicate for operand to nonimmediate_operand. Add code to generate insn patterns for extzvsi and extzvdi. (extzv<mode>): New pattern to match mips32/64 r2 ext insn. (insv): Similarly for insertion. (insv<mode>): Similarly. From-SVN: r100212
David Ung committed -
* treelang/compile/unsigned.tree: Use gimple instead of nonexisting generic dump. From-SVN: r100208
Andreas Jaeger committed -
PR c++/21768 * pt.c (redeclare_class_template): Change error message according to coding conventions. From-SVN: r100206
Volker Reichelt committed -
2005-05-26 Paolo Carlini <pcarlini@suse.de> PR libstdc++/13943 * include/c_std/std_cstdlib.h: Do not open code llabs and lldiv, available when _GLIBCXX_USE_C99 is defined. * testsuite/26_numerics/cstdlib/13943.cc: New. * acinclude.m4 ([GLIBCXX_ENABLE_C99]): For completeness, check also strtoll and strtoull for ac_c99_stdlib. * configure: Regenerate. From-SVN: r100205
Paolo Carlini committed -
From-SVN: r100201
Volker Reichelt committed
-