- 12 Oct, 2005 15 commits
-
-
cp: PR c++/23797 * parser.c (cp_parser_functional_cast): Cope when TYPE is not a TYPE_DECL. Use dependent_type_p to check type. * pt.c (uses_template_parms_p): Use dependent_type_p for a TYPE_DECL. (type_dependent_expression_p): Assert we've not been given a TYPE_DECL. testsuite: PR c++/23797 * g++.dg/other/typename8.C: New. From-SVN: r105312
Nathan Sidwell committed -
cp: PR c++/21117 * decl.c (check_function_type): Correctly overwrite incomplete return type with void type. * typeck.c (check_return_expr): If the function's return type is void, don't try and convert a return expr. testsuite: PR c++/21117 * g++.dg/other/return1.C: New. From-SVN: r105310
Nathan Sidwell committed -
PR rtl-opt/23324 * cfgexpand.c (add_alias_set_conflicts): Use objects_must_conflict_p. From-SVN: r105306
Richard Henderson committed -
PR c++/23730 * call.c (build_object_call): If BINFO is NULL, bypass lookup_fnfields and set fns to NULL_TREE. From-SVN: r105304
David Edelsohn committed -
From-SVN: r105301
Andreas Schwab committed -
2005-10-12 Paolo Bonzini <bonzini@gnu.org> PR c++/24052 * error.c (dump_expr): Pass LABEL_DECL to dump_decl. Print an ADDR_EXPR of a LABEL_DECL as &&. ==> testsuite/ChangeLog <== 2005-10-12 Paolo Bonzini <bonzini@gnu.org> PR c++/24052 * g++.dg/ext/label5.C: New. From-SVN: r105297
Paolo Bonzini committed -
2005-10-12 Richard Guenther <rguenther@suse.de> * Makefile.in (CGRAPH_H): Depend on $(TREE_H). From-SVN: r105294
Richard Guenther committed -
PR c++/19964 * stor-layout.c (place_field): Set DECL_FIELD_OFFSET and DECL_FIELD_BIT_OFFSET of FIELD_DECLs, even if they have an invalid type. cp: PR c++/19964 * cp/class.c (walk_subobject_offsets): Don't walk error_mark_node. testsuite: PR c++/19964 * g++.dg/parse/crash31.C: New. From-SVN: r105293
Nathan Sidwell committed -
From-SVN: r105292
Razya Ladelsky committed -
* gcc.dg/ipa/ipa-1.c: New test. * gcc.dg/ipa/ipa-2.c: New test. * gcc.dg/ipa/ipa-3.c: New test. * gcc.dg/ipa/ipa-4.c: New test. * gcc.dg/ipa/ipa-5.c: New test. * gcc.dg/ipa/ipa.exp: New file. From-SVN: r105291
Razya Ladelsky committed -
2005-10-12 Richard Guenther <rguenther@suse.de> PR c++/23799 * varasm.c (output_constant): Correct typo from previous patch by DJ. From-SVN: r105290
Richard Guenther committed -
2005-10-12 Paul Thomas <pault@gcc.gnu.org> PR fortran/24207 * resolve.c (resolve_symbol): Exclude use and host associated symbols from the test for private objects in a public namelist. 2005-10-12 Paul Thomas <pault@gcc.gnu.org> PR fortran/24207 gfortran.dg/private_type_3.f90: New test. From-SVN: r105289
Paul Thomas committed -
* trans-common.c (build_field): Fix comment typo. (create_common): Set backend_decl of COMMON or EQUIVALENCEd variables to a VAR_DECL with the COMPONENT_REF in DECL_HAS_VALUE_EXPR rather than COMPONENT_REF directly. * f95-lang.c (gfc_expand_function): Emit debug info for EQUIVALENCEd variables if the equiv union is going to be output. From-SVN: r105288
Jakub Jelinek committed -
2005-10-11 Andrew Pinski <pinskia@physics.uc.edu> PR libstdc++/23926 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Fix typo in check for GNU LD. * configure: Regenerate. From-SVN: r105285
Andrew Pinski committed -
[[Split portion of a mixed commit.]] From-SVN: r105278.2
GCC Administrator committed
-
- 11 Oct, 2005 21 commits
-
-
PR fortran/20786 * iresolve.c (gfc_resolve_aint, gfc_resolve_anint ): Type conversion of the argument. gfortran.dg/aint_anint_1.f90: New test. From-SVN: r105276
Steven G. Kargl committed -
PR rtl-optimization/13931 * combine.c: Revert patch of 2003-05-14, and: (try_combine): Only set elim_i1 and elim_i2 if the destination is completely killed in the appropriate insn. (distribute_notes): Don't skip multiple hard register test for elim_i1 and elim_i2. From-SVN: r105275
Ian Lance Taylor committed -
PR libgfortran/24313 * c99_functions.c (csqrtf, csqrt): Fix choice of branch cut. Note csqrt{f} were imported from glibc, and this bug is still present there. glibc PR is 1146. From-SVN: r105274
Steven G. Kargl committed -
cp/ PR c++/8057 * cvt.c (convert_to_void): Don't warn about unused values when processing a template declaration. testsuite/ PR c++/8057 * g++.dg/warn/noeffect7.C: New test. * g++.dg/warn/noeffect2.C: Instantiate templates. * g++.dg/warn/noeffect4.C: Instantiate template. Add new error and warning. From-SVN: r105273
Ian Lance Taylor committed -
PR c/24255 * c-typeck.c (convert_for_assignment): Use build_constructor_single to initialize a transparent union instead of a nop_expr. From-SVN: r105270
Richard Henderson committed -
* Makefile.in (tree-ssa-dce.o): Depend on SCEV_H. * tree-ssa-dce.c: Include tree-scalar-evolution.h. (tree_ssa_dce_loop): Call scev_reset. From-SVN: r105266
Richard Henderson committed -
* f95-lang.c (gfc_init_decl_processing): Initialize void_list_node. From-SVN: r105265
Jakub Jelinek committed -
PR c++/21089 * call.c (convert_like_real): Use decl_constant_value, not integral_constant_value. * init.c (constant_value_1): New function. (integral_constant_value): Use it. (decl_constant_value): Likewise. * typeck.c (decay_conversion): Use decl_constant_value, not integral_constant_value. PR c++/21089 * g++.dg/init/float1.C: New test. From-SVN: r105256
Mark Mitchell committed -
From-SVN: r105255
Mark Mitchell committed -
re PR c++/21369 (Template function definition rejected if function return type begins with 'struct') PR c++/21369 * g++.dg/init/member1.C: Tweak error markers. From-SVN: r105252
Mark Mitchell committed -
PR tree-opt/24300 * Makefile.in (tree-ssa-dce.o): Depend on CFGLOOP_H. * tree-ssa-dce.c: Include cfgloop.h. (tree_ssa_dce_loop, pass_dce_loop): New. * tree-pass.h (pass_dce_loop): Declare it. * passes.c (init_optimization_passes): Use it. From-SVN: r105250
Richard Henderson committed -
PR middle-end/24263 * convert.c (convert_to_real): Revert 2005-10-05 patch. Only apply the optimization for rounding builtins if the inner cast is also an extension. From-SVN: r105249
Eric Botcazou committed -
PR testsuite/24281 * gcc.dg/compat/struct-layout-1_generator.c (generate_fields): Check for null pointer. From-SVN: r105243
Janis Johnson committed -
re PR c++/21369 (Template function definition rejected if function return type begins with 'struct') PR c++/21369 * parser.c (cp_parser_elaborated_type_specifier): Don't treat class types as templates if the type is not appearing as part of a type definition or declaration. PR c++/21369 * g++.dg/parse/ret-type3.C: New test. From-SVN: r105241
Mark Mitchell committed -
2005-10-11 Andrew Pinski <pinskia@physics.uc.edu> PR tree-opt/23946 * gcc.c-torture/compile/pr23946.c: New test. 2005-10-11 Andrew Pinski <pinskia@physics.uc.edu> PR tree-opt/23946 * tree-ssa-ccp.c (execute_fold_all_builtins): Call mark_new_vars_to_rename instead of update_stmt. From-SVN: r105239
Andrew Pinski committed -
From-SVN: r105234
Bernd Schmidt committed -
* config/i386/i386.md (movsi_1, movdi_1_rex64): Use mmxadd type for setting MMX register to 0 rather than mmx. * g++.dg/opt/mmx2.C: New test. From-SVN: r105230
Jakub Jelinek committed -
PR c++/24277 * pt.c (instantiate_decl): Call finish_static_data_member_decl for static data members. PR c++/24277 * g++.dg/template/static20.C: New test. From-SVN: r105228
Mark Mitchell committed -
PR c++/24302 * toplev.c (check_global_declaration_1): Robustify. PR c++/24302 * g++.dg/warn/Wunused-12.C: New test. From-SVN: r105222
Mark Mitchell committed -
PR libstdc++/13583 * include/bits/locale_classes.h (locale::_Impl::_M_install_cache): Move out of line. * src/locale.cc: Define here, add mutex. * configure.ac (libtool_VERSION): To 6:7:0. * configure: Regenerate. * testsuite/testsuite_abi.cc (check_version): Add GLIBCXX_3.4.7. * config/linker-map.gnu: Export locale::_Impl::_M_install_cache. From-SVN: r105221
Ian Lance Taylor committed -
[[Split portion of a mixed commit.]] From-SVN: r105204.2
GCC Administrator committed
-
- 10 Oct, 2005 4 commits
-
-
PR target/12098 * configure.ac: Move gas check from mips specific case to common case. Do check for GNU as for mips*-*-* and *-*-hpux* targets. * configure: Regenerate * doc/install.texi: Update. From-SVN: r105200
Steve Ellcey committed -
Mark Mitchell <mark@codesourcery.com> PR c++/23437 * parser.c (cp_parser_template_argument_list): Do not treat contents of argument list as part of a constant expression. PR c++/23437 * g++.dg/template/arg4.C: New test. From-SVN: r105199
Mark Mitchell committed -
PR target/24284 * config/sparc/sparc.c (sparc_expand_prologue): Remove bogus PATTERN. From-SVN: r105195
Eric Botcazou committed -
* testsuite/libjava.lang/ExtraClassLoader.out: New file. * testsuite/libjava.lang/TestProxy.java (MyInvocationHandler): Now static. From-SVN: r105185
Tom Tromey committed
-