Andrew Haley
07146f23bc
PR gcc/55716 [4.8 Regression] gjavah throws an exception
...
From-SVN: r194574
2012-12-18 10:00:18 +00:00
Andrew Haley
45af64a72b
Main.java (parseClasses): Don't scan inner classes if our item is a file.
...
2012-12-17 Andrew Haley <aph@redhat.com>
* tools/gnu/classpath/tools/javah/Main.java (parseClasses): Don't
scan inner classes if our item is a file.
From-SVN: r194573
2012-12-18 09:57:48 +00:00
Gerald Pfeifer
93d3dd5997
contrib.texi (Contributors): Update Kaveh Ghazi's entry; remove broken link to Rutgers University.
...
* doc/contrib.texi (Contributors): Update Kaveh Ghazi's entry;
remove broken link to Rutgers University.
From-SVN: r194572
2012-12-18 05:37:26 +00:00
GCC Administrator
f111519cb5
Daily bump.
...
From-SVN: r194571
2012-12-18 00:18:21 +00:00
Jonathan Wakely
92b8bccecb
* include/std/future (__async_sfinae_helper): Remove.
...
From-SVN: r194567
2012-12-17 21:30:51 +00:00
Ian Lance Taylor
a57bf4070a
log/syslog: Solaris portability patches.
...
From-SVN: r194566
2012-12-17 21:07:27 +00:00
Jan-Benedict Glaw
a48bd7c6a5
Fix whitespace in gcc/ChangeLog.
...
From-SVN: r194560
2012-12-17 17:39:53 +00:00
Jan-Benedict Glaw
b076fff3ab
varasm.c (pending_assemble_externals_processed): Guard with ASM_OUTPUT_EXTERNAL.
...
* varasm.c (pending_assemble_externals_processed): Guard
with ASM_OUTPUT_EXTERNAL.
From-SVN: r194559
2012-12-17 17:37:47 +00:00
Andrew Stubbs
cdbf870f4e
arm.md (zero_extend<mode>di2): Add extra alternatives for NEON registers.
...
2012-12-17 Andrew Stubbs <ams@codesourcery.com>
Ulrich Weigand <ulrich.weigand@linaro.org>
gcc/
* config/arm/arm.md (zero_extend<mode>di2): Add extra alternatives
for NEON registers.
Add alternative for one-instruction extend-in-place.
(extend<mode>di2): Likewise.
Add constraints for Thumb-mode memory loads.
Prevent extend splitters doing NEON alternatives.
* config/arm/iterators.md (qhs_extenddi_cstr, qhs_zextenddi_cstr):
Adjust constraints to add new alternatives.
* config/arm/neon.md: Add splitters for zero- and sign-extend.
gcc/testsuite/
* gcc.target/arm/neon-extend-1.c: New file.
* gcc.target/arm/neon-extend-2.c: New file.
Co-Authored-By: Ulrich Weigand <ulrich.weigand@linaro.org>
From-SVN: r194558
2012-12-17 16:39:19 +00:00
Greta Yorsh
55ebe5ab14
arm.md (type): Add "simple_alu_shift" to attribute "type".
...
gcc/
2012-12-17 Greta Yorsh <Greta.Yorsh@arm.com>
* config/arm/arm.md (type): Add "simple_alu_shift" to attribute "type".
(core_cycles): Update for simple_alu_shift.
(thumb1_zero_extendhisi2,arm_zero_extendhisi2_v6): Use simple_alu_shift
instead of a CPU-speicific condition for "type" attribute.
(thumb1_zero_extendqisi2_v6,arm_zero_extendqisi2_v6): Likewise.
(thumb1_extendhisi2,arm_extendhisi2_v6,arm_extendqisi_v6): Likewise.
(thumb1_extendqisi2): Likewise.
* config/arm/thumb2.md (thumb2_extendqisi_v6): Likewise.
(thumb2_zero_extendhisi2_v6,thumb2_zero_extendqisi2_v6) Likewise.
* config/arm/arm1020e.md (alu_shift_op): Use simple_alu_shift.
* config/arm/arm1026ejs.md (alu_shift_op): Likewise.
* config/arm/arm1136jfs.md (11_alu_shift_op): Likewise.
* config/arm/arm926ejs.md (9_alu_op): Likewise.
* config/arm/cortex-a15.md (cortex_a15_alu_shift): Likewise.
* config/arm/cortex-a5.md (cortex_a5_alu_shift): Likewise.
* config/arm/cortex-a8.md (cortex_a8_alu_shift,cortex_a8_mov): Likewise.
* config/arm/cortex-a9.md (cortex_a9_dp,cortex_a9_dp_shift): Likewise.
* config/arm/cortex-m4.md (cortex_m4_alu): Likewise.
* config/arm/cortex-r4.md (cortex_r4_alu_shift): Likewise.
* config/arm/fa526.md (526_alu_shift_op): Likewise.
* config/arm/fa606te.md (fa606te_core): Likewise.
* config/arm/fa626te.md (626te_alu_shift_op): Likewise.
* config/arm/fa726te.md (726te_alu_shift_op): Likewise.
* config/arm/fmp626.md (mp626_alu_shift_op): Likewise.
From-SVN: r194557
2012-12-17 15:49:24 +00:00
Kyrylo Tkachov
e9b16cc90b
target-supports.exp (add_options_for_arm_v8_neon): Add -march=armv8-a.
...
2012-12-17 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* lib/target-supports.exp (add_options_for_arm_v8_neon):
Add -march=armv8-a.
From-SVN: r194556
2012-12-17 15:15:59 +00:00
Richard Biener
ef7a9fb869
re PR target/54781 (ICE in refs_may_alias_p_1, at tree-ssa-alias.c:1124)
...
2012-12-17 Richard Biener <rguenther@suse.de>
PR middle-end/54781
* alias.c (ao_ref_from_mem): More appropriately constrain the
base object we feed to the tree oracle. Remove dead code.
From-SVN: r194554
2012-12-17 14:55:53 +00:00
James Greenhalgh
3b3572643d
[AARCH64] Enable support for TARGET_VECTORIZE_AUTOVECTORIZE_VECTOR_SIZES.
...
gcc/
* config/aarch64/aarch64.c
(aarch64_autovectorize_vector_sizes): New.
(TARGET_VECTORIZE_AUTOVECTORIZE_VECTOR_SIZES): Define.
gcc/testsuite/
* lib/target-supports.exp
(check_effective_target_vect_multiple_sizes): Enable for AArch64.
Co-Authored-By: Tejas Belagod <tejas.belagod@arm.com>
From-SVN: r194552
2012-12-17 09:44:58 +00:00
GCC Administrator
d6f600371c
Daily bump.
...
From-SVN: r194546
2012-12-17 00:18:54 +00:00
Jonathan Wakely
5f2862cf63
thread.cc (execute_native_thread_routine): Do not swallow __forced_unwind exceptions.
...
* src/c++11/thread.cc (execute_native_thread_routine): Do not swallow
__forced_unwind exceptions.
* testsuite/30_threads/thread/native_handle/cancel.cc: New.
From-SVN: r194539
2012-12-16 20:52:47 +00:00
John David Anglin
6180209821
re PR middle-end/55709 (Infinite loop in pointer_set_insert compiling cp/pt.c)
...
PR middle-end/55709
Forward port from 4.7 branch:
2012-04-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
PR middle-end/52894
* varasm.c (process_pending_assemble_externals): Set
pending_assemble_externals_processed true.
(assemble_external): Call assemble_external_real if the pending
assemble externals have been processed.
From-SVN: r194538
2012-12-16 17:34:58 +00:00
Tobias Burnus
df0b360e3e
re PR fortran/55197 (Use statement for omp_lib causes ICE)
...
2012-12-16 Tobias Burnus <burnus@net-b.de>
PR fortran/55197
* module.c (gfc_use_module): Free rename list only for
internally generated intrinsic modules.
2012-12-16 Tobias Burnus <burnus@net-b.de>
PR fortran/55197
* gfortran.dg/gomp/use_intrinsic_1.f90: New.
From-SVN: r194537
2012-12-16 15:36:54 +01:00
Tobias Burnus
f6c28ef193
trans-intrinsic.c (conv_intrinsic_move_alloc): Set dynamic type of the FROM variable to the declared type.
...
2012-12-16 Tobias Burnus <burnus@net-b.de>
* trans-intrinsic.c (conv_intrinsic_move_alloc): Set dynamic
type of the FROM variable to the declared type.
2012-12-16 Tobias Burnus <burnus@net-b.de>
* gfortran.dg/move_alloc_14.f90: New.
From-SVN: r194536
2012-12-16 15:34:45 +01:00
Eric Botcazou
2f7d07ff4e
Adjust
...
From-SVN: r194533
2012-12-16 10:40:02 +00:00
Eric Botcazou
ba6bdc2911
re PR target/55673 (Reversed before/after handling in sparc_emit_membar_for_model)
...
PR target/55673
* config/sparc/sparc.c (sparc_emit_membar_for_model): Fix reversed
handling of before and after cases.
* config/sparc/sync.md (atomic_store): Fix pasto.
Co-Authored-By: Tomash Brechko <tomash.brechko@gmail.com>
From-SVN: r194531
2012-12-16 10:25:17 +00:00
Eric Botcazou
1bae867a84
re PR rtl-optimization/55630 (FAIL: g++.dg/pr48660.C -std=c++98 (internal compiler error))
...
PR rtl-optimization/55630
* expr.c (expand_assignment): Do not call copy_blkmode_to_reg to move
BLKmode return values to the return register.
From-SVN: r194530
2012-12-16 10:02:37 +00:00
Thomas Schwinge
0e76460fdd
configure.ac (ENABLE_GOLD): Consider *-*-gnu* targets ELF.
...
* configure.ac (ENABLE_GOLD): Consider *-*-gnu* targets ELF.
* configure: Regenerate.
From-SVN: r194529
2012-12-16 08:24:29 +01:00
GCC Administrator
e45dd2bb64
Daily bump.
...
From-SVN: r194528
2012-12-16 00:18:24 +00:00
Tobias Burnus
25ffd46fa2
re PR fortran/55638 (Wrongly accepts INTENT + VALUE - and wrongly requires it for PURE)
...
2012-12-16 Tobias Burnus <burnus@net-b.de>
PR fortran/55638
* resolve.c (resolve_formal_arglist): Allow VALUE without
INTENT for ELEMENTAL procedures.
2012-12-16 Tobias Burnus <burnus@net-b.de>
PR fortran/55638
* gfortran.dg/elemental_args_check_3.f90: Update dg-error.
* gfortran.dg/elemental_args_check_7.f90: New.
From-SVN: r194525
2012-12-16 00:25:36 +01:00
Eric Botcazou
25293279b2
* lib/scanasm.exp (get_ada_spec_filename): Use procedural form.
...
From-SVN: r194524
2012-12-15 19:16:24 +00:00
Eric Botcazou
8ffcc234e8
re PR ada/52735 (ICE in gnat_to_gnu_entity at gcc-interface/decl.c:4156)
...
PR ada/52735
* gnat.dg/nested_generic1.adb: New test.
* gnat.dg/nested_generic1_pkg.ad[sb]: New helper.
From-SVN: r194523
2012-12-15 18:47:53 +00:00
Eric Botcazou
4e8661cd7c
re PR ada/53766 (ICE in build_binary_op on Max_Size_In_Storage_Elements with -gnatp)
...
PR ada/53766
* gnat.dg/controlled7.ad[sb]: New test.
From-SVN: r194521
2012-12-15 18:11:38 +00:00
Eric Botcazou
c3d79c606a
re PR ada/53996 (format string issue in gcc-interface/utils.c)
...
PR ada/53996
* gcc-interface/utils.c (gnat_type_for_size): Use %u in lieu of %d.
Co-Authored-By: Martin Ettl <ettl.martin@gmx.de>
From-SVN: r194520
2012-12-15 17:50:49 +00:00
Alexandre Oliva
e88ebf869e
re PR libmudflap/53952 (FAIL: libmudflap.c++/pass55-frag.cxx ( -O[123]) execution test)
...
PR libmudflap/53952
* expr.c (mem_ref_refers_to_non_mem_p): Factor out
implementation into...
(addr_expr_of_non_mem_decl_p_1): ... this new function.
(addr_expr_of_non_mem_decl_p): New.
* tree.h (addr_expr_of_non_mem_decl_p): Declare.
* tree-mudflap.c (mf_xform_derefs_1): Don't change MEM_REFs
and TARGET_MEM_REFs that have an ADDR_EXPR of a non-mem DECL
as base operand.
From-SVN: r194519
2012-12-15 10:25:15 +00:00
Alexandre Oliva
5a6fe81088
* mf-hooks1.c (free): Return on NULL before any logging.
...
From-SVN: r194518
2012-12-15 10:24:50 +00:00
Jason Merrill
1c95972133
re PR c++/55685 (ICE: canonical types differ for identical types)
...
PR c++/55685
* pt.c (tsubst_copy_and_build): Don't use SIZEOF_EXPR_TYPE_P in
templates.
From-SVN: r194517
2012-12-14 23:02:52 -05:00
GCC Administrator
71d1d77cfb
Daily bump.
...
From-SVN: r194515
2012-12-15 00:18:14 +00:00
Steve Ellcey
3e481c7f8f
re PR regression/55688 (FAIL: g++.dg/other/pr55650.C)
...
2012-12-14 Steve Ellcey <sellcey@mips.com>
PR regression/55688
* g++.dg/other/pr55650.C: Add dg-require-profiling.
From-SVN: r194512
2012-12-14 22:50:38 +00:00
Steve Ellcey
2993114da5
3.cc: Shrink memory usage under simulator.
...
2012-12-14 Steve Ellcey <sellcey@mips.com>
* testsuite/21_strings/basic_string/append/wchar_t/3.cc: Shrink
memory usage under simulator.
* testsuite/21_strings/basic_string/cons/wchar_t/6.cc: Ditto.
* testsuite/21_strings/basic_string/inserters_extractors/wchar_t/10.cc:
Ditto.
* testsuite/21_strings/basic_string/inserters_extractors/wchar_t/11.cc:
Ditto.
From-SVN: r194510
2012-12-14 22:03:40 +00:00
Jason Merrill
8b299be64a
re PR c++/42315 (ICE with invalid array initializer)
...
PR c++/42315
* decl.c (maybe_deduce_size_from_array_init): Don't change the
variable type.
From-SVN: r194509
2012-12-14 15:57:55 -05:00
Yvan Roux
5e3b173a79
* optabs.c (expand_atomic_store): Elide redundant model test.
...
From-SVN: r194504
2012-12-14 08:24:48 -08:00
Teresa Johnson
ebd3e642dd
re PR gcov-profile/55674 (>20% size increase of lto/pgo binaries since r193747)
...
2012-12-14 Teresa Johnson <tejohnson@google.com>
PR gcov-profile/55674
* lto-cgraph.c (merge_profile_summaries): Set min correctly the
first time we merge into a histogram entry.
From-SVN: r194502
2012-12-14 15:10:45 +00:00
Ian Lance Taylor
d720b70f1a
compiler: Better error message for invalid shift operations.
...
From-SVN: r194501
2012-12-14 15:02:02 +00:00
Richard Biener
13ea799b4a
re PR tree-optimization/55684 (ICE in remove_redundant_iv_tests, at tree-ssa-loop-ivcanon.c:559)
...
2012-12-14 Richard Biener <rguenther@suse.de>
PR tree-optimization/55684
* tree-ssa-loop-ivcanon.c (remove_redundant_iv_tests): Handle
gracefully the case where we cannot compute the number of
iterations at an exit.
* gcc.dg/torture/pr55684.c: New testcase.
From-SVN: r194499
2012-12-14 13:35:03 +00:00
Richard Biener
105e8c0682
re PR tree-optimization/55687 (ICE in hide_evolution_in_other_loops_than_loop, at tree-chrec.c:716)
...
2012-12-14 Richard Biener <rguenther@suse.de>
PR tree-optimization/55687
* tree-chrec.h (no_evolution_in_loop_p): Properly use
tree_contains_chrecs.
* gcc.dg/torture/pr55687.c: New testcase.
From-SVN: r194498
2012-12-14 12:57:27 +00:00
GCC Administrator
6d9d886cd6
Daily bump.
...
From-SVN: r194495
2012-12-14 00:19:41 +00:00
Ian Lance Taylor
a1a9c31a5d
compiler: Accept trailing comma after varargs parameter.
...
Also fix handling of interfaces seen only in a function or
method declaration.
From-SVN: r194492
2012-12-13 22:20:23 +00:00
Richard Henderson
80928237a9
re PR middle-end/55492 (__atomic_load doesn't match ACQUIRE memory model)
...
PR middle-end/55492
* optabs.c (expand_atomic_load): Emit acquire barrier after the load.
From-SVN: r194490
2012-12-13 13:16:45 -08:00
Steve Ellcey
01f4c82194
18654.cc: Shrink memory usage under simulator.
...
2012-12-13 Steve Ellcey <sellcey@mips.com>
* testsuite/21_strings/basic_string/capacity/char/18654.cc: Shrink
memory usage under simulator.
* testsuite/21_strings/basic_string/capacity/wchar_t/18654.cc: Ditto.
* testsuite/22_locale/collate/transform/char/28277.cc: Ditto.
* testsuite/22_locale/collate/transform/wchar_t/28277.cc: Ditto.
From-SVN: r194488
2012-12-13 19:55:13 +00:00
Richard Henderson
e1df04775d
alpha: Consider barriers when placing nops after sibcalls
...
* config/alpha/alpha.c (alpha_pad_function_end): Consider barriers
when looking for NOTE_INSN_CALL_ARG_LOCATION.
From-SVN: r194484
2012-12-13 11:31:06 -08:00
Richard Biener
3deafb32c6
re PR middle-end/53476 (FAIL: gcc.dg/attr-weakref-1.c)
...
2012-12-13 Richard Biener <rguenther@suse.de>
PR middle-end/53476
* varpool.c (varpool_remove_unreferenced_decls): Revert to 4.7
behavior.
From-SVN: r194481
2012-12-13 15:20:57 +00:00
Jakub Jelinek
8e9f20cf1a
re PR c++/55652 (ICE (segfault) with templates and structs)
...
PR c++/55652
* typeck2.c (merge_exception_specifiers): Don't call operand_equal_p
if noex is NULL.
* g++.dg/cpp0x/noexcept19.C: New test.
From-SVN: r194479
2012-12-13 15:35:12 +01:00
Kyrylo Tkachov
5944e3a8cc
unspecs.md: Add copyright notice.
...
2012-12-13 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* config/arm/unspecs.md: Add copyright notice.
From-SVN: r194478
2012-12-13 14:33:29 +00:00
Jakub Jelinek
a8f986e956
tree-ssa-threadedge.c (propagate_threaded_block_debug_into): Avoid -Wsign-compare warning.
...
* tree-ssa-threadedge.c (propagate_threaded_block_debug_into): Avoid
-Wsign-compare warning.
From-SVN: r194476
2012-12-13 14:28:54 +01:00
Jakub Jelinek
de137957bd
cbrtq.c (cbrtq): Use Q suffixed floating point constants instead of L suffixed ones.
...
* math/cbrtq.c (cbrtq): Use Q suffixed floating point constants
instead of L suffixed ones.
* math/fmaq.c (fmaq): Likewise.
* math/rintq.c (TWO112): Likewise.
From-SVN: r194475
2012-12-13 13:35:56 +01:00