- 19 Feb, 2009 9 commits
-
-
PR target/39175 * c-common.c (c_determine_visibility): If visibility changed and DECL_RTL has been already set, call make_decl_rtl to update symbol flags. * decl2.c (determine_visibility): If visibility changed and DECL_RTL has been already set, call make_decl_rtl to update symbol flags. * gcc.dg/visibility-20.c: New test. * g++.dg/ext/visibility/visibility-11.C: New test. From-SVN: r144305
Jakub Jelinek committed -
2009-02-19 Daniel Franke <franke.daniel@gmail.com> * scanner.c (load_line): At end of line, skip '\r' without setting the truncation flag. From-SVN: r144303
Daniel Franke committed -
gcc/ 2009-02-19 H.J. Lu <hongjiu.lu@intel.com> PR c++/39188 * varasm.c (assemble_variable): Don't check DECL_NAME when globalizing a variable. gcc/cp/ 2009-02-19 H.J. Lu <hongjiu.lu@intel.com> PR c++/39188 * cp-tree.h (maybe_commonize_var): New. * decl.c (maybe_commonize_var): Make it extern. * decl2.c (finish_anon_union): Call maybe_commonize_var. gcc/testsuite/ 2009-02-19 H.J. Lu <hongjiu.lu@intel.com> PR c++/39188 * g++.dg/abi/pr39188-1a.C: New. * g++.dg/abi/pr39188-1b.C: Likewise. * g++.dg/abi/pr39188-1.h: Likewise. * g++.dg/abi/pr39188-2a.C: Likewise. * g++.dg/abi/pr39188-2b.C: Likewise. * g++.dg/abi/pr39188-2.h: Likewise. * g++.dg/abi/pr39188-3a.C: Likewise. * g++.dg/abi/pr39188-3b.C: Likewise. * g++.dg/abi/pr39188-3.h: Likewise. From-SVN: r144297
H.J. Lu committed -
PR c/38483 * builtins.c (gimplify_va_arg_expr): Evaluate the va_list expression before any __builtin_trap call. * c-typeck.c (build_function_call): Convert and check function arguments before generating a call to a trap. Evaluate the function arguments before the trap. testsuite: * gcc.c-torture/execute/call-trap-1.c, gcc.c-torture/execute/va-arg-trap-1.c, gcc.dg/call-diag-1.c: New tests. From-SVN: r144296
Joseph Myers committed -
PR target/39228 * config/i386/i386.md (isinfxf2): Split from isinf<mode>2. (UNSPEC_FXAM_MEM): New unspec. (fxam<mode>2_i387_with_temp): New insn and split pattern. (isinf<mode>2): Use MODEF mode iterator. Force operand[1] through memory using fxam<mode>2_i387_with_temp to remove excess precision. testsuite/ChangeLog: PR target/39228 * gcc.c-torture/execute/pr39228.c: New test. From-SVN: r144293
Uros Bizjak committed -
2009-02-19 Richard Guenther <rguenther@suse.de> PR tree-optimization/39207 PR tree-optimization/39074 * tree-ssa-structalias.c (storedanything_id, var_storedanything, storedanything_tree): New. (do_ds_constraint): Simplify ANYTHING shortcutting. Update the STOREDANYTHING solution if the lhs solution contains ANYTHING. (build_succ_graph): Add edges from STOREDANYTHING to all non-direct nodes. (init_base_vars): Initialize STOREDANYTHING. (compute_points_to_sets): Free substitution info after building the succ graph. (ipa_pta_execute): Likewise. * gcc.dg/torture/pr39074.c: New testcase. * gcc.dg/torture/pr39074-2.c: Likewise. * gcc.dg/torture/pr39074-3.c: Likewise. * tree-ssa-structalias.c (struct variable_info): Add may_have_pointers field. (do_ds_constraint): Do not add to special var or non-pointer field solutions. (type_could_have_pointers): Split out from ... (could_have_pointers): ... here. For arrays use the element type. (create_variable_info_for): Initialize may_have_pointers. (new_var_info): Likewise. (handle_lhs_call): Make the HEAP variable unknown-sized. (intra_create_variable_infos): Use a type with pointers for PARM_NOALIAS, make it unknown-sized. From-SVN: r144292
Richard Guenther committed -
2009-02-18 Benjamin Kosnik <bkoz@redhat.com> * doc/doxygen/doxygroups.cc: Move algorithm groups into algorithmfwd.h. * doc/doxygen/user.cfg.in: Update. * scripts/run_doxygen: Adjust for new group names. * include/tr1_impl/random: Update doxygen group markup. * include/tr1_impl/unordered_map: Same. * include/tr1_impl/unordered_set: Same. * include/tr1_impl/array: Same. * include/std/numeric: Same. * include/std/utility: Same. * include/std/bitset: Same. * include/std/iosfwd: Same. * include/bits/stl_list.h: Same. * include/bits/stl_map.h: Same. * include/bits/stl_algobase.h: Same. * include/bits/stl_queue.h: Same. * include/bits/stl_set.h: Same. * include/bits/stl_stack.h: Same. * include/bits/stl_iterator_base_types.h: Same. * include/bits/forward_list.h: Same. * include/bits/basic_string.h: Same. * include/bits/stl_multimap.h: Same. * include/bits/stl_vector.h: Same. * include/bits/stl_deque.h: Same. * include/bits/stl_multiset.h: Same. * include/bits/stl_algo.h: Same. * include/bits/stl_bvector.h: Same. * include/bits/algorithmfwd.h: Same. * include/bits/stl_function.h: Same. * include/tr1/cmath: Same. * include/backward/binders.h: Same. From-SVN: r144290
Benjamin Kosnik committed -
gcc/cp 2009-02-18 H.J. Lu <hongjiu.lu@intel.com> PR c++/39219 * parser.c (cp_parser_enum_specifier): Apply all attributes. gcc/testsuite/ 2009-02-18 H.J. Lu <hongjiu.lu@intel.com> PR c++/39219 * g++.dg/parse/attr3.C: New. From-SVN: r144284
H.J. Lu committed -
From-SVN: r144282
GCC Administrator committed
-
- 18 Feb, 2009 16 commits
-
-
2009-02-18 Jack Howarth <howarth@bromo.med.uc.edu> PR testsuite/38165 * g++.dg/pubtypes.C: Adopt Radar 4535968 fix to testcase. From-SVN: r144277
Jack Howarth committed -
2009-02-18 Jack Howarth <howarth@bromo.med.uc.edu> PR testsuite/38166 * g++.dg/ext/visibility/class1.C: Revert revision 122348 and skip on Darwin. From-SVN: r144274
Jack Howarth committed -
2009-02-18 H.J. Lu <hongjiu.lu@intel.com> PR target/39224 * config/i386/i386.c (ix86_return_in_memory): Properly check ABI. From-SVN: r144272
H.J. Lu committed -
From-SVN: r144271
Jason Merrill committed -
PR target/39179 * tree-ssa-ccp.c (get_symbol_constant_value): Don't assume zero value if DECL_EXTERNAL. * tree-sra.c (sra_walk_gimple_assign): Likewise. * target.h (gcc_target::binds_local_p): Clarify module. * tree.h (TREE_PUBLIC): Clarify module. From-SVN: r144270
Jason Merrill committed -
From-SVN: r144269
Jason Merrill committed -
2009-02-18 Daniel Kraft <d@domob.eu> * gfortran.texi: New chapter about compiler characteristics. (Compiler Characteristics): Document KIND type parameters here. From-SVN: r144268
Daniel Kraft committed -
2009-02-18 H.J. Lu <hongjiu.lu@intel.com> * gcc-interface/misc.c (gnat_post_options): Turn off warn_psabi. From-SVN: r144267
H.J. Lu committed -
2009-02-18 Tobias Burnus <burnus@net-b.de> * intrinsic.texi (MALLOC): Make example more portable. From-SVN: r144266
Tobias Burnus committed -
2009-02-18 H.J. Lu <hongjiu.lu@intel.com> * gcc.dg/callabi/callabi.exp: Moved to ... * gcc.target/x86_64/abi/callabi/callabi.exp: Here. Only run in 64bit mode. * gcc.target/x86_64/abi/callabi/func-1.c: Don't check target. * gcc.target/x86_64/abi/callabi/func-indirect.c: Likewise. * gcc.target/x86_64/abi/callabi/func-indirect.c: Likewise. * gcc.target/x86_64/abi/callabi/pr38891.c: Likewise. * gcc.target/x86_64/abi/callabi/vaarg-1.c: Likewise. * gcc.target/x86_64/abi/callabi/vaarg-2.c: Likewise. * gcc.target/x86_64/abi/callabi/vaarg-3.c: Likewise. * gcc.dg/callabi/callabi.h: Moved to ... * gcc.target/x86_64/abi/callabi/callabi.h: Here. * gcc.dg/callabi/func-1.c: Moved to ... * gcc.target/x86_64/abi/callabi/func-1.c: Here. * gcc.dg/callabi/func-indirect.c: Moved to ... * gcc.target/x86_64/abi/callabi/func-indirect.c: Here. * gcc.dg/callabi/pr38891.c: Moved to ... * gcc.target/x86_64/abi/callabi/pr38891.c: Here. * gcc.dg/callabi/vaarg-1.c: Moved to ... * gcc.target/x86_64/abi/callabi/vaarg-1.c: Here. * gcc.dg/callabi/vaarg-2.c: Moved to ... * gcc.target/x86_64/abi/callabi/vaarg-2.c: Here. * gcc.dg/callabi/vaarg-3.c: Moved to ... * gcc.target/x86_64/abi/callabi/vaarg-3.c: Here. From-SVN: r144264
H.J. Lu committed -
2009-02-18 Bingfeng Mei <bmei@broadcom.com> * MAINTAINERS (Write After Approval): Add myself. From-SVN: r144260
Bingfeng Mei committed -
2009-02-17 Benjamin Kosnik <bkoz@redhat.com> * include/std/system_error (system_category): To system_category(). (generic_category): To generic_category. DR 890. * src/system_error.cc: Define. * include/bits/functexcept.h: Only one __throw_system_error. * src/functexcept.cc: Same. * include/std/mutex: Fixup for changes above. * testsuite/19_diagnostics/error_condition/cons/1.cc: Same. * testsuite/19_diagnostics/error_code/cons/1.cc: Same. * testsuite/19_diagnostics/system_error/cons-1.cc: Same. * config/abi/pre/gnu.ver: Clean up exports. From-SVN: r144259
Benjamin Kosnik committed -
re PR target/38891 (using ms_abi function attribute with -mno-sse generates an internal compiler error) gcc/ 2009-02-17 Xuepeng Guo <xuepeng.guo@intel.com> PR target/38891 * config/i386/i386.h (CONDITIONAL_REGISTER_USAGE): Move the hunk of initialization for MS_ABI prior to the hunk of !TARGET_MMX. gcc/testsuite 2009-02-17 Xuepeng Guo <xuepeng.guo@intel.com> PR target/38891 * gcc.dg/callabi/pr38891.c: New. 2009-02-17 H.J. Lu <hongjiu.lu@intel.com> * gcc.dg/callabi/callabi.exp: New. From-SVN: r144258
H.J. Lu committed -
gcc/ 2009-02-17 H.J. Lu <hongjiu.lu@intel.com> PR target/39082 * c.opt (Wabi): Support C and ObjC. (Wpsabi): New. * c-opts.c (c_common_handle_option): Handle OPT_Wabi. * config/i386/i386.c (classify_argument): Warn once about the ABI change when passing union with long double. * doc/invoke.texi: Update -Wabi for warning psABI changes. gcc/testsuite/ 2009-02-17 H.J. Lu <hongjiu.lu@intel.com> PR target/39082 * g++.dg/compat/struct-layout-1_generate.c (dg_options): Add -Wno-abi for x86. * gcc.dg/compat/struct-layout-1_generate.c (dg_options): Likewise. * gcc.target/i386/pr39082-1.c: New. * gcc.target/x86_64/abi/abi-x86_64.exp (additional_flags): Add -Wno-abi. * gcc.target/x86_64/abi/args.h (XMM_T): Add _m64 and _m128 if CHECK_M64_M128 is defined. (check_f_arguments): Add "do". (check_vector_arguments): New. (check_m64_arguments): Likewise. (check_m128_arguments): Likewise. * gcc.target/x86_64/abi/defines.h: Include <xmmintrin.h>. (CHECK_M64_M128): Define. * gcc.target/x86_64/abi/test_m64m128_returning.c: New. Based on abitest. * gcc.target/x86_64/abi/test_passing_m64m128.c: Likewise. * gcc.target/x86_64/abi/test_passing_structs.c: Define __m128 tests only if CHECK_M64_M128 is defined. * gcc.target/x86_64/abi/test_passing_structs.c (m128_struct): New. (m128_2_struct): Likewise. (check_struct_passing5): Likewise. (check_struct_passing6): Likewise. (main): Test struct with __m128 if CHECK_M64_M128 is defined. * gcc.target/x86_64/abi/test_passing_unions.c (un4): New. (un5): Likewise. (check_union_passing4): Likewise. (main): Test union with __m128 if CHECK_M64_M128 is defined. From-SVN: r144257
H.J. Lu committed -
PR c/35447 * c-parser.c (c_parser_compound_statement): Always enter and leave a scope. testsuite: * gcc.dg/noncompile/pr35447-1.c: New test. From-SVN: r144256
Joseph Myers committed -
From-SVN: r144254
GCC Administrator committed
-
- 17 Feb, 2009 15 commits
-
-
PR target/34587 * config/darwin.h (SUPPORTS_INIT_PRIORITY): Define. From-SVN: r144251
John David Anglin committed -
PR tree-optimization/36922 * tree-data-ref.c (initialize_matrix_A): Handle BIT_NOT_EXPR. * tree-scalar-evolution.c (interpret_rhs_expr, instantiate_scev_1): Likewise. * gfortran.dg/pr36922.f: New test. From-SVN: r144250
Jakub Jelinek committed -
gcc/ * config/mips/mips.c (mips_override_options): Set flag_dwarf2_cfi_asm to 0 for EABI64. From-SVN: r144247
Richard Sandiford committed -
gcc/ * config/mips/mips.md (type): Reclassify lui_movf as "unknown". From-SVN: r144246
Richard Sandiford committed -
gcc/ * config/mips/mips.c (mips_gimplify_va_arg_expr): Fix invalid tree sharing. From-SVN: r144244
Richard Sandiford committed -
gcc/ 2009-02-xx Ruan Beihong <ruanbeihong@gmail.com> Richard Sandiford <rdsandiford@googlemail.com> * config/mips/mips.c (CODE_FOR_loongson_biadd): Delete. * config/mips/loongson.md (reduc_uplus_<mode>): Rename to... (loongson_biadd): ...this. Co-Authored-By: Richard Sandiford <rdsandiford@googlemail.com> From-SVN: r144243
Ruan Beihong committed -
* examples: New directory. * examples/gcc-svn-env: New. * examples/reg-watch: New. * examples/reg-watch.awk: New. * examples/common.config: New. * examples/testall: New. * examples/28970.config: New. * examples/28970.list: New. * examples/28970.c: New. * examples/28970.log: New. * examples/29106.config: New. * examples/29106.list: New. * examples/29106.test: New. * examples/29106.cc: New. * examples/29106.log: New. * examples/29478.config: New. * examples/29478.list: New. * examples/29478.c: New. * examples/29478.log: New. * examples/29906a.config: New. * examples/29906a.list: New. * examples/29906a.cc: New. * examples/29906a.log: New. * examples/29906b.config: New. * examples/29906b.list: New. * examples/29906b.cc: New. * examples/29906b.log: New. * examples/30643.config: New. * examples/30643.list: New. * examples/30643.c: New. * examples/30643.test: New. * examples/30643.log: New. From-SVN: r144242
Janis Johnson committed -
* bin: New directory. * bin/reg-hunt: New. * bin/reg_periodic: New. * bin/gcc-svn-update: New. * bin/gcc-svn-update-fix: New. * bin/gcc-build-simple: New. * bin/gcc-build-full: New. * bin/gcc-cleanup: New. * bin/reg-test: New. * bin/reg-newmid: New. * bin/gcc-test-ice-on-valid-code: New. * bin/gcc-test-ice-on-invalid-code: New. * bin/gcc-test-compiler-hangs: New. * bin/gcc-test-missing-warning: New. * bin/gcc-test-bogus-warning: New. * bin/gcc-test-segfault-on-valid-code: New. * bin/gcc-test-rejects-valid: New. * bin/gcc-test-accepts-invalid: New. * bin/gcc-test-wrong-code: New. * bin/gcc-svn-patchlist: New. * bin/gcc-svn-checkfail: New. * bin/gcc-svn-recordfail: New. * bin/gcc-svn-report: New. * bin/gcc-svn-ids: New. From-SVN: r144240
Janis Johnson committed -
* date_based: New directory. * README: Move from here ... * date_based/README: to here. * reg_search: Move from here ... * date_based/reg_search: to here. * reg_periodic: Move from here ... * date_based/reg_periodic: to here. * reg_test_template: Move from here ... * date_based_reg_test_template: to here. From-SVN: r144238
Janis Johnson committed -
re PR tree-optimization/39202 (internal compiler error: in collapse_rest_of_var, at tree-ssa-structalias.c:3296) 2009-02-17 Richard Guenther <rguenther@suse.de> PR tree-optimization/39202 * tree-ssa-structalias.c (do_structure_copy): Before collapsing a var make sure to follow existing collapses. * gcc.c-torture/compile/pr39202.c: New testcase. From-SVN: r144235
Richard Guenther committed -
2009-02-17 Richard Guenther <rguenther@suse.de> PR middle-end/39214 * langhooks.c (lhd_print_error_function): Check for NULL block. From-SVN: r144234
Richard Guenther committed -
2009-02-17 Richard Guenther <rguenther@suse.de> PR tree-optimization/39204 * tree-ssa-pre.c (phi_translate_1): Lookup the value-number of the PHI arg. * gcc.dg/torture/pr39204.c: New testcase. From-SVN: r144233
Richard Guenther committed -
2009-02-17 Bingfeng Mei <bmei@broadcom.com> * gcc.dg/vect/vect-outer-5.c: Require vect_float support. * gcc.dg/vect/vect-outer-6.c: Ditto. From-SVN: r144232
Bingfeng Mei committed -
* config/soft-fp/double.h: Update from glibc CVS. From-SVN: r144229
Uros Bizjak committed -
2009-02-17 Richard Guenther <rguenther@suse.de> PR tree-optimization/39207 * tree-ssa-structalias.c (find_what_p_points_to): Do not emit strict-aliasing warnings for pointers pointing to NULL. From-SVN: r144228
Richard Guenther committed
-