- Jan 13, 2009
-
-
Jason Merrill authored
From-SVN: r143321
-
Jason Merrill authored
PR c++/35109 * name-lookup.c (lookup_name_real): Keep looking past a hidden binding. Co-Authored-By:
Steve Ellcey <sje@cup.hp.com> From-SVN: r143320
-
GCC Administrator authored
From-SVN: r143318
-
- Jan 12, 2009
-
-
Dodji Seketeli authored
gcc/cp/ChangeLog: 2009-01-12 Dodji Seketeli <dodji@redhat.com> PR c++/36019 * pt.c (parameter_of_template_p): New function. * cp-tree.h: Declare it. * name-lookup.c (binding_to_template_parms_of_scope_p): New function. (outer_binding): Take template parameters in account when looking for a name binding. gcc/testsuite/ChangeLog: 2009-01-12 Dodji Seketeli <dodji@redhat.com> PR c++/36019 * g++.dg/lookup/hidden-class12.C: New test. * g++.dg/lookup/hidden-class13.C: New test. * g++.dg/lookup/hidden-class14.C: New test. * g++.dg/lookup/hidden-class15.C: New test. * g++.dg/lookup/hidden-class16.C: New test. From-SVN: r143315
-
Mark Mitchell authored
* gcc.dg/struct/wo_prof_single_str_global.c: Mask return value. * gcc.dg/struct/wo_prof_single_str_local.c: Mask return value. * gcc.dg/struct/wo_prof_single_str_pointer.c: Mask return value. From-SVN: r143309
-
Jason Merrill authored
PR c++/31488 * tree.c (pod_type_p): Return 1 for structs created by the back end. From-SVN: r143308
-
Daniel Jacobowitz authored
* gcc.target/powerpc/ppc-spe.c: Compile for all EABI targets. Explicitly enable SPE. * gcc.target/powerpc/20030505.c: Likewise. Add dg-message directive. * gcc.target/powerpc/20030218-1.c: Pass -mfloat-gprs=single. Expect -flax-vector-conversions message. Adjust incompatible types errors. * gcc.target/powerpc/spe1.c: Pass -mspe and -mfloat-gprs=single. Make Foo extern. * gcc.dg/cpp/assert4.c: Recognize __PPC__. * g++.dg/other/opaque-1.C: Run on targets with SPE. * g++.dg/ext/spe-1.C: Pass -mspe and -mfloat-gprs=single. * g++.dg/other/opaque-2.C: Likewise. * g++.dg/other/opaque-3.C: Likewise. From-SVN: r143307
-
Anatoly Sokolov authored
PR target/29141 * config/avr/t-avr (LIB1ASMFUNCS): Add _tablejump_elpm. * config/avr/libgcc.S (__do_global_ctors, __do_global_dtors): Add variant for devices with 3-byte PC. (__tablejump_elpm__) : New. From-SVN: r143306
-
Jakub Jelinek authored
PR c/32041 * c-parser.c (c_parser_postfix_expression): Allow `->' in offsetof member-designator, handle it as `[0].'. * parser.c (cp_parser_builtin_offsetof): Allow `->' in offsetof member-designator, handle it as `[0].'. * gcc.dg/pr32041.c: New test. * g++.dg/parse/offsetof9.C: New test. From-SVN: r143305
-
Daniel Jacobowitz authored
* g++.dg/conversion/simd1.C: Ignore irrelevant warning. * g++.dg/ext/attribute-test-1.C: Likewise. * g++.dg/ext/attribute-test-2.C: Likewise. * g++.dg/ext/attribute-test-3.C: Likewise. * g++.dg/ext/attribute-test-4.C: Likewise. Co-Authored-By:
Nathan Froyd <froydnj@codesourcery.com> From-SVN: r143304
-
Eric Botcazou authored
* gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Really strip only useless conversions around renamed objects. From-SVN: r143303
-
John David Anglin authored
* pa.c (pa_asm_output_mi_thunk): Use pc-relative branch to thunk function when not using named sections on targets with named sections if branch distance is less than 262132. From-SVN: r143300
-
Joseph Myers authored
From-SVN: r143295
-
Richard Earnshaw authored
combine.c (combine_instructions): Recompute optimize_this_for_speed_p for each BB in the main combine loop. * combine.c (combine_instructions): Recompute optimize_this_for_speed_p for each BB in the main combine loop. From-SVN: r143293
-
Jakub Jelinek authored
PR c++/38794 * decl.c (start_function): If grokdeclarator hasn't returned FUNCTION_DECL nor error_mark_node, issue diagnostics. * g++.dg/parse/typedef9.C: New test. From-SVN: r143292
-
Tomas Bily authored
PR middlend/38385 * tree-loop-distribution.c (prop_phis): New function. (generate_builtin): Call prop_phis. * testsuite/gcc.dg/tree-ssa/pr38385.c: New file. From-SVN: r143291
-
Jakub Jelinek authored
re PR tree-optimization/38807 (ice: gimple check: expected gimple_assign(error_mark), have gimple_phi()) PR tree-optimization/38807 * tree-ssa-reassoc.c (remove_visited_stmt_chain): Don't look at gimple_visited_p unless stmt is GIMPLE_ASSIGN. * gcc.c-torture/compile/pr38807.c: New test. From-SVN: r143289
-
Adam Nemet authored
* expmed.c (store_bit_field_1): Properly truncate the paradoxical subreg of op0 to the original op0. testsuite/ * gcc.target/mips/ins-2.c: New test. From-SVN: r143288
-
H.J. Lu authored
2009-01-11 H.J. Lu <hongjiu.lu@intel.com> PR testsuite/38809 * gcc.dg/pr38616.c: Only run for targets with -fstack-protector. From-SVN: r143287
-
GCC Administrator authored
From-SVN: r143285
-
- Jan 11, 2009
-
-
Jakub Jelinek authored
PR c++/36254 * cp-gimplify.c (genericize_if_stmt): Renamed from ... (gimplify_if_stmt): ... this. (cp_gimplify_expr): Don't handle IF_STMT here. (cp_genericize_r): Call genericize_if_stmt for IF_STMT. * g++.dg/warn/Wreturn-type-5.C: New test. From-SVN: r143281
-
Joel Sherrill authored
2009-01-09 Joel Sherrill <joel.sherrill@oarcorp.com> * lib/target-supports.exp: Add method to determine if the effective target is really a ppc405 after applying all compile options. * gcc.target/powerpc/405-mulhhwu-2.c: Add dg-skip-if not ppc405. * gcc.target/powerpc/405-nmachhw-1.c: Likewise. * gcc.target/powerpc/405-nmaclhw-1.c: Likewise. * gcc.target/powerpc/405-machhwu-1.c: Likewise. * gcc.target/powerpc/405-mullhwu-1.c: Likewise. * gcc.target/powerpc/405-nmacchw-1.c: Likewise. * gcc.target/powerpc/405-mulchwu-1.c: Likewise. * gcc.target/powerpc/405-nmachhw-2.c: Likewise. * gcc.target/powerpc/405-nmaclhw-2.c: Likewise. * gcc.target/powerpc/405-machhwu-2.c: Likewise. * gcc.target/powerpc/405-mulhhw-1.c: Likewise. * gcc.target/powerpc/405-machhw-1.c: Likewise. * gcc.target/powerpc/405-mullhw-1.c: Likewise. * gcc.target/powerpc/405-maclhw-1.c: Likewise. * gcc.target/powerpc/405-dlmzb-strlen-1.c: Likewise. * gcc.target/powerpc/405-mullhwu-2.c: Likewise. * gcc.target/powerpc/405-nmacchw-2.c: Likewise. * gcc.target/powerpc/405-mulchwu-2.c: Likewise. * gcc.target/powerpc/405-mulchw-1.c: Likewise. * gcc.target/powerpc/405-maclhwu-1.c: Likewise. * gcc.target/powerpc/405-macchw-1.c: Likewise. * gcc.target/powerpc/405-mulhhw-2.c: Likewise. * gcc.target/powerpc/405-machhw-2.c: Likewise. * gcc.target/powerpc/405-mullhw-2.c: Likewise. * gcc.target/powerpc/405-maclhw-2.c: Likewise. * gcc.target/powerpc/405-macchwu-1.c: Likewise. * gcc.target/powerpc/405-mulhhwu-1.c: Likewise. * gcc.target/powerpc/405-mulchw-2.c: Likewise. * gcc.target/powerpc/405-maclhwu-2.c: Likewise. * gcc.target/powerpc/405-macchw-2.c: Likewise. * gcc.target/powerpc/405-macchwu-2.c: Likewise. From-SVN: r143279
-
Matthias Klose authored
2009-01-11 Matthias Klose <doko@ubuntu.com> PR middle-end/38616 * gcc.dg/pr38616.c: New test. From-SVN: r143277
-
Laurent GUERBY authored
2009-01-11 Laurent GUERBY <laurent@guerby.net> * doc/sourcebuild.texi (Source Tree): Move up intl and fixinc. From-SVN: r143274
-
Eric Botcazou authored
* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Subtype>: Put the _Tag field before any discriminants in the field list. (components_to_record): Remove obsolete comment. From-SVN: r143267
-
Markus Schoepflin authored
re PR debug/7055 ([alpha osf4] G++ 3.1 Produced bad debugging entries if compiled with -gcoff, also segv.) PR debug/7055 * gcc/mips-tfile.c (parse_def): Fix parsing of def strings starting with digits. From-SVN: r143265
-
Sebastian Pop authored
2009-01-10 Sebastian Pop <sebastian.pop@amd.com> * gcc.dg/graphite/block-3.c: Fix compile error on 32bit. From-SVN: r143258
-
GCC Administrator authored
From-SVN: r143256
-
- Jan 10, 2009
-
-
Jakub Jelinek authored
PR target/38695 * config/arm/arm.c (arm_is_long_call_p): Don't call arm_function_in_section_p if decl isn't a FUNCTION_DECL. From-SVN: r143246
-
Andrew Pinski authored
PR c++/38648 * typeck.c (cp_build_modify_expr): Check for NULL current_function_decl. * g++.dg/expr/string-1.C: New test. * g++.dg/expr/string-2.C: New test. From-SVN: r143245
-
Andrew Pinski authored
PR c++/36695 * typeck2.c (build_functional_cast): Check for reference type and NULL PARMS. * g++.dg/ext/complex4.C: New test. * g++.dg/ext/complex5.C: New test. * g++.dg/init/reference1.C: New test. * g++.dg/init/reference2.C: New test. * g++.dg/init/reference3.C: New test. From-SVN: r143244
-
GCC Administrator authored
From-SVN: r143241
-
Paul Thomas authored
2009-01-10 Paul Thomas <pault@gcc.gnu.org> PR fortran/38763 * target-memory.c (encode_derived): Encode NULL. 2009-01-10 Paul Thomas <pault@gcc.gnu.org> PR fortran/38763 * gfortran.dg/transfer_null_1.f90: New test. From-SVN: r143238
-
Paul Thomas authored
2009-01-10 Paul Thomas <pault@gcc.gnu.org> PR fortran/38765 * resolve.c (check_host_association): Use the symtree name to search for a potential contained procedure, since this is the name by which it would be referenced. 2009-01-10 Paul Thomas <pault@gcc.gnu.org> PR fortran/38765 * gfortran.dg/host_assoc_function_6.f90: New test. From-SVN: r143237
-
- Jan 09, 2009
-
-
Paul Thomas authored
2009-01-10 Paul Thomas <pault@gcc.gnu.org> * check.c : Update copyright year. * dependency.c : Update copyright year. * interface.c : ditto. * intrinsic.c : ditto. * intrinsic.h : ditto. * module.c : ditto. * simplify.c : ditto. * symbol.c : ditto. * trans-stmt.c : ditto. * trans-types.c : ditto. From-SVN: r143236
-
Steven Bosscher authored
* regrename.c (regrename_optimize): Fix dumping. (find_oldest_value_reg): Preserve REG_POINTER. (copy_hardreg_forward_1): Likewise. process_init_element callers. From-SVN: r143235
-
Joel Sherrill authored
2009-01-09 Joel Sherrill <joel.sherrill@oarcorp.com> * lib/target-supports.exp: Add method to determine if the effective target is really a ppc405 after applying all compile options. * gcc.target/powerpc/405-mulhhwu-2.c: Add dg-skip-if not ppc405. * gcc.target/powerpc/405-nmachhw-1.c: Likewise. * gcc.target/powerpc/405-nmaclhw-1.c: Likewise. * gcc.target/powerpc/405-machhwu-1.c: Likewise. * gcc.target/powerpc/405-mullhwu-1.c: Likewise. * gcc.target/powerpc/405-nmacchw-1.c: Likewise. * gcc.target/powerpc/405-mulchwu-1.c: Likewise. * gcc.target/powerpc/405-nmachhw-2.c: Likewise. * gcc.target/powerpc/405-nmaclhw-2.c: Likewise. * gcc.target/powerpc/405-machhwu-2.c: Likewise. * gcc.target/powerpc/405-mulhhw-1.c: Likewise. * gcc.target/powerpc/405-machhw-1.c: Likewise. * gcc.target/powerpc/405-mullhw-1.c: Likewise. * gcc.target/powerpc/405-maclhw-1.c: Likewise. * gcc.target/powerpc/405-dlmzb-strlen-1.c: Likewise. * gcc.target/powerpc/405-mullhwu-2.c: Likewise. * gcc.target/powerpc/405-nmacchw-2.c: Likewise. * gcc.target/powerpc/405-mulchwu-2.c: Likewise. * gcc.target/powerpc/405-mulchw-1.c: Likewise. * gcc.target/powerpc/405-maclhwu-1.c: Likewise. * gcc.target/powerpc/405-macchw-1.c: Likewise. * gcc.target/powerpc/405-mulhhw-2.c: Likewise. * gcc.target/powerpc/405-machhw-2.c: Likewise. * gcc.target/powerpc/405-mullhw-2.c: Likewise. * gcc.target/powerpc/405-maclhw-2.c: Likewise. * gcc.target/powerpc/405-macchwu-1.c: Likewise. * gcc.target/powerpc/405-mulhhwu-1.c: Likewise. * gcc.target/powerpc/405-mulchw-2.c: Likewise. * gcc.target/powerpc/405-maclhwu-2.c: Likewise. * gcc.target/powerpc/405-macchw-2.c: Likewise. * gcc.target/powerpc/405-macchwu-2.c: Likewise. From-SVN: r143234
-
Diego Novillo authored
* gimple.h (struct gimple_statement_base)<uid>: Document the restrictions on its use. (gimple_uid): Tidy. (gimple_set_uid): Tidy. From-SVN: r143233
-
Jakub Jelinek authored
i386.c (ix86_expand_movmem, [...]): Add zero guard even if align_bytes != 0 and count is smaller than size_needed. * config/i386/i386.c (ix86_expand_movmem, ix86_expand_setmem): Add zero guard even if align_bytes != 0 and count is smaller than size_needed. From-SVN: r143229
-
Vladimir Makarov authored
2008-01-09 Vladimir Makarov <vmakarov@redhat.com> PR rtl-optimization/38495 * ira-emit.c (print_move_list, ira_debug_move_list): New functions. (add_range_and_copies_from_move_list): Print all added ranges. Add ranges to memory optimized destination. From-SVN: r143214
-