- 12 Nov, 2010 4 commits
-
-
* config/fused-madd.opt: New file. * config.gcc [i386-*, x86_64-*] (extra_options): Use it. * config/i386/i386.c (ix86_extra_costs): Handle FMA. (TARGET_DEFAULT_TARGET_FLAGS): Remove MASK_FUSED_MADD. * config/i386/i386.opt (mfused-madd): Remove. * config/i386/sse.md (split_fma): Remove. (split_fms, split_fnma, split_fnms): Remove. From-SVN: r166642
Richard Henderson committed -
From-SVN: r166641
GCC Administrator committed -
From-SVN: r166637
Jan Hubicka committed -
* gcc.dg/tree-ssa/inline-5.c: Fix testcase. * gcc.dg/tree-ssa/inline-6.c: Remove bogus testcase. From-SVN: r166636
Jan Hubicka committed
-
- 11 Nov, 2010 34 commits
-
-
re PR target/46088 (ICE: SIGSEGV in ix86_binary_operator_ok (i386.c:15025) with -Os -fnon-call-exceptions -fpeel-loops) PR target/46088 * config/i386/i386.md (*ashl<mode>3_cconly, *<shiftrt_insn><mode>3_cconly): Don't use ix86_binary_operator_ok, change nonimmediate_operand predicate to register_operand. * gcc.dg/pr46088.c: New test. From-SVN: r166635
Jakub Jelinek committed -
2010-11-11 Paolo Bonzini <bonzini@gnu.org> * Makefile.in (gengtype-lex.c): Include bconfig.h first. From-SVN: r166634
Paolo Bonzini committed -
2010-11-10 Steven G. Kargl <kargl@gcc.gnu.org> * symbol.c (verify_bind_c_derived_type): Accept BIND(C) on an empty derived type. 2010-11-10 Steven G. Kargl <kargl@gcc.gnu.org> * gfortran.dg/empty_derived_type.f90: New test. From-SVN: r166633
Steven G. Kargl committed -
* opts.c (finish_options): Do not error on -flto-partition alone. * options.c (gfc_post_options): Remove flag_whopr. From-SVN: r166632
Jan Hubicka committed -
2010-11-11 Tobias Burnus <burnus@net-b.de> PR fortran/46413 * resolve.c (resolve_transfer): Reject I/O transfer of polymorphic type. PR fortran/46205 * resolve.c (resolve_code): Reject nonscalar FORALL masks. 2010-11-11 Tobias Burnus <burnus@net-b.de> PR fortran/46413 * gfortran.dg/class_31.f90: New. PR fortran/46205 * gfortran.dg/forall_14.f90: New. From-SVN: r166631
Tobias Burnus committed -
From-SVN: r166630
Jan Hubicka committed -
2010-11-11 Jakub Jelinek <jakub@redhat.com> Tobias Burnus <burnus@net-b.de> PR fortran/46325 * gfortran.dg/char_initialiser_actual.f90: Make test case valid. Co-Authored-By: Tobias Burnus <burnus@net-b.de> From-SVN: r166628
Jakub Jelinek committed -
* doc/invoke.texi (-fwhopr): Merge into -flto section. (-flto-partition): Document none. * gcc.c (LINK_COMMAND_SPEC): Remove -fwhopr. * lto-wrapper.c: Update comment. (run_gcc): Update LTO option parsing. * opts.c (finish_options): add support -flto-partition=none (common_handle_option): Remove fwhopr. * common.opt: Turn fwhopr into flto. * collect2.c (main): Update option handling. * cgraphunit.c (cgraph_decide_is_function_needed): Remove flag_whopr. * ipa-split.c (execute_split_functions): Remove flag_whopr. * ipa.c (function_and_variable_visibility): Remove flag_whopr. * ipa-prop.c (ipa_compute_jump_functions): Remove flag_whopr. * varpool.c (decide_is_variable_needed): Remove flag_whopr. * gcc.dg/20081223-1.c: Update LTO options. * gcc.dg/lto/20090206-1_0.c: Update LTO options. * gcc.dg/lto/20081118_0.c: Update LTO options. * gcc.dg/lto/ipareference_0.c: Update LTO options. * gcc.dg/lto/20100423-2_0.c: Update LTO options. * gcc.dg/lto/20081201-1_0.c: Update LTO options. * gcc.dg/lto/ipacp_0.c: Update LTO options. * gcc.dg/lto/20090116_0.c: Update LTO options. * gcc.dg/lto/20091015-1_0.c: Update LTO options. * gcc.dg/lto/20090126-2_0.c: Update LTO options. * gcc.dg/lto/20081202-2_0.c: Update LTO options. * gcc.dg/lto/20081204-1_0.c: Update LTO options. * gcc.dg/lto/const-uniq_0.c: Update LTO options. * gcc.dg/lto/20081224_0.c: Update LTO options. * gcc.dg/lto/20090219_0.c: Update LTO options. * gcc.dg/lto/ipareference2_0.c: Update LTO options. * gcc.dg/lto/20090206-2_0.c: Update LTO options. * gcc.dg/lto/20081115_0.c: Update LTO options. * gcc.dg/lto/20081201-2_0.c: Update LTO options. * gcc.dg/lto/20081120-2_0.c: Update LTO options. * gcc.dg/lto/materialize-1_0.c: Update LTO options. * gcc.dg/lto/20090126-1_0.c: Update LTO options. * gcc.dg/lto/20081202-1_0.c: Update LTO options. * gcc.dg/lto/noreturn-1_0.c: Update LTO options. * g++.dg/20090107-1.C: Update LTO options. * g++.dg/lto/pr45679-2_0.C: Update LTO options. * g++.dg/lto/20081123_0.C: Update LTO options. * g++.dg/lto/20090313_0.C: Update LTO options. * g++.dg/lto/20081125_0.C: Update LTO options. * g++.dg/lto/20081109-1_0.C: Update LTO options. * g++.dg/lto/20081219_0.C: Update LTO options. * g++.dg/lto/20100724-1_0.C: Update LTO options. * g++.dg/lto/20081204-1_0.C: Update LTO options. * g++.dg/lto/20090303_0.C: Update LTO options. * g++.dg/lto/20100723-1_0.C: Update LTO options. * g++.dg/lto/pr45679-1_0.C: Update LTO options. * g++.dg/lto/20090128_0.C: Update LTO options. * g++.dg/lto/20081204-2_0.C: Update LTO options. * g++.dg/lto/20090302_0.C: Update LTO options. * g++.dg/lto/20081119-1_0.C: Update LTO options. * g++.dg/lto/20081118_0.C: Update LTO options. * g++.dg/20090121-1.C: Update LTO options. * objc.dg/lto/lto.exp: Update LTO options. * lib/lto.exp: Update LTO options. * lib/gcc-dg.exp: Update LTO options. * lib/c-torture.exp: Update LTO options. * obj-c++.dg/lto/lto.exp: Update LTO options. From-SVN: r166625
Jan Hubicka committed -
PR tree-optimize/40436 * gcc.dg/tree-ssa/inline-5.c: New testcase. * gcc.dg/tree-ssa/inline-6.c: New testcase. * ipa-inline.c (likely_eliminated_by_inlining_p): Rename to ... (eliminated_by_inlining_prob): ... this one; return 50% probability for SRA. (estimate_function_body_sizes): Update use of eliminated_by_inlining_prob; estimate static function size for 2 instructions. From-SVN: r166624
Jan Hubicka committed -
2010-11-11 Janus Weil <janus@gcc.gnu.org> * resolve.c (resolve_procedure_interface): Copy 'is_bind_c' attribute. 2010-11-11 Janus Weil <janus@gcc.gnu.org> * gfortran.dg/proc_decl_24.f90: New. From-SVN: r166623
Janus Weil committed -
2010-11-11 Andreas Simbuerger <simbuerg@fim.uni-passau.de> * configure.ac: Support official CLooG.org versions. * configure: Regenerate. * config/cloog.m4: New. From-SVN: r166622
Andreas Simbuerger committed -
PR target/44749 * config/mep/mep-protos.h (mep_legitimize_reload_address): Always declare. Change type of argument four to type int. (mep_secondary_input_reload_class): Returns enum reg_class. (mep_secondary_output_reload_class): Likewise. (mep_function_value): Change types of arguments to cont_tree. * config/mep/mep.c (mep_legitimize_reload_address): Change type of argument four to type int. (mep_secondary_input_reload_class): Returns enum reg_class. (mep_secondary_output_reload_class): Likewise. (mep_function_value): Change types of arguments to cont_tree. * config/mep/mep.h (REGNO_REG_CLASS): Cast return value of mep_regno_reg_class to enum reg_class. From-SVN: r166614
Joern Rennecke committed -
From-SVN: r166613
Nicola Pero committed -
In gcc/objc/: 2010-11-11 Nicola Pero <nicola.pero@meta-innovation.com> * objc-act.c (objc_add_property_declaration): Check that the type of a property and of an inherited property match. (objc_maybe_build_component_ref): Tidied up indentation and comments. (objc_common_type): Added new type of check (-5). If an unknown class is involved in a comparison, try to look up its interface. (objc_add_synthesize_declaration_for_property): Check that the property to synthesize and the instance variable to use have the same type. In gcc/testsuite/: 2010-11-11 Nicola Pero <nicola.pero@meta-innovation.com> * objc.dg/property/at-property-20.m: New. * objc.dg/property/synthesize-8.m: New. * obj-c++.dg/property/at-property-20.m: New. * obj-c++.dg/property/synthesize-8.mm: New. From-SVN: r166612
Nicola Pero committed -
tree-ssa-math-opts.c (convert_mult_to_fma): Do not verify that the target has the exact fma operation that we matched. * tree-ssa-math-opts.c (convert_mult_to_fma): Do not verify that the target has the exact fma operation that we matched. From-SVN: r166611
Richard Henderson committed -
* reginfo.c (fix_register): Avoid inserting English word in diagnostic sentence. Use %qs for quoting and %'. From-SVN: r166610
Joseph Myers committed -
2010-11-11 H.J. Lu <hongjiu.lu@intel.com> * config/i386/driver-i386.c (host_detect_local_cpu): Support Intel processor family 6, model 0x2c. From-SVN: r166607
H.J. Lu committed -
* opts.c (warning_as_error_callback, register_warning_as_error_callback): Remove. (enable_warning_as_error): Don't use warning_as_error_callback. * opts.h (register_warning_as_error_callback): Remove. c-family: * c-opts.c (warning_as_error_callback): Remove. (c_common_initialize_diagnostics): Don't call register_warning_as_error_callback. (c_common_handle_option): Handle -Werror=normalized= here. testsuite: * gcc.dg/cpp/warn-normalized-3.c: Update expected note text. From-SVN: r166606
Joseph Myers committed -
* tree-ssa-math-opts.c (convert_mult_to_fma): Handle a NEGATE_EXPR in between the MULT and the PLUS/MINUS. From-SVN: r166605
Richard Henderson committed -
PR middle-end/46388 * expr.c (expand_assignment): If to_rtx is a VOIDmode MEM, use BLKmode mode for it. (expand_expr_real_1): Similarly for op0. * gcc.c-torture/compile/pr46388.c: New test. From-SVN: r166603
Jakub Jelinek committed -
gcc/testsuite: * lib/lto.exp (lto-get-options-main): Support optional target selector for dg-suppress-ld-options. gcc: * doc/sourcebuild.texi (LTO Testing, dg-suppress-ld-options): Document optional target selector. From-SVN: r166602
Rainer Orth committed -
PR bootstrap/46397 PR bootstrap/46362 * configure.ac: Add AC_TYPE_INT64_T test. * config.h.in: Regenerate. * configure: Likewise. * lto-plugin.c (debug): Use char not bool. (nop): Likewise. (check_1): Rename from check, and use int not bool for gate argument. (check): Macro wrapper for the above to coerce gate argument into boolean-valued integer in case it has pointer type. (parse_table_entry): Use 0 not false. (claim_file_handler): Avoid use of PRIx64 by splitting 64-bit size into two 32-bit parts and printing as hex ints. From-SVN: r166601
Dave Korn committed -
lto-streamer-out.c (write_symbol): Use int_size_in_bytes rather than assembling high and low parts of size if... * lto-streamer-out.c (write_symbol): Use int_size_in_bytes rather than assembling high and low parts of size if not using 32-bit HWINT; else use DECL_SIZE_UNITS, not DECL_SIZE. From-SVN: r166600
Dave Korn committed -
2010-11-11 Paolo Carlini <paolo.carlini@oracle.com> * include/bits/move.h (forward): Implement N3143, resolving US 90. * testsuite/20_util/forward/a.cc: New. * testsuite/20_util/forward/b.cc: Likewise. * testsuite/20_util/forward/c_neg.cc: Likewise. * testsuite/20_util/forward/d.cc: Likewise. * testsuite/20_util/forward/e.cc: Likewise. * testsuite/20_util/forward/f_neg.cc: Likewise. From-SVN: r166599
Paolo Carlini committed -
2010-11-11 Martin Jambor <mjambor@suse.cz> PR tree-optimization/46383 * ipa-prop.c (compute_complex_assign_jump_func): Ignore negative offsets. (compute_complex_ancestor_jump_func): Likewise. * tree.c (get_binfo_at_offset): Return NULL_TREE if offset is negative. * testsuite/g++.dg/torture/pr46383.C: New test. From-SVN: r166598
Martin Jambor committed -
PR bootstrap/44770 * haifa-sched.c (initiate_bb_reg_pressure_info): Add ATTRIBUTE_UNUSED to i. From-SVN: r166597
Joern Rennecke committed -
* gcc-target/i386/sse-12.c: Add -msse4a to dg-options. * gcc-target/i386/sse-13.c: Add -msse4a, -mfma4, -mbmi and -mtbm to dg-options. * gcc-target/i386/sse-14.c: Add -mfma4a and -mbmi to dg-options. * g++.dg/other/i386-2.C: Add -msse4a and -mfma4 to dg-options. * g++.dg/other/i386-3.C: Ditto. From-SVN: r166596
Uros Bizjak committed -
PR debug/46150 * tree-ssa-loop-ivopts.c (htab_inv_expr_eq): Don't return true if expr1->hash != expr2->hash. From-SVN: r166595
Jakub Jelinek committed -
PR c++/46420 * pt.c (tsubst_copy_and_build) [TARGET_EXPR]: New case. [CONSTRUCTOR]: Use the tsubsted type. From-SVN: r166592
Jason Merrill committed -
* g++.dg/ext/bitfield2.C, g++.dg/ext/bitfield4.C, gcc.dg/bitfld-15.c, gcc.dg/bitfld-17.c, gcc.target/i386/pr39082-1.c, gcc.target/i386/pr39545-1.c, gcc.target/i386/pr39545-2.c, gcc.target/i386/pr39678.c: Update expected messages. From-SVN: r166587
Joseph Myers committed -
From-SVN: r166582
GCC Administrator committed -
PR tree-optimize/38669 * gcc.dg/tree-ssa/pr38699.c From-SVN: r166579
Jan Hubicka committed -
From-SVN: r166577
Jan Hubicka committed -
PR c++/46369 * semantics.c (cxx_eval_bit_field_ref): New. (cxx_eval_constant_expression): Call it. From-SVN: r166576
Jason Merrill committed
-
- 10 Nov, 2010 2 commits
-
-
PR debug/46409 * gcc.dg/debug/pr46409.c: New test. PR c++/46368 * g++.dg/cpp0x/constexpr-defarg2.C: New test. From-SVN: r166574
Jakub Jelinek committed -
From-SVN: r166573
Joseph Myers committed
-