Tim Shen
603c431f90
Partially implement regex_search.
...
2013-07-21 Tim Shen <timshen91@gmail.com>
Partially implement regex_search.
* include/bits/regex.h: regex_search.
* include/bits/regex_grep_matcher.h: _M_search_from_first.
* include/bits/regex_grep_matcher.tcc: Implement it.
* testsuite/28_regex/algorithms/regex_search/basic/string_01.cc: New.
From-SVN: r201113
2013-07-21 23:34:02 +00:00
Jonathan Wakely
3429db0fb0
re PR libstdc++/54352 (relaxed data race rules for ~condition_variable_any)
...
PR libstdc++/54352
* include/std/condition_variable (condition_variable_any): Move into
inline namespace _V2 and replace mutex member with shared_ptr<mutex>.
* src/c++11/condition_variable.cc (condition_variable_any): Move
definitions to ...
* src/c++11/compatibility-condvar.cc (condition_variable_any): Here.
* src/Makefile.am: Add new source file.
* src/Makefile.in: Regenerate.
From-SVN: r201112
2013-07-21 20:21:03 +01:00
Ondřej Bílka
d4aef883b7
gigi.h: Likewise.
...
2013-07-21 OndÅej BÃlka <neleai@seznam.cz>
* gcc-interface/gigi.h: Likewise.
* gcc-interface/trans.c: Likewise.
* gcc-interface/utils2.c: Likewise.
* gnat_rm.texi: Likewise.
* gnat_ugn.texi: Likewise.
* raise-gcc.c: Likewise.
* sigtramp-ppcvxw.c: Likewise.
* sysdep.c: Likewise.
* terminals.c: Likewise.
From-SVN: r201111
2013-07-21 18:40:33 +00:00
Ondřej Bílka
688010bad0
Fix typos.
...
2013-07-21 OndÅej BÃlka <neleai@seznam.cz>
* c-common.c: Fix typos.
* c-common.h: Likewise.
From-SVN: r201110
2013-07-21 18:31:07 +00:00
Ondřej Bílka
1aa95df742
Fix typos.
...
From-SVN: r201109
2013-07-21 18:18:04 +00:00
Mike Stump
c0d18c6c7d
Fix typos.
...
From-SVN: r201108
2013-07-21 18:04:43 +00:00
Ondřej Bílka
9b110be230
trans-decl.c: Fix comment typos.
...
2013-07-21 Ondřej Bílka <neleai@seznam.cz>
* trans-decl.c: Fix comment typos.
* trans-expr.c: Ditto.
2013-07-21 Ondřej Bílka <neleai@seznam.cz>
* io/transfer.c: Fix comment typos.
From-SVN: r201107
2013-07-21 19:57:23 +02:00
Ondřej Bílka
c65cb8d1f0
class.c: Fix typos.
...
2013-07-21 OndÅej BÃlka <neleai@seznam.cz>
* class.c: Fix typos.
* cp-array-notation.c: Likewise.
* cp-objcp-common.c: Likewise.
* decl.c: Likewise.
* init.c: Likewise.
* mangle.c: Likewise.
* parser.c: Likewise.
* pt.c: Likewise.
* semantics.c: Likewise.
From-SVN: r201106
2013-07-21 17:48:42 +00:00
Mike Stump
631b20a7fc
Fix typos.
...
From-SVN: r201105
2013-07-21 17:39:50 +00:00
Mike Stump
54a41d1b6f
Fix.
...
From-SVN: r201104
2013-07-21 17:00:56 +00:00
Mike Stump
d76e725e47
Fix.
...
From-SVN: r201103
2013-07-21 16:52:00 +00:00
Mike Stump
b39e7f07ef
Fix.
...
From-SVN: r201102
2013-07-21 16:48:23 +00:00
Mike Stump
5796b4e462
Fix typo.
...
From-SVN: r201101
2013-07-21 16:46:05 +00:00
Mike Stump
a443762020
Fix.
...
From-SVN: r201100
2013-07-21 16:38:48 +00:00
Mike Stump
58c357da57
Fix.
...
From-SVN: r201099
2013-07-21 16:28:42 +00:00
Ondřej Bílka
1d5f3021c1
pr41779.c: Fix typos.
...
2013-07-21 OndÅej BÃlka <neleai@seznam.cz>
* c-c++-common/pr41779.c: Fix typos.
* gcc.c-torture/compile/20031125-2.c: Likewise.
* gcc.c-torture/compile/20040621-1.c: Likewise.
* gcc.c-torture/execute/20020418-1.c: Likewise.
* gcc.dg/20020108-1.c: Likewise.
* gcc.dg/atomic-generic-aux.c: Likewise.
* gcc.dg/builtin-complex-err-2.c: Likewise.
* gcc.dg/decl-1.c: Likewise.
* gcc.dg/di-sync-multithread.c: Likewise.
* gcc.dg/format/c90-printf-1.c: Likewise.
* gcc.dg/format/ms_c90-printf-1.c: Likewise.
* gcc.dg/long-long-compare-1.c: Likewise.
* gcc.dg/plugin/start_unit_plugin.c: Likewise.
* gcc.dg/pr17055-1.c: Likewise.
* gcc.dg/pr27095.c: Likewise.
* gcc.dg/torture/fp-int-convert.h: Likewise.
* gcc.dg/tree-prof/inliner-1.c: Likewise.
* gcc.dg/tree-ssa/20030731-1.c: Likewise.
* gcc.dg/tree-ssa/forwprop-6.c: Likewise.
* gcc.dg/tree-ssa/ipa-cp-1.c: Likewise.
* gcc.dg/tree-ssa/loop-19.c: Likewise.
* gcc.dg/tree-ssa/loop-1.c: Likewise.
* gcc.dg/tree-ssa/pr21001.c: Likewise.
* gcc.dg/tree-ssa/pr42585.c: Likewise.
* gcc.dg/tree-ssa/ssa-dse-5.c: Likewise.
* gcc.dg/vect/vect-cond-5.c: Likewise.
* gcc.dg/weak/typeof-2.c: Likewise.
* gcc.target/aarch64/aapcs64/abitest-common.h: Likewise.
* gcc.target/arm/naked-1.c: Likewise.
* gcc.target/i386/pr9771-1.c: Likewise.
* gcc.target/sparc/sparc-constant-1.c: Likewise.
* gcc.target/sparc/struct-ret-check.c: Likewise.
* gcc.target/x86_64/abi/test_struct_returning.c: Likewise.
* gfortran.dg/c_ptr_tests_8_funcs.c: Likewise.
* objc-obj-c++-shared/objc-test-suite-next-encode-assist-impl.h: Likewise.
From-SVN: r201098
2013-07-21 16:17:52 +00:00
Ondřej Bílka
cad10e055f
class.c: Fix typos.
...
2013-07-21 OndÅej BÃlka <neleai@seznam.cz>
* class.c: Fix typos.
* encoding.c: Likewise.
* init.c: Likewise.
* objc-private/runtime.h: Likewise.
* objc/runtime.h: Likewise.
* objc-sync.c: Likewise.
From-SVN: r201097
2013-07-21 15:38:21 +00:00
Ondřej Bílka
587ae1e3bd
Fix some typos.
...
2013-07-21 OndÅej BÃlka <neleai@seznam.cz>
* objc-act.c: Fix typos.
* objc-encoding.c: Likewise.
* objc-gnu-runtime-abi-01.c: Likewise.
* objc-next-runtime-abi-01.c: Likewise.
* objc-next-runtime-abi-02.c: Likewise.
From-SVN: r201096
2013-07-21 15:33:00 +00:00
Tobias Burnus
5b70b3e44b
re PR libfortran/35862 ([F2003] Implement new rounding modes for run time)
...
2013-07-21 Tobias Burnus <burnus@net-b.de>
PR fortran/35862
* config/fpu-387.h (set_fpu_rounding_mode,
get_fpu_rounding_mode): Add missing _ to fix build.
From-SVN: r201095
2013-07-21 17:16:21 +02:00
Thomas Koenig
94b150705d
re PR fortran/56937 (Unnecessarily temporary with array-vector assignments)
...
2013-07-21 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/56937
* dependency.c (gfc_dep_resolver): Treat identical
array subscripts as identical; don't unconditionally
return a dependency if an array subscript is found.
2013-07-21 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/56937
* gfortran.dg/dependency_42.f90: New test.
* gfortran.dg/dependency_43.f90: New test.
From-SVN: r201094
2013-07-21 13:44:03 +00:00
Tobias Burnus
82a4f54cc5
re PR libfortran/35862 ([F2003] Implement new rounding modes for run time)
...
2013-07-21 Tobias Burnus <burnus@net-b.de>
PR fortran/35862
* libgfortran.h (GFC_FPE_DOWNWARD, GFC_FPE_TONEAREST,
GFC_FPE_TOWARDZERO, GFC_FPE_UPWARD): New defines.
2013-07-21 Tobias Burnus <burnus@net-b.de>
PR fortran/35862
* libgfortran.h (set_fpu_rounding_mode,
get_fpu_rounding_mode): New prototypes.
* config/fpu-387.h (set_fpu_rounding_mode,
get_fpu_rounding_mode): New functions.
* config/fpu-aix.h (set_fpu_rounding_mode,
get_fpu_rounding_mode): Ditto.
* config/fpu-generic.h (set_fpu_rounding_mode,
get_fpu_rounding_mode): Ditto.
* config/fpu-glibc.h (set_fpu_rounding_mode,
get_fpu_rounding_mode): Ditto.
* config/fpu-sysv.h (set_fpu_rounding_mode,
get_fpu_rounding_mode): Ditto.
* configure.ac: Check for fp_rnd and fp_rnd_t.
* io/io.h (enum unit_round): Use GFC_FPE_* for the value.
* io/read.c (convert_real): Set FP ronding mode.
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* config.h.in: Regenerate.
* configure: Regenerate.
2013-07-21 Tobias Burnus <burnus@net-b.de>
PR fortran/35862
* gfortran.dg/round_4.f90: New.
Co-Authored-By: Uros Bizjak <ubizjak@gmail.com>
From-SVN: r201093
2013-07-21 13:54:27 +02:00
Tobias Burnus
3b833dcda5
re PR fortran/57894 (min/max required actual argument missing)
...
2013-07-21 Tobias Burnus <burnus@net-b.de>
PR fortran/57894
* check.c (min_max_args): Add keyword= check.
2013-07-21 Tobias Burnus <burnus@net-b.de>
PR fortran/57894
* gfortran.dg/min_max_conformance_2.f90: New.
From-SVN: r201092
2013-07-21 13:46:43 +02:00
Jakub Jelinek
8cf887352b
re PR preprocessor/57620 (Phantom terminator confuses raw string literal parsing.)
...
PR preprocessor/57620
* lex.c (lex_raw_string): Undo phase1 and phase2 transformations
between R" and final " rather than only in between R"del( and )del".
* c-c++-common/raw-string-2.c (s12, u12, U12, L12): Remove.
(main): Don't test {s,u,U,L}12.
* c-c++-common/raw-string-13.c: New test.
* c-c++-common/raw-string-14.c: New test.
* c-c++-common/raw-string-15.c: New test.
* c-c++-common/raw-string-16.c: New test.
From-SVN: r201091
2013-07-21 04:28:03 +02:00
GCC Administrator
a1d6f2a23f
Daily bump.
...
From-SVN: r201090
2013-07-21 00:16:29 +00:00
Iain Sandoe
8c6381ecbc
correct a ChangeLog commit error.
...
From-SVN: r201087
2013-07-20 17:24:24 +00:00
Iain Sandoe
88d9bfe6b9
re PR target/51784 (PIC register not correctly preserved in nested funcs / with non-local goto)
...
gcc/
PR target/51784
* config/i386/i386.c (output_set_got) [TARGET_MACHO]: Adjust to emit a
second label for nonlocal goto receivers. Don't output pic base labels
unless we're producing PIC; mark that action unreachable().
(ix86_save_reg): If the function contains a nonlocal label, save the
PIC base reg.
* config/darwin-protos.h (machopic_should_output_picbase_label): New.
* gcc/config/darwin.c (emitted_pic_label_num): New GTY.
(update_pic_label_number_if_needed): New.
(machopic_output_function_base_name): Adjust for nonlocal receiver
case.
(machopic_should_output_picbase_label): New.
* config/i386/i386.md (enum unspecv): UNSPECV_NLGR: New.
(nonlocal_goto_receiver): New insn and split.
From-SVN: r201086
2013-07-20 16:22:59 +00:00
Eric Botcazou
2d586fb432
re PR ada/57934 (typo in definition of CAT in gcc-interface/ada.h for traditional preprocessor)
...
PR ada/57934
* gcc-interface/ada.h (CAT): Fix typo.
From-SVN: r201084
2013-07-20 08:41:29 +00:00
James Greenhalgh
d05d070973
[AArch64] Rewrite vabs<q>_s<8,16,32,64> AdvSIMD intrinsics to fold to tree
...
gcc/
* config/aarch64/aarch64-builtins.c
(aarch64_fold_builtin): Fold abs in all modes.
* config/aarch64/aarch64-simd-builtins.def
(abs): Enable for all modes.
* config/aarch64/arm_neon.h
(vabs<q>_s<8,16,32,64): Rewrite using builtins.
(vabs_f64): Add missing intrinsic.
gcc/testsuite/
* gcc.target/aarch64/vabs_intrinsic_1.c: New file.
From-SVN: r201083
2013-07-20 07:56:41 +00:00
Joern Rennecke
7a29a1b527
pr53366-1.c: Only run for target { size32plus }.
...
* gcc.dg/torture/pr53366-1.c: Only run for target { size32plus }.
* gcc.dg/torture/pr56488.c: Likewise.
From-SVN: r201082
2013-07-20 07:50:43 +01:00
Joern Rennecke
838a7024e3
pr21090.c: Do vrp1 scan check only for target { ! keeps_null_pointer_checks }.
...
* gcc.dg/tree-ssa/pr21090.c: Do vrp1 scan check only for
target { ! keeps_null_pointer_checks }.
* gcc.dg/tree-ssa/unreachable.c: Do optimized scan check only for
target { ! keeps_null_pointer_checks }.
From-SVN: r201081
2013-07-20 07:39:37 +01:00
Joern Rennecke
adf044a113
* gcc.dg/pr57154.c: Add dg-require-effective-target scheduling.
...
From-SVN: r201080
2013-07-20 07:04:01 +01:00
GCC Administrator
ef99e2d4a6
Daily bump.
...
From-SVN: r201078
2013-07-20 00:16:27 +00:00
Yvan Roux
66a5502a50
MAINTAINERS (Write After Approval): Add myself.
...
* MAINTAINERS (Write After Approval): Add myself.
From-SVN: r201069
2013-07-19 21:30:20 +00:00
Ian Bolton
ba590e6327
AArch64 vabs_s64 intrinsic
...
From-SVN: r201067
2013-07-19 18:41:22 +00:00
Jan Hubicka
c525ba9a3f
lto-partition.c (lto_balanced_map): Fix -fno-toplevel-reorder partitioning of variables.
...
* lto-partition.c (lto_balanced_map): Fix -fno-toplevel-reorder
partitioning of variables.
From-SVN: r201065
2013-07-19 18:19:48 +00:00
David Edelsohn
3ae1e1fdf4
gcov-14.c: Skip on AIX.
...
* gcc.misc-tests/gcov-14.c: Skip on AIX.
* gcc.dg/simulate-thread/simulate-thread.exp: Skip on AIX.
From-SVN: r201062
2013-07-19 10:42:59 -04:00
David Edelsohn
7a85e2e626
* g++.old-deja/g++.other/init19.C: Require cxa_atext.
...
From-SVN: r201061
2013-07-19 10:37:34 -04:00
David Edelsohn
86ce925b2b
pr56819.C: Skip on AIX.
...
* g++.dg/debug/pr56819.C: Skip on AIX.
* g++.dg/ext/vector23.C: Ignore vector ABI warning.
* g++.dg/guality/guality.exp: Skip on AIX.
From-SVN: r201060
2013-07-19 10:35:44 -04:00
David Edelsohn
8c77584422
* lib/dg-pch.exp (dg-flags-pch): Skip on AIX.
...
From-SVN: r201059
2013-07-19 10:32:26 -04:00
David Edelsohn
ba981e0028
intrinsic_nearest.x: Skip on AIX.
...
* gfortran.fortran-torture/execute/intrinsic_nearest.x: Skip on AIX.
* gfortran.dg/nint_2.f90: Correct AIX target name to skip.
* gfortran.dg/guality/guality.exp: Skip on AIX.
From-SVN: r201058
2013-07-19 10:28:16 -04:00
David Edelsohn
eba347fae7
* gfortran.fortran-torture/execute/intrinsic_nearest.x: Skip AIX.
...
From-SVN: r201057
2013-07-19 10:25:26 -04:00
Georg-Johann Lay
0237179843
re PR target/57516 ([avr] Incorrect fixed-point rounding result in the overflow case)
...
gcc/
PR target/57516
* config/avr/avr-fixed.md (round<mode>3_const): Turn expander to insn.
* config/avr/avr.md (adjust_len): Add `round'.
* config/avr/avr-protos.h (avr_out_round): New prototype.
(avr_out_plus): Add `out_label' argument.
* config/avr/avr.c (avr_out_plus_1): Add `out_label' argument.
(avr_out_plus): Pass down `out_label' to avr_out_plus_1.
Handle the case where `insn' is just a pattern.
(avr_out_bitop): Handle the case where `insn' is just a pattern.
(avr_out_round): New function.
(avr_adjust_insn_length): Handle ADJUST_LEN_ROUND.
libgcc/
PR target/57516
* config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
(__round_s2_const, __round_u2_const)
(__round_s4_const, __round_u4_const, __round_x8):
Saturate result if addition result cannot be represented.
gcc/testsuite/
PR target/57516
* gcc.target/avr/torture/builtins-4-roundfx.c (test2hr, test2k):
Adjust to corrected rounding.
From-SVN: r201051
2013-07-19 11:10:08 +00:00
Chung-Ju Wu
1545921d63
MAINTAINERS (nds32 port): Add Chung-Ju Wu and Shiva Chen as nds32 port maintainers.
...
* MAINTAINERS (nds32 port): Add Chung-Ju Wu and Shiva Chen as
nds32 port maintainers.
Co-Authored-By: Shiva Chen <shiva0217@gmail.com>
From-SVN: r201049
2013-07-19 08:02:56 +00:00
Georg-Johann Lay
1a15a8ca5e
target-supports.exp (check_effective_target_cilkplus): New proc.
...
* lib/target-supports.exp (check_effective_target_cilkplus): New proc.
* gcc.dg/cilk-plus/cilk-plus.exp: only run if
check_effective_target_cilkplus.
* g++.dg/cilk-plus/cilk-plus.exp: Same.
From-SVN: r201048
2013-07-19 07:53:11 +00:00
GCC Administrator
e0fc81aa08
Daily bump.
...
From-SVN: r201045
2013-07-19 00:16:29 +00:00
David Holsgrove
b950ac25af
microblaze.c (microblaze_expand_prologue): Add check for flag_stack_usage to handle -fstack-usage support
...
* gcc/config/microblaze/microblaze.c (microblaze_expand_prologue):
Add check for flag_stack_usage to handle -fstack-usage support
From-SVN: r201042
2013-07-18 23:57:12 +00:00
Pat Haugen
ed1fd9999c
rs6000.c (rs6000_option_override_internal): Adjust flag interaction for new Power8 flags and VSX.
...
* config/rs6000/rs6000.c (rs6000_option_override_internal): Adjust flag
interaction for new Power8 flags and VSX.
From-SVN: r201041
2013-07-18 20:24:34 +00:00
Pat Haugen
ec87a337f3
* gcc.target/powerpc/pr57744.c: Fix typo.
...
From-SVN: r201040
2013-07-18 19:33:46 +00:00
Sriraman Tallam
df9dda2d15
PR57698, only report errors from early inlining when optimization is turned
...
PR57698, only report errors from early inlining when optimization is turned
off.
PR middle-end/57698
* tree-inline.c (expand_call_inline): Emit errors during
early_inlining only if optimization is not turned on.
PR middle-end/57698
* gcc.c-torture/compile/pr57698.c: New test.
* gcc.c-torture/compile/pr43791.c: Remove prune output
directive.
* gcc.c-torture/compile/pr44043.c: Ditto.
From-SVN: r201039
2013-07-18 19:24:22 +00:00
David Malcolm
0f9cdef43a
passes.def: New.
...
* passes.def: New.
* passes.c (init_optimization_passes): Move the construction of
the pass hierarchy into a new passes.def file.
* Makefile.in (passes.o): Add dependency on passes.def.
From-SVN: r201038
2013-07-18 18:55:48 +00:00