]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
14 years agoinstall.texi (Binaries): Remove outdated reference for Motorola 68HC11/68HC12 downloads.
Gerald Pfeifer [Sun, 30 Jan 2011 15:18:34 +0000 (15:18 +0000)] 
install.texi (Binaries): Remove outdated reference for Motorola 68HC11/68HC12 downloads.

* doc/install.texi (Binaries): Remove outdated reference for
Motorola 68HC11/68HC12 downloads.

From-SVN: r169410

14 years agocodecvt.xml: Fix link to The Austin Common Standards Revision Group.
Gerald Pfeifer [Sun, 30 Jan 2011 12:33:35 +0000 (12:33 +0000)] 
codecvt.xml: Fix link to The Austin Common Standards Revision Group.

* doc/xml/manual/codecvt.xml: Fix link to The Austin Common
Standards Revision Group.
* doc/xml/manual/locale.xml: Ditto.
* doc/xml/manual/messages.xml: Ditto.
* doc/xml/manual/using_exceptions.xml: Ditto.

From-SVN: r169407

14 years agoextend.texi (Thread-Local): Adjust reference to Ulrich Drepper's paper.
Gerald Pfeifer [Sun, 30 Jan 2011 11:49:49 +0000 (11:49 +0000)] 
extend.texi (Thread-Local): Adjust reference to Ulrich Drepper's paper.

* doc/extend.texi (Thread-Local): Adjust reference to Ulrich
Drepper's paper.

From-SVN: r169405

14 years agoDaily bump.
GCC Administrator [Sun, 30 Jan 2011 00:17:41 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r169402

14 years agobackport: re PR boehm-gc/34544 (pthread_default_stacksize_np failed.)
John David Anglin [Sat, 29 Jan 2011 20:36:39 +0000 (20:36 +0000)] 
backport: re PR boehm-gc/34544 (pthread_default_stacksize_np failed.)

Backport from mainline:
2010-08-22  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>

        PR boehm-gc/34544
* gthr-posix.h (__gthread_active_init): Delete.
(__gthread_active_p): Do activity check here.
Don't include errno.h on hppa-hpux.  Update comment.
* gthr-posix95.h (__gthread_active_init): Delete.
(__gthread_active_p): Do activity check here.
Don't include errno.h on hppa-hpux.  Update comment.
* config.gcc (hppa[12]*-*-hpux11*): Define extra_parts.
* config/pa/pa64-hpux.h (LIB_SPEC): When -static is specified, only
add -lpthread when -mt or -pthread is specified.
* config/pa/pa-hpux11.h (LIB_SPEC): likewise.
(LINK_GCC_C_SEQUENCE_SPEC): Define.
* config/pa/t-pa-hpux11 (LIBGCCSTUB_OBJS): Define.
(stublib.c, pthread_default_stacksize_np-stub.o,
pthread_mutex_lock-stub.o, pthread_mutex_unlock-stub.o,
$(T)libgcc_stub.a): Add methods.
* config/pa/t-pa64 (LIBGCCSTUB_OBJS): Add pthread stubs.
(stublib.c, pthread_default_stacksize_np-stub.o,
pthread_mutex_lock-stub.o, pthread_mutex_unlock-stub.o): Add methods.
* config/pa/stublib.c (pthread_default_stacksize_np, pthread_mutex_lock,
pthread_mutex_unlock): New stubs.

From-SVN: r169394

14 years agoDaily bump.
GCC Administrator [Sat, 29 Jan 2011 00:18:16 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r169383

14 years agoDaily bump.
GCC Administrator [Fri, 28 Jan 2011 00:17:54 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r169348

14 years agopr42585.c: Disable on power, arm, sh, s390 and s390x.
Andreas Krebbel [Thu, 27 Jan 2011 11:33:54 +0000 (11:33 +0000)] 
pr42585.c: Disable on power, arm, sh, s390 and s390x.

2011-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* gcc.dg/tree-ssa/pr42585.c: Disable on power, arm, sh, s390 and
s390x.

From-SVN: r169329

14 years agoDaily bump.
GCC Administrator [Thu, 27 Jan 2011 00:17:58 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r169316

14 years agore PR rtl-optimization/44469 (internal compiler error: in fixup_reorder_chain, at...
Eric Botcazou [Wed, 26 Jan 2011 21:14:27 +0000 (21:14 +0000)] 
re PR rtl-optimization/44469 (internal compiler error: in fixup_reorder_chain, at cfglayout.c:797)

PR rtl-optimization/44469
* cfgcleanup.c (try_optimize_cfg): Iterate in CFG layout mode too
after removing trivially dead basic blocks.

From-SVN: r169305

14 years agoDaily bump.
GCC Administrator [Wed, 26 Jan 2011 00:18:11 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r169264

14 years agobackport: re PR fortran/47331 (ICE in make_decl_rtl, at varasm.c:1133 (with -fopenmp))
Tobias Burnus [Tue, 25 Jan 2011 17:01:06 +0000 (18:01 +0100)] 
backport: re PR fortran/47331 (ICE in make_decl_rtl, at varasm.c:1133 (with -fopenmp))

2011-01-25  Tobias Burnus  <burnus@net-b.de>

        Backport from mainline
        2011-01-17  Jakub Jelinek  <jakub@redhat.com>

        PR fortran/47331
        * gfortran.h (struct gfc_omp_saved_state): New type.
        (gfc_omp_save_and_clear_state, gfc_omp_restore_state): New
        prototypes.
        * resolve.c (resolve_global_procedure): Call it around
        gfc_resolve call.

2011-01-25  Tobias Burnus  <burnus@net-b.de>

        Backport from mainline
        2011-01-17  Jakub Jelinek  <jakub@redhat.com>

        PR fortran/47331
        * gfortran.dg/gomp/pr47331.f90: New test.

From-SVN: r169244

14 years agobackport: configure.ac: Allow all the versions greater than 0.10 of PPL.
Richard Guenther [Tue, 25 Jan 2011 15:49:54 +0000 (15:49 +0000)] 
backport: configure.ac: Allow all the versions greater than 0.10 of PPL.

2011-01-25  Richard Guenther  <rguenther@suse.de>

Backport from mainline
2010-05-05  Sebastian Pop  <sebastian.pop@amd.com>

* configure.ac: Allow all the versions greater than 0.10 of PPL.
* configure: Regenerated.

From-SVN: r169239

14 years agore PR fortran/47448 (Invalid check for ASSIGNMENT(=))
Tobias Burnus [Tue, 25 Jan 2011 13:54:33 +0000 (14:54 +0100)] 
re PR fortran/47448 (Invalid check for ASSIGNMENT(=))

2011-01-25  Tobias Burnus  <burnus@net-b.de>

        PR fortran/47448
        * interface.c (gfc_check_operator_interface): Fix
        defined-assignment check.

2011-01-25  Tobias Burnus  <burnus@net-b.de>

        PR fortran/47448
        * gfortran.dg/redefined_intrinsic_assignment_2.f90: New.

From-SVN: r169229

14 years agore PR tree-optimization/47411 (Bootstrap failure on x86-64/Darwin)
Richard Guenther [Tue, 25 Jan 2011 10:24:56 +0000 (10:24 +0000)] 
re PR tree-optimization/47411 (Bootstrap failure on x86-64/Darwin)

2011-01-25  Richard Guenther  <rguenther@suse.de>

PR middle-end/47411
* gcc.dg/torture/pr47411.c: New testcase.

From-SVN: r169224

14 years agore PR tree-optimization/47411 (Bootstrap failure on x86-64/Darwin)
Richard Guenther [Tue, 25 Jan 2011 09:48:07 +0000 (09:48 +0000)] 
re PR tree-optimization/47411 (Bootstrap failure on x86-64/Darwin)

2011-01-25  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/47411
Backport from mainline
2010-06-30  Michael Matz  <matz@suse.de>

PR bootstrap/44699
* tree-vrp.c (vrp_finalize): Deal with changing num_ssa_names.

From-SVN: r169222

14 years agobackport: re PR target/44392 (libgcc compile with --enable-target-optspace (-Os)...
Ramana Radhakrishnan [Tue, 25 Jan 2011 07:18:05 +0000 (07:18 +0000)] 
backport: re PR target/44392 (libgcc compile with --enable-target-optspace (-Os) causes recursion in __bswapsi2)

2011-01-21  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

Backport from mainline.
2010-09-08  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

PR target/44392
* config/arm/arm.md (bswapsi2): Handle condition correctly
for armv6 and optimize_size.

From-SVN: r169221

14 years agoDaily bump.
GCC Administrator [Tue, 25 Jan 2011 00:18:10 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r169188

14 years agocray_pointers_2.f90: Avoid cycling through optimization options.
Rainer Orth [Mon, 24 Jan 2011 12:21:14 +0000 (12:21 +0000)] 
cray_pointers_2.f90: Avoid cycling through optimization options.

* gfortran.dg/cray_pointers_2.f90: Avoid cycling through
optimization options.

From-SVN: r169158

14 years ago* gfortran.dg/array_constructor_33.f90: Use dg-timeout-factor 4.
Rainer Orth [Mon, 24 Jan 2011 09:32:52 +0000 (09:32 +0000)] 
* gfortran.dg/array_constructor_33.f90: Use dg-timeout-factor 4.

From-SVN: r169154

14 years agoDaily bump.
GCC Administrator [Mon, 24 Jan 2011 00:17:55 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r169149

14 years agoDaily bump.
GCC Administrator [Sun, 23 Jan 2011 00:18:00 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r169140

14 years agoDaily bump.
GCC Administrator [Sat, 22 Jan 2011 00:18:18 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r169117

14 years agore PR fortran/47394 (Internal compiler error when error count limit is reached)
Tobias Burnus [Fri, 21 Jan 2011 22:38:55 +0000 (23:38 +0100)] 
re PR fortran/47394 (Internal compiler error when error count limit is reached)

2011-01-21  Tobias Burnus  <burnus@net-b.de>

        PR fortran/47394
        * error.c (gfc_error_now, gfc_fatal_error, gfc_error_check):
        Use defined instead of magic number exit status codes.
        * scanner.c (include_line, gfc_new_file): Ditto.
        * gfortranspec.c (lang_specific_driver): Ditto.

From-SVN: r169109

14 years agore PR tree-optimization/47365 (wrong code with -O -ftree-pre)
Richard Guenther [Fri, 21 Jan 2011 14:05:00 +0000 (14:05 +0000)] 
re PR tree-optimization/47365 (wrong code with -O -ftree-pre)

2011-01-21  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/47365
* tree-ssa-sccvn.h (vn_lookup_kind): Declare.
(vn_reference_lookup_pieces): Adjust.
(vn_reference_lookup): Likewise.
* tree-ssa-sccvn.c (vn_walk_kind): New static global.
(vn_reference_lookup_3): Only look through kills if in
VN_WALKREWRITE mode.
(vn_reference_lookup_pieces): Adjust.
(vn_reference_lookup): Likewise.
(visit_reference_op_load): Likewise.
(visit_reference_op_store): Likewise.
* tree-ssa-pre.c (phi_translate_1): Use VN_WALK mode.
(compute_avail): Likewise.
(eliminate): Likewise.

* gcc.dg/torture/pr47365.c: New testcase.
* gcc.dg/tree-ssa/pr47392.c: Likewise.

From-SVN: r169090

14 years ago* g++.dg/other/anon5.C: Skip on mips-sgi-irix*.
Rainer Orth [Fri, 21 Jan 2011 13:06:39 +0000 (13:06 +0000)] 
* g++.dg/other/anon5.C: Skip on mips-sgi-irix*.

From-SVN: r169086

14 years agoDaily bump.
GCC Administrator [Fri, 21 Jan 2011 00:18:15 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r169075

14 years agore PR other/47167 (Performance regression in numerical code)
Richard Guenther [Thu, 20 Jan 2011 10:36:29 +0000 (10:36 +0000)] 
re PR other/47167 (Performance regression in numerical code)

2011-01-20  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/47167
* tree-ssa-copyrename.c (copy_rename_partition_coalesce):
Revert previous change, only avoid enumeral type changes.

From-SVN: r169051

14 years agoDaily bump.
GCC Administrator [Thu, 20 Jan 2011 00:18:01 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r169041

14 years agore PR libstdc++/47354 (bitmap_allocator free_list::_M_get never locks mutex)
Graham Reed [Wed, 19 Jan 2011 08:49:58 +0000 (08:49 +0000)] 
re PR libstdc++/47354 (bitmap_allocator free_list::_M_get never locks mutex)

2011-01-19  Graham Reed  <greed@pobox.com>

PR libstdc++/47354
* src/bitmap_allocator.cc (free_list::_M_get): Lock mutex.

From-SVN: r168985

14 years agoDaily bump.
GCC Administrator [Wed, 19 Jan 2011 00:17:43 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r168977

14 years agoDaily bump.
GCC Administrator [Tue, 18 Jan 2011 00:18:04 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r168940

14 years agobackport: re PR rtl-optimization/46603 (gcc.dg/vect/slp-multitypes-2.c execution...
Eric Botcazou [Mon, 17 Jan 2011 17:48:36 +0000 (17:48 +0000)] 
backport: re PR rtl-optimization/46603 (gcc.dg/vect/slp-multitypes-2.c execution failure)

Backport from mainline
2010-11-22  Eric Botcazou  <ebotcazou@adacore.com>

* gcc.dg/pr28796-2.c: SKIP on SPARC/Solaris 8.

PR rtl-optimization/46603
* gcc.dg/vect/slp-multitypes-2.c: XFAIL execution on SPARC 32-bit.

2010-08-31  Bingfeng Mei  <bmei@broadcom.com>

* gcc.dg/vect/pr43430-1.c: Requires vect_condition target.

From-SVN: r168917

14 years ago* g++.old-deja/g++.other/init19.C: Don't XFAIL on mips-sgi-irix*.
Rainer Orth [Mon, 17 Jan 2011 17:06:03 +0000 (17:06 +0000)] 
* g++.old-deja/g++.other/init19.C: Don't XFAIL on mips-sgi-irix*.

From-SVN: r168912

14 years agoCorrect mask operand for AVX mask load/store.
H.J. Lu [Mon, 17 Jan 2011 13:10:18 +0000 (13:10 +0000)] 
Correct mask operand for AVX mask load/store.

gcc/

2011-01-17  H.J. Lu  <hongjiu.lu@intel.com>

Backport from mainline
2011-01-17  H.J. Lu  <hongjiu.lu@intel.com>

PR target/47318
* config/i386/avxintrin.h (_mm_maskload_pd): Change mask to
__m128i.
(_mm_maskstore_pd): Likewise.
(_mm_maskload_ps): Likewise.
(_mm_maskstore_ps): Likewise.
(_mm256_maskload_pd): Change mask to __m256i.
(_mm256_maskstore_pd): Likewise.
(_mm256_maskload_ps): Likewise.
(_mm256_maskstore_ps): Likewise.

* config/i386/i386-builtin-types.def: Updated.
(ix86_expand_special_args_builtin): Likewise.

* config/i386/i386.c (bdesc_special_args): Update
__builtin_ia32_maskloadpd, __builtin_ia32_maskloadps,
__builtin_ia32_maskloadpd256, __builtin_ia32_maskloadps256,
__builtin_ia32_maskstorepd, __builtin_ia32_maskstoreps,
__builtin_ia32_maskstorepd256 and __builtin_ia32_maskstoreps256.

* config/i386/sse.md (avx_maskload<ssemodesuffix><avxmodesuffix>):
Use <avxpermvecmode> on mask register.
(avx_maskstore<ssemodesuffix><avxmodesuffix>): Likewise.

gcc/testsuite/

2011-01-17  H.J. Lu  <hongjiu.lu@intel.com>

Backport from mainline
2011-01-17  H.J. Lu  <hongjiu.lu@intel.com>

PR target/47318
* gcc.target/i386/avx-vmaskmovpd-1.c: New.
* gcc.target/i386/avx-vmaskmovpd-2.c: Likewise.
* gcc.target/i386/avx-vmaskmovps-1.c: Likewise.
* gcc.target/i386/avx-vmaskmovps-1.c: Likewise.

* gcc.target/i386/avx-vmaskmovpd-256-1.c (avx_test): Load mask
as __m256i.
* gcc.target/i386/avx-vmaskmovpd-256-2.c (avx_test): Likewise.
* gcc.target/i386/avx-vmaskmovps-256-1.c (avx_test): Likewise.
* gcc.target/i386/avx-vmaskmovps-256-2.c (avx_test): Likewise.

From-SVN: r168900

14 years agore PR target/46655 (invalid '.line 0' directive emitted with -g)
Olivier Hainque [Mon, 17 Jan 2011 12:36:55 +0000 (12:36 +0000)] 
re PR target/46655 (invalid '.line 0' directive emitted with -g)

PR target/46655
* xcoffout.c (ASM_OUTPUT_LINE): Output line only if positive, and only
if <= USHRT_MAX in 32-bit mode.

Co-Authored-By: Eric Botcazou <ebotcazou@adacore.com>
Co-Authored-By: Michael Haubenwallner <michael.haubenwallner@salomon.at>
From-SVN: r168898

14 years agobackport: re PR tree-optimization/47286 (Invalid code when using register ... asm)
Richard Guenther [Mon, 17 Jan 2011 11:31:10 +0000 (11:31 +0000)] 
backport: re PR tree-optimization/47286 (Invalid code when using register ... asm)

2011-01-17  Richard Guenther  <rguenther@suse.de>

        Backport from mainline
PR tree-optimization/47286
* tree-ssa-structalias.c (new_var_info): Register variables
are global.

* gcc.dg/tree-ssa/pr47286.c: New testcase.

        PR tree-optimization/44592
* tree-ssa-ccp.c (gimplify_and_update_call_from_tree): Copy
from trunk.

* gfortran.dg/pr44592.f90: New testcase.

From-SVN: r168894

14 years agoDaily bump.
GCC Administrator [Mon, 17 Jan 2011 00:18:09 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r168884

14 years agobackport: re PR target/47201 (ICE: SIGSEGV in adjust_mems (var-tracking.c:814) with...
Jakub Jelinek [Sun, 16 Jan 2011 20:27:54 +0000 (21:27 +0100)] 
backport: re PR target/47201 (ICE: SIGSEGV in adjust_mems (var-tracking.c:814) with -O -fPIC -g)

Backport from mainline
2011-01-07  Jakub Jelinek  <jakub@redhat.com>

PR target/47201
* config/i386/i386.c (ix86_delegitimize_address): If
simplify_gen_subreg fails, return orig_x.

* gcc.dg/pr47201.c: New test.

From-SVN: r168870

14 years agobackport: re PR c/47150 (ICE in gimplify_expr at gimplify.c)
Jakub Jelinek [Sun, 16 Jan 2011 20:26:27 +0000 (21:26 +0100)] 
backport: re PR c/47150 (ICE in gimplify_expr at gimplify.c)

Backport from mainline
2011-01-06  Jakub Jelinek  <jakub@redhat.com>

PR c/47150
* c-convert.c (convert): When converting a complex expression
other than COMPLEX_EXPR to a different complex type, ensure
c_save_expr is called instead of save_expr, unless in_late_binary_op.
* c-typeck.c (convert_for_assignment): Set in_late_binary_op also
when converting COMPLEX_TYPE.

* gcc.c-torture/compile/pr47150.c: New test.

From-SVN: r168869

14 years agobackport: re PR target/46880 (generating of shufpd is broken)
Jakub Jelinek [Sun, 16 Jan 2011 20:25:01 +0000 (21:25 +0100)] 
backport: re PR target/46880 (generating of shufpd is broken)

Backport from mainline
2010-12-21  Jakub Jelinek  <jakub@redhat.com>

PR target/46880
* config/i386/sse.md (sse2_loadlpd, sse2_movsd): Fix shufpd source
operand.

* gcc.target/i386/pr46880.c: New test.

From-SVN: r168868

14 years agobackport: re PR middle-end/45852 (volatile structs are broken!)
Jakub Jelinek [Sun, 16 Jan 2011 20:23:01 +0000 (21:23 +0100)] 
backport: re PR middle-end/45852 (volatile structs are broken!)

Backport from mainline
2010-12-21  Jakub Jelinek  <jakub@redhat.com>

PR middle-end/45852
* expr.c (store_expr): Ignore alt_rtl if equal to target,
but has side-effects.

* gcc.target/i386/pr45852.c: New test.

From-SVN: r168867

14 years agobackport: re PR tree-optimization/43655 (-ftree-ter causes FAIL: g++.old-deja/g+...
Jakub Jelinek [Sun, 16 Jan 2011 20:21:42 +0000 (21:21 +0100)] 
backport: re PR tree-optimization/43655 (-ftree-ter causes FAIL: g++.old-deja/g++.law/temps5.C execution test)

Backport from mainline
2010-12-16  Jakub Jelinek  <jakub@redhat.com>

PR tree-optimization/43655
* tree-ssa-ter.c (is_replaceable_p): Don't use
gimple_references_memory_p for -O0, instead check for load
by looking at rhs.

* g++.dg/opt/pr43655.C: New test.

From-SVN: r168866

14 years agobackport: re PR debug/46893 (ICE: in trunc_int_for_mode, at explow.c:56 with -O -g)
Jakub Jelinek [Sun, 16 Jan 2011 20:20:21 +0000 (21:20 +0100)] 
backport: re PR debug/46893 (ICE: in trunc_int_for_mode, at explow.c:56 with -O -g)

Backport from mainline
2010-12-16  Jakub Jelinek  <jakub@redhat.com>

PR debug/46893
* cfgexpand.c (expand_debug_expr): If GET_MODE (op0) is VOIDmode,
use TYPE_MODE (TREE_TYPE (tem)) instead of mode1.

* gcc.dg/pr46893.c: New test.

From-SVN: r168865

14 years agobackport: re PR fortran/46874 ([OpenMP] ICE in gfc_conv_descriptor_data_get, at fortr...
Jakub Jelinek [Sun, 16 Jan 2011 20:18:01 +0000 (21:18 +0100)] 
backport: re PR fortran/46874 ([OpenMP] ICE in gfc_conv_descriptor_data_get, at fortran/trans-array.c:147)

Backport from mainline
2010-12-14  Jakub Jelinek  <jakub@redhat.com>

PR fortran/46874
* trans-openmp.c (gfc_trans_omp_array_reduction): Handle allocatable
dummy variables.

* libgomp.fortran/allocatable6.f90: New test.

From-SVN: r168864

14 years agobackport: re PR rtl-optimization/46804 (gfortran.dg/char_cshift_2.f90 FAILs with...
Jakub Jelinek [Sun, 16 Jan 2011 20:16:30 +0000 (21:16 +0100)] 
backport: re PR rtl-optimization/46804 (gfortran.dg/char_cshift_2.f90 FAILs with -fregmove)

Backport from mainline
2010-12-10  Jakub Jelinek  <jakub@redhat.com>

PR rtl-optimization/46804
* regmove.c (optimize_reg_copy_3): Look for REG_EQUAL note
on the setter of src_reg rather than on insn.  If it is
equal to the setter's original SET_SRC, replace it with its
zero or sign extension instead of dropping it.

* gfortran.dg/pr46804.f90: New test.

From-SVN: r168863

14 years agobackport: re PR rtl-optimization/46865 (Using -save-temps (or ccache, distcc) produce...
Jakub Jelinek [Sun, 16 Jan 2011 20:14:37 +0000 (21:14 +0100)] 
backport: re PR rtl-optimization/46865 (Using -save-temps (or ccache, distcc) produces different results with multiline macros containing asm code)

Backport from mainline
2010-12-10  Jakub Jelinek  <jakub@redhat.com>

PR rtl-optimization/46865
* rtl.c (rtx_equal_p_cb, rtx_equal_p): For last operand of
ASM_OPERANDS and ASM_INPUT if integers are different,
call locator_eq.
* jump.c (rtx_renumbered_equal_p): Likewise.

* gcc.target/i386/pr46865-1.c: New test.
* gcc.target/i386/pr46865-2.c: New test.

From-SVN: r168862

14 years agobackport: re PR tree-optimization/46864 (ICE: verify_stmts failed: statement marked...
Jakub Jelinek [Sun, 16 Jan 2011 20:12:46 +0000 (21:12 +0100)] 
backport: re PR tree-optimization/46864 (ICE: verify_stmts failed: statement marked for throw, but doesn't with -fnon-call-exceptions)

Backport from mainline
2010-12-10  Jakub Jelinek  <jakub@redhat.com>

PR tree-optimization/46864
* tree-ssa-loop-im.c (loop_suitable_for_sm): Return false even
when there are EDGE_EH exit edges.

* g++.dg/opt/pr46864.C: New test.

From-SVN: r168861

14 years agobackport: re PR target/41082 (FAIL: gfortran.fortran-torture/execute/where_2.f90...
Jakub Jelinek [Sun, 16 Jan 2011 20:11:16 +0000 (21:11 +0100)] 
backport: re PR target/41082 (FAIL: gfortran.fortran-torture/execute/where_2.f90 execution,  -O3)

Backport from mainline
2010-12-09  Jakub Jelinek  <jakub@redhat.com>

PR target/41082
* config/rs6000/rs6000.c (rs6000_expand_vector_extract): Use stvx
instead of stve*x.
(altivec_expand_stv_builtin): For op0 use mode of operand 1 instead
of operand 0.
* config/rs6000/altivec.md (VI_scalar): New mode attr.
(altivec_stve<VI_char>x, *altivec_stvesfx): Use scalar instead of
vector mode for operand 0, put operand 1 into UNSPEC.

From-SVN: r168860

14 years agobackport: re PR fortran/45777 (Alias analysis broken for arrays where LHS or RHS...
Thomas Koenig [Sun, 16 Jan 2011 11:46:55 +0000 (11:46 +0000)] 
backport: re PR fortran/45777 (Alias analysis broken for arrays where LHS or RHS is a component ref)

2011-01-16  Thomas Koenig  <tkoenig@gcc.gnu.org>

Backport from trunk
PR fortran/45777
* symbol.c (gfc_symbols_could_alias):  Strip gfc_ prefix,
make static and move in front of its only caller, to ...
* trans-array.c (symbols_could_alias): ... here.
Pass information about pointer and target status as
arguments.  Allocatable arrays don't alias anything
unless they have the POINTER attribute.
(gfc_could_be_alias):  Keep track of pointer and target
status when following references.  Also check if typespecs
of components match those of other components or symbols.
* gfortran.h:  Remove prototype for gfc_symbols_could_alias.

2011-01-16  Thomas Koenig  <tkoenig@gcc.gnu.org>

Backport from trunk
PR fortran/45777
* gfortran.dg/dependency_39.f90:  New test.

From-SVN: r168851

14 years agoDaily bump.
GCC Administrator [Sun, 16 Jan 2011 00:17:56 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r168848

14 years agoDaily bump.
GCC Administrator [Sat, 15 Jan 2011 00:18:10 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r168829

14 years agoDaily bump.
GCC Administrator [Fri, 14 Jan 2011 00:18:39 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r168769

14 years ago* gfortran.dg/cray_pointers_2.f90: Use dg-timeout-factor 4.
Rainer Orth [Thu, 13 Jan 2011 18:22:25 +0000 (18:22 +0000)] 
* gfortran.dg/cray_pointers_2.f90: Use dg-timeout-factor 4.

From-SVN: r168760

14 years agoImport this fix from the mainline:
Nick Clifton [Thu, 13 Jan 2011 17:20:20 +0000 (17:20 +0000)] 
Import this fix from the mainline:

2010-10-19  Nick Clifton  <nickc@redhat.com>

* config/rx/rx.c (rx_function_value): Small integer types are
promoted to SImode.
(rx_promote_function_mode): New function.
(TARGET_PROMOTE_FUNCTION_MODE): Define.

From-SVN: r168754

14 years agoDaily bump.
GCC Administrator [Thu, 13 Jan 2011 00:18:37 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r168735

14 years agore PR testsuite/33033 (FAIL: gcc.dg/20061124-1.c: undefined reference to `__sync_add_...
Eric Botcazou [Wed, 12 Jan 2011 10:53:21 +0000 (10:53 +0000)] 
re PR testsuite/33033 (FAIL: gcc.dg/20061124-1.c: undefined reference to `__sync_add_and_fetch_2')

PR testsuite/33033
* gcc.dg/20061124-1.c: Pass -mcpu=v9 on the SPARC.

From-SVN: r168702

14 years agoDaily bump.
GCC Administrator [Wed, 12 Jan 2011 00:18:07 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r168693

14 years agoDaily bump.
GCC Administrator [Tue, 11 Jan 2011 00:17:53 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r168648

14 years agoDaily bump.
GCC Administrator [Mon, 10 Jan 2011 00:17:58 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r168622

14 years agoDaily bump.
GCC Administrator [Sun, 9 Jan 2011 00:17:43 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r168607

14 years agoDaily bump.
GCC Administrator [Sat, 8 Jan 2011 00:17:38 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r168591

14 years agobackport: jni.exp (gcj_jni_get_cxxflags_invocation): Add -shared-libgcc to cxxflags...
Rainer Orth [Fri, 7 Jan 2011 15:32:24 +0000 (15:32 +0000)] 
backport: jni.exp (gcj_jni_get_cxxflags_invocation): Add -shared-libgcc to cxxflags for *-*-solaris*.

Backport from mainline:
2011-01-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

* testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation):
Add -shared-libgcc to cxxflags for *-*-solaris*.
Remove -lsocket.

From-SVN: r168576

14 years agobackport: re PR target/43309 (amd64 TLS IE code sequence on Solaris 2/x86 violates...
Rainer Orth [Fri, 7 Jan 2011 13:02:29 +0000 (13:02 +0000)] 
backport: re PR target/43309 (amd64 TLS IE code sequence on Solaris 2/x86 violates spec)

Backport from mainline:
2011-01-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

PR target/43309
* config/i386/i386.c (legitimize_tls_address)
<TLS_MODEL_INITIAL_EXEC>: Handle TARGET_64BIT && TARGET_SUN_TLS.
* config/i386/i386.md (UNSPEC_TLS_IE_SUN): Declare.
(tls_initial_exec_64_sun): New pattern.

From-SVN: r168567

14 years agoDaily bump.
GCC Administrator [Fri, 7 Jan 2011 00:17:46 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r168561

14 years agoDaily bump.
GCC Administrator [Thu, 6 Jan 2011 00:19:04 +0000 (00:19 +0000)] 
Daily bump.

From-SVN: r168532

14 years agoDaily bump.
GCC Administrator [Wed, 5 Jan 2011 00:18:00 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r168498

14 years agore PR preprocessor/39213 (Preprocessor ICE with -m64 and --traditional-cpp)
Eric Botcazou [Tue, 4 Jan 2011 23:18:29 +0000 (23:18 +0000)] 
re PR preprocessor/39213 (Preprocessor ICE with -m64 and --traditional-cpp)

PR preprocessor/39213
* directives.c (end_directive): Call _cpp_remove_overlay for deferred
pragmas as well in traditional mode.

Co-Authored-By: Jakub Jelinek <jakub@redhat.com>
From-SVN: r168491

14 years agotrans.c (Subprogram_Body_to_gnu): Evaluate the expressions of the parameter cache...
Eric Botcazou [Tue, 4 Jan 2011 09:44:16 +0000 (09:44 +0000)] 
trans.c (Subprogram_Body_to_gnu): Evaluate the expressions of the parameter cache within the statement group of...

* gcc-interface/trans.c (Subprogram_Body_to_gnu): Evaluate the
expressions of the parameter cache within the statement group of
the CICO mechanism.

From-SVN: r168457

14 years agoDaily bump.
GCC Administrator [Tue, 4 Jan 2011 00:17:35 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r168450

14 years agobackport: re PR target/47038 (failure of gcc.dg/pr46685.c)
Eric Botcazou [Mon, 3 Jan 2011 12:06:19 +0000 (12:06 +0000)] 
backport: re PR target/47038 (failure of gcc.dg/pr46685.c)

Backport from mainline
2010-12-30  Eric Botcazou  <ebotcazou@adacore.com>

PR target/47038
* config/sparc/sparc.c (sparc_file_end): Call resolve_unique_section
on the GOT helper if USE_HIDDEN_LINKONCE.

2010-12-02  Eric Botcazou  <ebotcazou@adacore.com>

PR target/46685
* config/sparc/sparc.c (can_use_mov_pic_label_ref): New predicate.
(sparc_expand_move): Call it to decide whether to emit the special
mov{si,di}_pic_label_ref patterns.
(sparc_legitimize_pic_address): Call it to decide whether to emit
the regular PIC sequence for labels.  Fix long line.
(sparc_file_end): Set is_thunk for the PIC helper.

From-SVN: r168418

14 years agoDaily bump.
GCC Administrator [Mon, 3 Jan 2011 00:17:35 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r168413

14 years agobackport: re PR fortran/45338 (Failure on interfacing a function passed as an argumen...
Thomas Koenig [Sun, 2 Jan 2011 21:58:03 +0000 (21:58 +0000)] 
backport: re PR fortran/45338 (Failure on interfacing a function passed as an argument as a custom operator)

2011-02-01  Thomas Koenig  <tkoenig@gcc.gnu.org>

Backport from mainline
PR fortran/45338
* resolve.c (resolve_operator):  Mark function for user-defined
operator as referenced.

2011-02-01  Thomas Koenig  <tkoenig@gcc.gnu.org>

Backport from mainline
PR fortran/45338
* gfortran.dg/userdef_operator_2.f90:  New test case.

From-SVN: r168410

14 years agoDaily bump.
GCC Administrator [Sun, 2 Jan 2011 00:18:06 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r168394

14 years agoDaily bump.
GCC Administrator [Sat, 1 Jan 2011 00:17:19 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r168386

14 years agoDaily bump.
GCC Administrator [Fri, 31 Dec 2010 00:17:44 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r168361

14 years agopa.md: Add ",*" condition to 64-bit add/subtract boolean patterns.
John David Anglin [Thu, 30 Dec 2010 21:57:32 +0000 (21:57 +0000)] 
pa.md: Add ",*" condition to 64-bit add/subtract boolean patterns.

* config/pa/pa.md: Add ",*" condition to 64-bit add/subtract boolean
patterns.

From-SVN: r168353

14 years agoDaily bump.
GCC Administrator [Thu, 30 Dec 2010 00:18:36 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r168330

14 years agoDaily bump.
GCC Administrator [Wed, 29 Dec 2010 00:18:06 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r168305

14 years agoDaily bump.
GCC Administrator [Tue, 28 Dec 2010 00:18:56 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r168283

14 years agobackport: re PR debug/45447 (ICE with `-g -femit-struct-debug-baseonly')
Yao Qi [Mon, 27 Dec 2010 12:45:02 +0000 (12:45 +0000)] 
backport: re PR debug/45447 (ICE with `-g -femit-struct-debug-baseonly')

Backport from mainline:
gcc/
        PR target/45447
        * config/arm/arm.c (arm_build_builtin_va_list): Assign
        va_list_name to TYPE_STUB_DECL (va_list_type).

gcc/testsuite/
        PR target/45447
        * gcc.target/arm/pr45447.c: New test.

From-SVN: r168270

14 years agoDaily bump.
GCC Administrator [Mon, 27 Dec 2010 00:17:58 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r168260

14 years agoDaily bump.
GCC Administrator [Sun, 26 Dec 2010 00:17:26 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r168247

14 years agoDaily bump.
GCC Administrator [Sat, 25 Dec 2010 00:18:28 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r168235

14 years ago* gnat.dg/opt13_pkg.ad[sb]: Fix line ending.
Eric Botcazou [Fri, 24 Dec 2010 16:18:14 +0000 (16:18 +0000)] 
* gnat.dg/opt13_pkg.ad[sb]: Fix line ending.

From-SVN: r168228

14 years agoDaily bump.
GCC Administrator [Fri, 24 Dec 2010 00:19:18 +0000 (00:19 +0000)] 
Daily bump.

From-SVN: r168219

14 years agoFix PR46758: Do not use int_cst_value.
Sebastian Pop [Thu, 23 Dec 2010 18:52:12 +0000 (18:52 +0000)] 
Fix PR46758: Do not use int_cst_value.

2010-12-23  Sebastian Pop  <sebastian.pop@amd.com>
    Richard Guenther  <rguenther@suse.de>

PR tree-optimization/46758
* graphite-sese-to-poly.c (scan_tree_for_params_right_scev): Use
tree_int_to_gmp instead of int_cst_value.
(scan_tree_for_params_int): Same.
(scan_tree_for_params): Same.
(pdr_add_data_dimensions): Use ppl_set_inhomogeneous_tree.

* gcc.dg/graphite/run-id-pr46758.c: New.

Co-Authored-By: Richard Guenther <rguenther@suse.de>
From-SVN: r168214

14 years agoFix PR45552: backport fix for PR45758 to 4.5 branch.
Sebastian Pop [Thu, 23 Dec 2010 18:52:04 +0000 (18:52 +0000)] 
Fix PR45552: backport fix for PR45758 to 4.5 branch.

2010-12-23  Sebastian Pop  <sebastian.pop@amd.com>

Backport from mainline
Fix PR45758: reset scevs before Graphite.
        2010-09-24  Sebastian Pop  <sebastian.pop@amd.com>

PR tree-optimization/45552
* graphite.c (graphite_initialize): Call scev_reset.

* gcc.dg/graphite/pr45552.c

From-SVN: r168213

14 years agoFix PR43023: fuse_partitions_with_similar_memory_accesses.
Sebastian Pop [Thu, 23 Dec 2010 18:51:51 +0000 (18:51 +0000)] 
Fix PR43023: fuse_partitions_with_similar_memory_accesses.

2010-12-23  Sebastian Pop  <sebastian.pop@amd.com>

PR tree-optimization/43023
* tree-data-ref.c (mem_write_stride_of_same_size_as_unit_type_p):
Removed.
(stores_zero_from_loop): Call stmt_stores_zero.
(stmt_with_adjacent_zero_store_dr_p): New.
* tree-data-ref.h (stmt_with_adjacent_zero_store_dr_p): Declared.
(stride_of_unit_type_p): New.
* tree-loop-distribution.c (generate_memset_zero): Do not return a
boolean.  Call gcc_assert on stride_of_unit_type_p.
(generate_builtin): Call stmt_stores_zero.
(rdg_flag_all_uses): Removed.
(rdg_flag_similar_memory_accesses): Removed.
(build_rdg_partition_for_component): Removed parameter
other_stores.  Removed call to rdg_flag_similar_memory_accesses.
(can_generate_builtin): New.
(similar_memory_accesses): New.
(fuse_partitions_with_similar_memory_accesses): New.
(rdg_build_partitions): Call
fuse_partitions_with_similar_memory_accesses.

* gfortran.dg/ldist-1.f90: Adjust pattern.
* gfortran.dg/ldist-pr43023.f90: New.

From-SVN: r168212

14 years agoDaily bump.
GCC Administrator [Thu, 23 Dec 2010 00:19:24 +0000 (00:19 +0000)] 
Daily bump.

From-SVN: r168192

14 years agoDaily bump.
GCC Administrator [Wed, 22 Dec 2010 00:20:35 +0000 (00:20 +0000)] 
Daily bump.

From-SVN: r168153

14 years agobackport: re PR middle-end/46734 (ICE in create_tmp_var, at gimplify.c:505)
Martin Jambor [Tue, 21 Dec 2010 11:05:49 +0000 (12:05 +0100)] 
backport: re PR middle-end/46734 (ICE in create_tmp_var, at gimplify.c:505)

2010-12-21  Martin Jambor  <mjambor@suse.cz>

Backport from mainline:
2010-12-09  Martin Jambor  <mjambor@suse.cz>

PR middle-end/46734
* tree-sra.c (splice_param_accesses): Check that there are not
multiple ADDRESSABLE types.

* testsuite/g++.dg/tree-ssa/pr46734.C: New test.

From-SVN: r168109

14 years agoDaily bump.
GCC Administrator [Tue, 21 Dec 2010 00:17:38 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r168100

14 years agoPR libgcj/46774: Create dynamic ProtectionDomain instances which check the system...
Andrew John Hughes [Mon, 20 Dec 2010 18:19:52 +0000 (18:19 +0000)] 
PR libgcj/46774: Create dynamic ProtectionDomain instances which check the system policy.

2010-12-13  Andrew John Hughes  <ahughes@redhat.com>

    PR libgcj/46774
    * libjava/java/security/VMAccessController.java:
    (DEFAULT_CONTEXT): Create ProtectionDomain with
    four argument constructor (arguments are the same
    as those implied by the two argument constructor).
    (getContext()): Create ProtectionDomain instances
    with four argument constructor using a null Principal
    array (as before) but including the classloader, which
    was always null before.

From-SVN: r168092

14 years agoDaily bump.
GCC Administrator [Mon, 20 Dec 2010 00:18:11 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r168078

14 years agobackport: re PR target/46915 (Wrong code is generated for conditional branch followed...
John David Anglin [Sun, 19 Dec 2010 19:50:17 +0000 (19:50 +0000)] 
backport: re PR target/46915 (Wrong code is generated for conditional branch followed by zero length asm)

Backport from mainline:
2010-12-18  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>

PR target/46915
* config/pa/pa.c (branch_to_delay_slot_p): Use next_active_insn instead
of next_real_insn.  Search forward checking for both ASM_INPUT and
ASM_OPERANDS asms until exit condition is found.
(branch_needs_nop_p): Likewise.
(use_skip_p): New function.
(output_cbranch): Use use_skip_p.
(output_bb, output_bvb): Likewise.

From-SVN: r168072

14 years agore PR target/46729 (32-bit 30_threads execution tests fail on Solaris 10/SPARC with...
Eric Botcazou [Sun, 19 Dec 2010 12:20:08 +0000 (12:20 +0000)] 
re PR target/46729 (32-bit 30_threads execution tests fail on Solaris 10/SPARC with Sun as)

PR target/46729
* config/sparc/sparc.h (GLOBAL_OFFSET_TABLE_REGNUM): New macro.
(PIC_OFFSET_TABLE_REGNUM): Rewrite in terms of above macro.
* config/sparc/sparc.c (pic_helper_needed): Delete.
(global_offset_table): Likewise.
(pic_helper_symbol): Rename to...
(got_helper_rtx): ...this.
(global_offset_table_rtx): New global variable.
(sparc_got_symbol): Likewise.
(sparc_got): New static function.
(check_pic): Use local variable and call sparc_got.
(sparc_tls_symbol): Initialize to NULL_RTX.
(sparc_tls_got): In non-PIC mode, reload the GOT register for Sun TLS
and 32-bit ABI and copy the GOT symbol to a new register otherwise.
(get_pc_thunk_name): Rename local variable.
(gen_load_pcrel_sym): New wrapper around load_pcrel_sym{si,di}.
(load_pic_register): Rename to...
(load_got_register): ...this.  Adjust and call gen_load_pcrel_sym.
(sparc_expand_prologue): Do not test flag_pic.
(sparc_output_mi_thunk): Use pic_offset_table_rtx directly.
(sparc_file_end): Test got_helper_rtx instead of pic_helper_needed.
Rename local variable and do not call get_pc_thunk_name again.
* config/sparc/sparc.md (load_pcrel_sym): Add operand #3.

From-SVN: r168050

14 years agoDaily bump.
GCC Administrator [Sun, 19 Dec 2010 00:17:51 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r168037

14 years agore PR debug/46756 (-fcompare-debug failure (length) with ASSIGN)
Alexandre Oliva [Sat, 18 Dec 2010 06:25:09 +0000 (06:25 +0000)] 
re PR debug/46756 (-fcompare-debug failure (length) with ASSIGN)

gcc/ChangeLog:
PR debug/46756
* jump.c (mark_all_labels): Skip debug insns.
gcc/testsuite/ChangeLog:
PR debug/46756
* gfortran.dg/debug/pr46756.f: New.

From-SVN: r168014

14 years agore PR debug/46782 (-fcompare-debug failure (length) with -fvar-tracking)
Alexandre Oliva [Sat, 18 Dec 2010 06:24:52 +0000 (06:24 +0000)] 
re PR debug/46782 (-fcompare-debug failure (length) with -fvar-tracking)

gcc/ChangeLog:
PR debug/46782
* cfgcleanup.c (try_forward_edges): Skip debug insns.
gcc/testsuite/ChangeLog:
PR debug/46782
* gcc.dg/debug/pr46782.c: New.

From-SVN: r168013