- 22 Nov, 2012 8 commits
-
-
* call.c (extend_ref_init_temps_1): Recompute TREE_CONSTANT for the ADDR_EXPR. From-SVN: r193726
Jason Merrill committed -
* gcc.c (ADD_STATIC_LIBASAN_LIBS): New macro. Defined with STATIC_LIBASAN_LIBS. (LIBASAN_SPEC): Add STATIC_LIBASAN_LIBS. * config/gnu-user.h (STATIC_LIBASAN_LIBS): New macro. From-SVN: r193725
H.J. Lu committed -
2012-11-20 Kyrylo Tkachov <kyrylo.tkachov@arm.com> * config/arm/arm.md (*arm_abssi2): Define predicable attribute. (*arm_neg_abssi2): Likewise. * config/arm/thumb2.md (*thumb2_abssi2): Likewise. (*thumb2_neg_abssi2): Likewise. From-SVN: r193724
Kyrylo Tkachov committed -
2012-11-22 Paolo Carlini <paolo.carlini@oracle.com> PR c++/55432 * g++.dg/cpp0x/constexpr-55432.C: New. From-SVN: r193723
Paolo Carlini committed -
From-SVN: r193722
Jakub Jelinek committed -
libgcc/ Adjust decimal point of signed accum mode to GCC default. PR target/54222 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq, _divqq_helper. * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf) (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa) (__mulha3, __mulsa3) (__divqq3, __divha3, __divsa3): Adjust to new position of decimal point of signed accum types. (__mulusa3_round): New function. (__mulusa3): Use it. (__divqq_helper): New function. (__udivuqq3): Use it. gcc/ Adjust decimal point of signed accum mode to GCC default. PR target/54222 * config/avr/avr-modes.def (HA, SA, DA): Remove mode adjustments. (TA): Move decimal point one bit to the right. * config/avr/avr.c (avr_out_fract): Rewrite. From-SVN: r193721
Georg-Johann Lay committed -
2012-11-21 Matthias Klose <doko@ubuntu.com> * configure.tgt (i[3456]86): Handle -mx32 like -m64. From-SVN: r193720
Matthias Klose committed -
From-SVN: r193719
GCC Administrator committed
-
- 21 Nov, 2012 27 commits
-
-
2012-11-22 David S. Miller <davem@davemloft.net> Tobias Burnus <burnus@net-b.de> Joseph Myers <joseph@codesourcery.com> * math/atanq.c (atanq): Update from GLIBC. Handle tiny and very large arguments properly. * math/j0q.c (y0q): Update from GLIBC. Avoid arithmetic underflow when 'x' is very small. * math/j1q.c (y1q): Ditto. * math/log1pq.c (log1pq): Update from GLIBC. Saturate nonzero exponents with absolute value below 0x1p-128 to +/- 0x1p-128. * math/powq.c (powq): Update from GLIBC. If xm1 is smaller than LDBL_EPSILON/2.0L, just return xm1. Co-Authored-By: Joseph Myers <joseph@codesourcery.com> Co-Authored-By: Tobias Burnus <burnus@net-b.de> From-SVN: r193716
David S. Miller committed -
2012-11-21 Matthias Klose <doko@ubuntu.com> * config/alpha/t-linux: New file; define MULTIARCH_DIRNAME. * config.gcc <alpha*-*-linux*> (tmake_file): Include alpha/t-linux. From-SVN: r193715
Matthias Klose committed -
2012-11-21 Matthias Klose <doko@ubuntu.com> * config/m68k/t-linux: Define MULTIARCH_DIRNAME. From-SVN: r193714
Matthias Klose committed -
2012-11-21 Matthias Klose <doko@ubuntu.com> * config/ia64/t-linux: New file; define MULTIARCH_DIRNAME. * config.gcc <ia64*-*-linux*> (tmake_file): Include ia64/t-linux. From-SVN: r193713
Matthias Klose committed -
2012-11-21 Vladimir Makarov <vmakarov@redhat.com> PR rtl-optimization/55414 * lra-constraints.c (Index): New function. (lra_constraints): Check dead equiv init insns. From-SVN: r193712
Vladimir Makarov committed -
re PR fortran/55352 (Erroneous gfortran warning of unused module variable when variable is only used in namelist) 2012-11-21 Janus Weil <janus@gcc.gnu.org> PR fortran/55352 * trans-decl.c (generate_local_decl): Don't warn for explicitly imported but unused module variables which are in a namelist or common block. 2012-11-21 Janus Weil <janus@gcc.gnu.org> PR fortran/55352 * gfortran.dg/namelist_76.f90: New. From-SVN: r193711
Janus Weil committed -
* config/alpha/alpha.md (extvmisaligndi): Rename from extv; update mode of operand 1; remove ancient extract_bit_field workaround. (insvmisaligndi): Rename from insv and update similarly. (extzvmisaligndi): Rename from extzv and update similarly; split out... (extzvdi): New expander. From-SVN: r193710
Richard Henderson committed -
2012-11-21 Steve Ellcey <sellcey@mips.com> PR pch/55399 * files.c (pch_open_file): Fix check for implicit_preinclude. From-SVN: r193709
Steve Ellcey committed -
re PR libgomp/55411 (OMP threads lose their OMP_WAIT_POLICY when another OMP thread gets destructed) PR libgomp/55411 * team.c (gomp_free_thread): Decrease gomp_managed_threads if pool had any threads_used. From-SVN: r193706
Jakub Jelinek committed -
* doc/cpp.texi: Document __SANITIZE_ADDRESS__. From-SVN: r193705
H.J. Lu committed -
PR c/55397 * cppbuiltin.c (define_builtin_macros_for_compilation_flags): Define __SANITIZE_ADDRESS__ for flag_asan. From-SVN: r193704
H.J. Lu committed -
* common.opt: Change faddress-sanitizer to fsanitize=address. * toplev.c (process_options): Likewise. * gcc.c (LINK_COMMAND_SPEC): Likewise. * testsuite/lib/asan-dg.exp (check_effective_target_faddress_sanitizer): Likewise. (asan_init): Likewise. * doc/invoke.texi (-fsanitize=address): Document. From-SVN: r193702
Wei Mi committed -
2012-11-21 Martin Jambor <mjambor@suse.cz> * ipa-prop.h (struct ipa_node_params): Rename clone_for_all_contexts to do_clone_for_all_contexts. Update all uses. New flag is_all_contexts_clone. * ipa-cp.c (cgraph_edge_brings_value_p): Also consider the case when cs leads to the clone for all contexts. (perhaps_add_new_callers): Likewise. (decide_whether_version_node): Remove bogus !plats->aggs test. Set is_all_contexts_clone when cloning for all contexts. * testsuite/gcc.dg/ipa/ipcp-agg-7.c: New test. * testsuite/gcc.dg/ipa/ipcp-agg-8.c: Likewise. From-SVN: r193701
Martin Jambor committed -
re PR tree-optimization/55260 (ICE: in ipa_get_parm_lattices, at ipa-cp.c:263 with -O2 -fno-inline -fipa-cp-clone) 2012-11-21 Martin Jambor <mjambor@suse.cz> PR tree-optimization/55260 * ipa-cp.c (intersect_aggregates_with_edge): New function. (find_aggregate_values_for_callers_subset): Part moved to the function above. Call it. (cgraph_edge_brings_all_agg_vals_for_node): Reimplemented using intersect_aggregates_with_edge. * testsuite/g++.dg/torture/pr55260-2.C: New test. From-SVN: r193700
Martin Jambor committed -
2012-11-21 Matthias Klose <doko@ubuntu.com> * config/s390/t-linux64: Add multiarch names in MULTILIB_OSDIRNAMES. From-SVN: r193699
Matthias Klose committed -
From-SVN: r193698
Kostya Serebryany committed -
PR gcov-profile/55417 * profile.c (compute_working_sets): Check index first to avoid out-of-bounds array access. From-SVN: r193697
Teresa Johnson committed -
2012-11-21 Tobias Burnus <burnus@net-b.de> PR libquadmath/55225 * math/lgammaq.c (lgammaq): Use local variable if math.h does not provide signgam. * acinclude.m4 (LIBQUAD_CHECK_MATH_H_SIGNGAM): New check. * configure.ac: Use it. * configure: Regenerate. * config.h.in: Regenerate. From-SVN: r193695
Tobias Burnus committed -
2012-11-21 Matthias Klose <doko@ubuntu.com> * config/aarch64/t-aarch64-linux: Define MULTIARCH_DIRNAME for linux target. From-SVN: r193694
Matthias Klose committed -
(*float<SWI48x:mode><MODEF:mode>2_mixed_with_temp): Use SWI48 mode iterator instead of SWI48x. Update insn constraint. (*float<SWI48x:mode><MODEF:mode>2_mixed_interunit): Ditto. (*float<SWI48x:mode><MODEF:mode>2_mixed_nointerunit): Ditto. (*float<SWI48x:mode><MODEF:mode>2_sse_with_temp): Ditto. (*float<SWI48x:mode><MODEF:mode>2_sse_interunit): Ditto. (*float<SWI48x:mode><MODEF:mode>2_sse_nointerunit): Ditto. (*float<SWI48x:mode><MODEF:mode>2 splitters): Ditto. (lrint<MODEF:mode><SWI48x:mode>2): Ditto. From-SVN: r193692
Uros Bizjak committed -
gengtype-lex.c is built twice, once for BUILD and once for HOST, but the BUILD flavour is missing a dependency on $(BCONFIG_H). 2012-11-21 Marcus Shawcroft <marcus.shawcroft@arm.com> * Makefile.in (gengtype-lex.o): Add dependency on $(BCONFIG_H). From-SVN: r193691
Marcus Shawcroft committed -
2012-11-21 Martin Jambor <mjambor@suse.cz> * gcc.dg/torture/pr55238.c: Remove hidden attribute. From-SVN: r193690
Martin Jambor committed -
From-SVN: r193688
Ian Lance Taylor committed -
(cortex-m0plus): Use v6m. * config/arm/arm-protos.h (tune_params): Add logical_op_non_short_circuit. * config/arm/arm.c (arm_slowmul_tune, arm_fastmul_tune) (arm_strongarm_tune, arm_xscale_tune, arm_9e_tune, arm_v6t2_tune) (arm_cortex_tune, arm_cortex_a15_tune, arm_cortex_a5_tune) (arm_cortex_a9_tune, arm_fa726te_tune): Set logical_op_non_short_circuit field. (arm_v6m_tune): New tune_params struct. * config/arm/arm.h (LOGICAL_OP_NON_SHORT_CIRCUIT): Define. * gcc.dg/tree-ssa/ssa-dom-thread-4.c: Skip on ARM Cortex-M0. * gcc.dg/tree-ssa/vrp47.c: Ditto. From-SVN: r193687
Bin Cheng committed -
2012-11-20 Matthias Klose <doko@ubuntu.com> * configure.ac: Substitute `with_cpu'. * configure: Regenerate. * Makefile.in: Define `with_cpu'. * config/rs6000/t-linux64: Add multiarch names in MULTILIB_OSDIRNAMES. * config/rs6000/t-linux: New file; define MULTIARCH_DIRNAME. * config/rs6000/t-fprules (SOFT_FLOAT_CPUS): New macro. Add e300c2 to the list. (MULTILIB_MATCHES_FLOAT): Define in terms of SOFT_FLOAT_CPUS. * config/rs6000/t-spe: Define MULTIARCH_DIRNAME. * config.gcc <powerpc-*-linux* | powerpc64-*-linux*> (tmake_file): Include rs6000/t-linux for 32bit non-biarch configurations. From-SVN: r193686
Matthias Klose committed -
2012-11-20 Matthias Klose <doko@ubuntu.com> * doc/install.texi: Move multiarch paragraph out of multilib documentation. From-SVN: r193685
Matthias Klose committed -
From-SVN: r193684
GCC Administrator committed
-
- 20 Nov, 2012 5 commits
-
-
2012-11-20 Matthias Klose <doko@ubuntu.com> * config/arm/t-linux-eabi: Define MULTIARCH_DIRNAME for linux target. From-SVN: r193681
Matthias Klose committed -
gcc/ * stor-layout.c (bit_field_mode_iterator::next_mode): Fix signedness. From-SVN: r193680
Richard Sandiford committed -
re PR rtl-optimization/55396 (-O2 -m32 -fno-omit-frame-pointer: internal compiler error: in check_rtl, at lra.c:2007) 2012-11-20 Vladimir Makarov <vmakarov@redhat.com> PR rtl-optimization/55396 * lra-constraints.c (get_reload_reg): Change class if it is different from reg class. From-SVN: r193678
Vladimir Makarov committed -
This patch implements Jakub's idea of adding an empty struct with a typecast operator that returns nil vectors. This is useful to shorten all the initializers when declaring vec instances or passing nil vectors as function arguments. 2012-11-20 Diego Novillo <dnovillo@google.com> Jakub Jelinek <jakub@redhat.com> ChangeLog * vec.h (struct vnull): Declare. (vNULL): Declare. * vec.c (vNULL): Define. * bb-reorder.c: Replace all vec<T, A>() initializers with vNULL. * cfgexpand.c: Likewise. * cfgloop.c: Likewise. * cfgloopanal.c: Likewise. * cfgloopmanip.c: Likewise. * cgraph.c: Likewise. * config/c6x/c6x.c: Likewise. * config/i386/i386.c: Likewise. * df-core.c: Likewise. * dominance.c: Likewise. * dwarf2out.c: Likewise. * except.c: Likewise. * function.c: Likewise. * gcse.c: Likewise. * genautomata.c: Likewise. * graphds.c: Likewise. * graphite-scop-detection.c: Likewise. * graphite.c: Likewise. * haifa-sched.c: Likewise. * ifcvt.c: Likewise. * ipa-cp.c: Likewise. * ipa-inline-analysis.c: Likewise. * ipa-inline-transform.c: Likewise. * ipa-inline.c: Likewise. * ipa-prop.c: Likewise. * ipa-split.c: Likewise. * ipa-utils.c: Likewise. * ira-build.c: Likewise. * lto-cgraph.c: Likewise. * lto-streamer-in.c: Likewise. * lto-symtab.c: Likewise. * opts-global.c: Likewise. * passes.c: Likewise. * ree.c: Likewise. * sched-deps.c: Likewise. * sel-sched-ir.c: Likewise. * sel-sched-ir.h: Likewise. * sel-sched.c: Likewise. * stor-layout.c: Likewise. * trans-mem.c: Likewise. * tree-call-cdce.c: Likewise. * tree-cfg.c: Likewise. * tree-data-ref.c: Likewise. * tree-diagnostic.c: Likewise. * tree-eh.c: Likewise. * tree-loop-distribution.c: Likewise. * tree-predcom.c: Likewise. * tree-ssa-loop-im.c: Likewise. * tree-ssa-loop-ivcanon.c: Likewise. * tree-ssa-loop-manip.c: Likewise. * tree-ssa-loop-niter.c: Likewise. * tree-ssa-loop-prefetch.c: Likewise. * tree-ssa-math-opts.c: Likewise. * tree-ssa-phiopt.c: Likewise. * tree-ssa-pre.c: Likewise. * tree-ssa-propagate.c: Likewise. * tree-ssa-reassoc.c: Likewise. * tree-ssa-sccvn.c: Likewise. * tree-ssa-structalias.c: Likewise. * tree-ssa-threadedge.c: Likewise. * tree-ssa-uninit.c: Likewise. * tree-stdarg.c: Likewise. * tree-switch-conversion.c: Likewise. * tree-vect-data-refs.c: Likewise. * tree-vect-loop.c: Likewise. * tree-vect-slp.c: Likewise. * tree-vect-stmts.c: Likewise. * value-prof.c: Likewise. * varasm.c: Likewise. ada/ChangeLog * gcc-interface/decl.c: Replace all vec<T,A>() initializers with vNULL. cp/ChangeLog * name-lookup.c: Replace all vec<T, A>() initializers with vNULL. * semantics.c: Likewise. fortran/ChangeLog * trans-openmp.c: Replace all vec<T, A>() initializers with vNULL. lto/ChangeLog * lto.c: Replace all vec<T, A>() initializers with vNULL. objc/ChangeLog * objc-act.c: Replace all vec<T, A>() initializers with vNULL. Co-Authored-By: Jakub Jelinek <jakub@redhat.com> From-SVN: r193677
Diego Novillo committed -
* sanitizer_common/sanitizer_linux.cc (SANITIZER_LINUX_USES_64BIT_SYSCALLS): Define. (internal_mmap): Use it. (internal_filesize): Likewise. From-SVN: r193676
Konstantin Serebryany committed
-