platform/upstream/gcc.git
10 years agore PR middle-end/60467 (ICE with -fcilkplus)
Igor Zamyatin [Sat, 12 Apr 2014 17:59:29 +0000 (17:59 +0000)]
re PR middle-end/60467 (ICE with -fcilkplus)

gcc/c-family/
PR middle-end/60467
* cilk.c (cilk_set_spawn_marker): Remove FUNCTION_DECL
as possible argument for Cilk_spawn.

gcc/testsuite/
PR middle-end/60467
* c-c++-common/cilk-plus/CK/invalid_spawns.c: Add new invalid
case to check.

From-SVN: r209337

10 years agore PR middle-end/60469 (simple cilk plus program ICEs)
Igor Zamyatin [Sat, 12 Apr 2014 17:57:15 +0000 (17:57 +0000)]
re PR middle-end/60469 (simple cilk plus program ICEs)

gcc/c/
PR middle-end/60469
* c-array-notation.c (fix_builtin_array_notation_fn): Use
create_tmp_var instead build_decl for creating temps.
(build_array_notation_expr): Likewise.
(fix_conditional_array_notations_1): Likewise.
(fix_array_notation_expr): Likewise.
(fix_array_notation_call_expr): Likewise.

gcc/testsuite/
PR middle-end/60469
* c-c++-common/cilk-plus/CK/pr60469.c: New test.

From-SVN: r209336

10 years agoconstraints.md: Add new register constraint "kb".
Richard Sandiford [Sat, 12 Apr 2014 10:40:10 +0000 (10:40 +0000)]
constraints.md: Add new register constraint "kb".

gcc/
2014-04-12  Catherine Moore  <clm@codesourcery.com>

* config/mips/constraints.md: Add new register constraint "kb".
* config/mips/mips.md (*mov<mode>_internal): Use constraint "kb".
(*movhi_internal): Likewise.
(*movqi_internal): Likewise.
* config/mips/mips.h (M16_STORE_REGS): New register class.
(REG_CLASS_NAMES): Add M16_STORE_REGS.
(REG_CLASS_CONTENTS): Likewise.
* config/mips/mips.c (mips_regno_to_class): Add M16_STORE_REGS.

gcc/testsuite/
* gcc.target/mips/umips-store16-1.c: New test.

From-SVN: r209334

10 years agoDaily bump.
GCC Administrator [Sat, 12 Apr 2014 00:16:54 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r209333

10 years agore PR fortran/60810 (list directed io from array results in end of file)
Jerry DeLisle [Sat, 12 Apr 2014 00:04:41 +0000 (00:04 +0000)]
re PR fortran/60810 (list directed io from array results in end of file)

2014-04-11  Jerry DeLisle  <jvdelisle@gcc.gnu>

PR libfortran/60810
io/unit.c (is_trim_ok): If internal unit is array, do not trim.

From-SVN: r209329

10 years agore PR c/60194 (-Wformat should also warn when using %d (instead of %u) for unsigned...
Tobias Burnus [Fri, 11 Apr 2014 22:43:54 +0000 (00:43 +0200)]
re PR c/60194 (-Wformat should also warn when using %d (instead of %u) for unsigned arguments)

2014-04-11  Tobias Burnus  <burnus@net-b.de>

        PR c/60194
gcc/
        * doc/invoke.texi (-Wformat-signedness): Document it.
        (Wformat=2): Mention that this enables -Wformat-signedness.

gcc/c-family/
        * c.opt (Wformat-signedness): Add
        * c-format.c(check_format_types): Use it.

gcc/testsuite/
        * * g++.dg/warn/warn_format_signedness.C: New.
        * gcc.dg/format/warn-signedness.c: New.

From-SVN: r209328

10 years agore PR fortran/58880 ([OOP] ICE on valid with FINAL function and type extension)
Tobias Burnus [Fri, 11 Apr 2014 22:35:47 +0000 (00:35 +0200)]
re PR fortran/58880 ([OOP] ICE on valid with FINAL function and type extension)

2014-04-11  Tobias Burnus  <burnus@net-b.de>

        PR fortran/58880
        PR fortran/60495
        * resolve.c (gfc_resolve_finalizers): Ensure that vtables
        and finalization wrappers are generated.

2014-04-11  Tobias Burnus  <burnus@net-b.de>

        PR fortran/58880
        PR fortran/60495
        * gfortran.dg/finalize_25.f90: New.

From-SVN: r209327

10 years agore PR bootstrap/60644 (Build of i686-pc-linux-android is broken)
Barry Tannenbaum [Fri, 11 Apr 2014 19:56:42 +0000 (19:56 +0000)]
re PR bootstrap/60644 (Build of i686-pc-linux-android is broken)

Fix for PR other/60644.
+2014-04-11  Barry Tannenbaum  <barry.m.tannenbaum@intel.com>
+
+       PR other/60644
+       * runtime/os-unix.c: Replaced all occurrances of ANDROID with
+       __ANDROID__.
+       * runtime/bug.h: Likewise.
+       * include/cilk/metaprogramming.h: Likewise.
+       * include/cilk/reducer_min_max.h: Likewise.
+

From-SVN: r209324

10 years agore PR libstdc++/59434 ([lwg/2106] move_iterator is broken for input iterators with...
Marc Glisse [Fri, 11 Apr 2014 19:23:49 +0000 (21:23 +0200)]
re PR libstdc++/59434 ([lwg/2106] move_iterator is broken for input iterators with an rvalue as reference type)

2014-04-11  Marc Glisse  <marc.glisse@inria.fr>

PR libstdc++/59434
* include/bits/stl_iterator.h (move_iterator::reference,
move_iterator::operator*): Implement LWG 2106.
* testsuite/24_iterators/move_iterator/dr2106.cc: New file.

From-SVN: r209323

10 years agolto.c: Include ipa-inline.h
Jan Hubicka [Fri, 11 Apr 2014 19:22:20 +0000 (21:22 +0200)]
lto.c: Include ipa-inline.h

* lto.c: Include ipa-inline.h
(do_whole_program_analysis): Free inline summary after partitioning.

From-SVN: r209322

10 years agocomplex (__complex_exp, pow): Specify the template parameter in calls to std::polar...
Marc Glisse [Fri, 11 Apr 2014 18:57:59 +0000 (20:57 +0200)]
complex (__complex_exp, pow): Specify the template parameter in calls to std::polar, for expression templates.

2014-04-11  Marc Glisse  <marc.glisse@inria.fr>

* include/std/complex (__complex_exp, pow): Specify the template
parameter in calls to std::polar, for expression templates.

From-SVN: r209321

10 years agogcc:
Joern Rennecke [Fri, 11 Apr 2014 18:40:04 +0000 (18:40 +0000)]
gcc:

        * common/config/epiphany/epiphany-common.c
        (epiphany_option_optimization_table): Enable section anchors by
        default at -O1 or higher.
        * config/epiphany/epiphany.c (TARGET_MAX_ANCHOR_OFFSET): Define.
        (TARGET_MIN_ANCHOR_OFFSET): Likewise.
        (epiphany_rtx_costs) <SET>: For binary operators, the set as such
        carries no extra cost.
        (epiphany_legitimate_address_p): For BLKmode, apply SImode check.
        * config/epiphany/epiphany.h (ASM_OUTPUT_DEF): Define.
        * config/epiphany/predicates.md (memclob_operand): New predicate.
        * config/epiphany/epiphany.md (stack_adjust_add, stack_adjust_str):
        Use memclob_operand predicate and X constraint for operand 3.
gcc/testsuite:
        * gcc.target/epiphany/t1068-2.c: New file.

From-SVN: r209320

10 years agoepiphany.c (epiphany_rtx_cost): Compare with CC_N_NE / CC_C_LTU / CC_C_GTU carries...
Joern Rennecke [Fri, 11 Apr 2014 18:29:30 +0000 (18:29 +0000)]
epiphany.c (epiphany_rtx_cost): Compare with CC_N_NE / CC_C_LTU / CC_C_GTU carries no extra cost for its operands.

    gcc:
            * config/epiphany/epiphany.c (epiphany_rtx_cost): Compare
            with CC_N_NE / CC_C_LTU / CC_C_GTU carries no extra cost for
            its operands.
    gcc/testsuite:
            * gcc.target/epiphany/btst-1.c: New test.

From-SVN: r209319

10 years agore PR rtl-optimization/60651 (Mode switching instructions are sometimes emitted in...
Joern Rennecke [Fri, 11 Apr 2014 18:27:45 +0000 (19:27 +0100)]
re PR rtl-optimization/60651 (Mode switching instructions are sometimes emitted in the wrong order)

gcc/testsuite:
        PR rtl-optimization/60651
        * gcc.target/epiphany/mode-switch.c: New test.

From-SVN: r209318

10 years agore PR c++/57926 (Atomic functions broken with C++ but not C?)
Jason Merrill [Fri, 11 Apr 2014 18:25:13 +0000 (14:25 -0400)]
re PR c++/57926 (Atomic functions broken with C++ but not C?)

PR c++/57926
* c-common.c (sync_resolve_size, get_atomic_generic_size): Call
default_conversion for an array argument.

From-SVN: r209316

10 years agoparser.h (struct cp_token): Rename ambiguous_p to error_reported.
Jason Merrill [Fri, 11 Apr 2014 18:25:07 +0000 (14:25 -0400)]
parser.h (struct cp_token): Rename ambiguous_p to error_reported.

* parser.h (struct cp_token): Rename ambiguous_p to error_reported.
* parser.c: Adjust.
(cp_lexer_get_preprocessor_token): Always clear it.
(cp_parser_lambda_expression): Use it to avoid duplicate diagnostics.

From-SVN: r209315

10 years agoDR 1467 PR c++/51747
Jason Merrill [Fri, 11 Apr 2014 18:25:02 +0000 (14:25 -0400)]
DR 1467 PR c++/51747

DR 1467
PR c++/51747
* decl.c (reshape_init_r): Handle a single element of class type.

From-SVN: r209314

10 years agoDR 1338
Jason Merrill [Fri, 11 Apr 2014 18:24:57 +0000 (14:24 -0400)]
DR 1338

DR 1338
* decl.c (cxx_init_decl_processing): Set DECL_IS_MALLOC on
built-in operator new.

From-SVN: r209313

10 years agore PR rtl-optimization/60651 (Mode switching instructions are sometimes emitted in...
Joern Rennecke [Fri, 11 Apr 2014 18:12:53 +0000 (18:12 +0000)]
re PR rtl-optimization/60651 (Mode switching instructions are sometimes emitted in the wrong order)

gcc:
        PR rtl-optimization/60651
        * mode-switching.c (optimize_mode_switching): Make sure to emit
        sets of a lower numbered entity before sets of a higher numbered
        entity to a mode of the same or lower priority.
        When creating a seginfo for a basic block that starts with a code
        label, move the insertion point past the code label.
        (new_seginfo): Document and enforce requirement that
        NOTE_INSN_BASIC_BLOCK only appears for empty blocks.
        * doc/tm.texi.in: Document ordering constraint for emitted mode sets.
        * doc/tm.texi: Regenerate.
gcc/testsuite:
        PR rtl-optimization/60651
        * gcc.target/epiphany/mode-switch.c: New test.

From-SVN: r209312

10 years agore PR target/60811 (arc/arc.c:2135: possible bad argument to abs)
Joern Rennecke [Fri, 11 Apr 2014 18:04:43 +0000 (18:04 +0000)]
re PR target/60811 (arc/arc.c:2135: possible bad argument to abs)

        PR target/60811
        * config/arc/arc.c (arc_save_restore): Fix assert typo.

From-SVN: r209311

10 years agore PR c++/58600 ([c++11] ICE on wrong usage of alignas)
Paolo Carlini [Fri, 11 Apr 2014 17:36:44 +0000 (17:36 +0000)]
re PR c++/58600 ([c++11] ICE on wrong usage of alignas)

/cp
2014-04-11  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/58600
* name-lookup.c (parse_using_directive): Return early if the
attribs argument is error_mark_node; use get_attribute_name.

/testsuite
2014-04-11  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/58600
* g++.dg/cpp0x/gen-attrs-58.C: New.
* g++.dg/cpp0x/gen-attrs-59.C: Likewise.

From-SVN: r209310

10 years agoDR 1030 PR c++/51253
Jason Merrill [Fri, 11 Apr 2014 17:08:47 +0000 (13:08 -0400)]
DR 1030 PR c++/51253

DR 1030
PR c++/51253
* cp-tree.h (CALL_EXPR_LIST_INIT_P): New.
* call.c (struct z_candidate): Add flags field.
(add_candidate): Add flags parm.
(add_function_candidate, add_conv_candidate, build_builtin_candidate)
(add_template_candidate_real): Pass it.
(build_over_call): Set CALL_EXPR_LIST_INIT_P.
* tree.c (build_aggr_init_expr): Copy it.
* semantics.c (simplify_aggr_init_expr): Preevaluate args if it's set.

From-SVN: r209309

10 years ago* crontab: Enable snapshots from gcc-4_9-branch.
Jakub Jelinek [Fri, 11 Apr 2014 12:55:17 +0000 (14:55 +0200)]
* crontab: Enable snapshots from gcc-4_9-branch.

From-SVN: r209306

10 years ago* BASE-VER: Set to 4.9.0.
Jakub Jelinek [Fri, 11 Apr 2014 12:50:55 +0000 (14:50 +0200)]
* BASE-VER: Set to 4.9.0.

From-SVN: r209305

10 years agore PR other/59055 (gcc.texinfo warnings)
Tobias Burnus [Fri, 11 Apr 2014 12:47:20 +0000 (14:47 +0200)]
re PR other/59055 (gcc.texinfo warnings)

PR other/59055
* doc/bugreport.texi (Bugs): Remove nodes pointing to the
nirvana.
* doc/gcc.texi (Service): Update description in the @menu
* doc/invoke.texi (Option Summary): Remove misplaced and
duplicated @menu.

From-SVN: r209303

10 years agoImprove RANDOM_SEED documentation example.
Janne Blomqvist [Fri, 11 Apr 2014 12:03:05 +0000 (15:03 +0300)]
Improve RANDOM_SEED documentation example.

2014-04-11  Janne Blomqvist  <jb@gcc.gnu.org>

* intrinsic.texi (RANDOM_SEED): Improve example.

From-SVN: r209301

10 years agore PR middle-end/60556 (tip of tree crash with mips compiler)
Steve Ellcey [Fri, 11 Apr 2014 11:52:14 +0000 (11:52 +0000)]
re PR middle-end/60556 (tip of tree crash with mips compiler)

PR middle-end/60556
* expr.c (convert_move): Use emit_store_flag_force instead of
emit_store_flag.  Pass lowpart_mode instead of VOIDmode as 5th
argument to it.

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

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

10 years agore PR middle-end/60797 (gcc hangs with error: only weak aliases are supported in...
Richard Biener [Fri, 11 Apr 2014 11:45:44 +0000 (11:45 +0000)]
re PR middle-end/60797 (gcc hangs with error: only weak aliases are supported in this configuration)

2014-04-11  Richard Biener  <rguenther@suse.de>

PR middle-end/60797
* varasm.c (assemble_alias): Avoid endless error reporting
recursion by setting TREE_ASM_WRITTEN.

* gcc.dg/pr60797.c: New testcase.

From-SVN: r209299

10 years agos390.md: Add a splitter for NOT rtx.
Andreas Krebbel [Fri, 11 Apr 2014 10:42:27 +0000 (10:42 +0000)]
s390.md: Add a splitter for NOT rtx.

2014-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* config/s390/s390.md: Add a splitter for NOT rtx.

From-SVN: r209295

10 years agohtm-nofloat-1.c: Rename to ...
Andreas Krebbel [Fri, 11 Apr 2014 10:36:58 +0000 (10:36 +0000)]
htm-nofloat-1.c: Rename to ...

2014-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* gcc.target/s390/htm-nofloat-1.c: Rename to ...
* gcc.target/s390/htm-nofloat-compile-1.c: ... this one.
* gcc.target/s390/htm-nofloat-2.c: Add check for htm target and
rename to ...
* gcc.target/s390/htm-nofloat-1.c: ... this one.
* gcc.target/s390/s390.exp: Make sure the assembler supports htm
instructions as well.

From-SVN: r209294

10 years agore PR rtl-optimization/60663 (Errors out on valid inline asm)
Jakub Jelinek [Fri, 11 Apr 2014 10:11:01 +0000 (12:11 +0200)]
re PR rtl-optimization/60663 (Errors out on valid inline asm)

PR rtl-optimization/60663
* cse.c (cse_insn): Set src_volatile on ASM_OPERANDS in
PARALLEL.

* gcc.target/arm/pr60663.c: New test.

From-SVN: r209293

10 years agoDaily bump.
GCC Administrator [Fri, 11 Apr 2014 00:17:05 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r209289

10 years ago* g++.dg/dso/dlclose1.C: Disable for 4.9.
Jason Merrill [Thu, 10 Apr 2014 20:27:58 +0000 (16:27 -0400)]
* g++.dg/dso/dlclose1.C: Disable for 4.9.

From-SVN: r209283

10 years agomoved this ChangeLog entry to fortran/ChangeLog
Bernd Edlinger [Thu, 10 Apr 2014 20:13:23 +0000 (20:13 +0000)]
moved this ChangeLog entry to fortran/ChangeLog
2014-04-04  Bernd Edlinger  <bernd.edlinger@hotmail.de>

        PR fortran/60191
        * fortran/trans-types.c (gfc_get_function_type): In case of recursion
        build a variadic function type with empty argument list instead of a
        stdarg-like function type with incomplete argument list.

From-SVN: r209282

10 years agore PR lto/60567 (lto1 ICE in add_symbol_to_partition, at lto/lto-partition.c:233...
Jakub Jelinek [Thu, 10 Apr 2014 18:57:48 +0000 (20:57 +0200)]
re PR lto/60567 (lto1 ICE in add_symbol_to_partition, at lto/lto-partition.c:233 with -fno-use-linker-plugin)

PR lto/60567
* ipa.c (function_and_variable_visibility): Copy forced_by_abi flag from
decl_node to node.

* g++.dg/lto/pr60567_0.C: New test.

From-SVN: r209280

10 years agore PR ipa/60761 (Improve dump_decl for clones)
Richard Biener [Thu, 10 Apr 2014 16:20:07 +0000 (16:20 +0000)]
re PR ipa/60761 (Improve dump_decl for clones)

PR ipa/60761
* error.c (dump_decl) <case FUNCTION_DECL>: If
DECL_LANG_SPECIFIC is NULL, but DECL_ABSTRACT_ORIGIN is not,
recurse on DECL_ABSTRACT_ORIGIN instead of printing
<built-in>.

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

10 years agoclass.c (gfc_build_class_symbol): Append "_t" to target class names to make the gener...
Bernd Edlinger [Thu, 10 Apr 2014 14:40:25 +0000 (14:40 +0000)]
class.c (gfc_build_class_symbol): Append "_t" to target class names to make the generated type names unique.

gcc:
2014-04-10  Bernd Edlinger  <bernd.edlinger@hotmail.de>

        * fortran/class.c (gfc_build_class_symbol): Append "_t" to target class
        names to make the generated type names unique.

testsuite:
2014-04-10  Bernd Edlinger  <bernd.edlinger@hotmail.de>

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

From-SVN: r209277

10 years agore PR c++/52844 (ICE)
Paolo Carlini [Thu, 10 Apr 2014 14:06:36 +0000 (14:06 +0000)]
re PR c++/52844 (ICE)

2014-04-10  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/52844
* g++.dg/cpp0x/variadic156.C: New.

From-SVN: r209276

10 years agohtm-builtins-compile-1.c: Replace long long with long.
Andreas Krebbel [Thu, 10 Apr 2014 10:09:29 +0000 (10:09 +0000)]
htm-builtins-compile-1.c: Replace long long with long.

2014-04-10  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* gcc.target/s390/htm-builtins-compile-1.c: Replace long long with
long.

From-SVN: r209275

10 years agoRemove TLS symbols from libstdc++ baselines
Andreas Schwab [Thu, 10 Apr 2014 08:29:10 +0000 (08:29 +0000)]
Remove TLS symbols from libstdc++ baselines

* config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Remove TLS
symbols.
* config/abi/post/m68k-linux-gnu/baseline_symbols.txt: Likewise.
* config/abi/post/mips64-linux-gnu/baseline_symbols.txt: Likewise.

From-SVN: r209270

10 years agoFix PR debug/60655 part 2.
Ramana Radhakrishnan [Thu, 10 Apr 2014 08:13:30 +0000 (08:13 +0000)]
Fix PR debug/60655 part 2.

2014-04-10  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

        PR debug/60655
        * config/arm/arm.c (TARGET_CONST_NOT_OK_FOR_DEBUG_P): Define
        (arm_const_not_ok_for_debug_p): Reject MINUS with SYM_REF's
        ameliorating the cases where it can be.

2014-04-10  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

        PR debug/60655
        * gcc.c-torture/compile/pr60655-2.c: Copy from pr60655-1.c without
        -fdata-sections.

From-SVN: r209269

10 years agoUpdate ia64 libstdc++ baseline symbols
Andreas Schwab [Thu, 10 Apr 2014 07:52:23 +0000 (07:52 +0000)]
Update ia64 libstdc++ baseline symbols

* config/abi/post/ia64-linux-gnu/baseline_symbols.txt: Update.

From-SVN: r209266

10 years agoDaily bump.
GCC Administrator [Thu, 10 Apr 2014 00:17:07 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r209260

10 years agore PR ada/54040 ([x32] Incorrect timeval and timespec)
Eric Botcazou [Wed, 9 Apr 2014 23:18:28 +0000 (23:18 +0000)]
re PR ada/54040 ([x32] Incorrect timeval and timespec)

PR ada/54040
PR ada/59346
* s-osinte-x32.adb (To_Timespec): Add use directive.
* s-osprim-x32.ads (Clock): Adjust.
(To_Timespec): Likewise.

Co-Authored-By: Svante Signell <svante.signell@gmail.com>
From-SVN: r209257

10 years agoRevert
David Edelsohn [Wed, 9 Apr 2014 19:53:39 +0000 (19:53 +0000)]
Revert
        2014-04-08  Pat Haugen  <pthaugen@us.ibm.com>

        * config/rs6000/sync.md (AINT mode_iterator): Move definition.
        (loadsync_<mode>): Change mode.
        (load_quadpti, store_quadpti): New.
        (atomic_load<mode>, atomic_store<mode>): Add support for TI mode.
        * config/rs6000/rs6000.md (unspec enum): Add UNSPEC_LSQ.
        * config/rs6000/predicates.md (quad_memory_operand): !TARGET_SYNC_TI.

From-SVN: r209253

10 years agopt.c (check_template_variable): Check for the return of pedwarn before emitting a...
Fabien Chêne [Wed, 9 Apr 2014 19:51:17 +0000 (21:51 +0200)]
pt.c (check_template_variable): Check for the return of pedwarn before emitting a note.

2014-04-09  Fabien Chêne  <fabien@gcc.gnu.org>

* pt.c (check_template_variable): Check for the return of pedwarn
before emitting a note.
* parser.c (cp_parser_lambda_introducer): Likewise.

From-SVN: r209252

10 years agossa-ifcombine-13.c: Remove mips*-*-* from option and scan lists.
Steve Ellcey [Wed, 9 Apr 2014 16:27:07 +0000 (16:27 +0000)]
ssa-ifcombine-13.c: Remove mips*-*-* from option and scan lists.

2014-04-09  Steve Ellcey  <sellcey@mips.com>

* gcc.dg/tree-ssa/ssa-ifcombine-13.c: Remove mips*-*-* from option
and scan lists.

From-SVN: r209248

10 years agoAdjust
Eric Botcazou [Wed, 9 Apr 2014 15:22:46 +0000 (15:22 +0000)]
Adjust

From-SVN: r209247

10 years agore PR ada/54040 ([x32] Incorrect timeval and timespec)
Eric Botcazou [Wed, 9 Apr 2014 14:54:29 +0000 (14:54 +0000)]
re PR ada/54040 ([x32] Incorrect timeval and timespec)

PR ada/54040
PR ada/59346
* s-osinte-x32.adb: New file.
* s-linux.ads (Time): New section.
* s-linux-alpha.ads (Time): Likewise.
* s-linux-android.ads (Time: Likewise.
* s-linux-hppa.ads (Time): Likewise.
* s-linux-mipsel.ads (Time): Likewise.
* s-linux-sparc.ads (Time): Likewise.
* s-linux-x32.ads (Time): Likewise.
* s-osprim-x32.ads (timespec): Adjust.
* s-osinte-linux.ads (Time): Define local subtypes for those defined
in System.Linux.
* s-taprop-linux.adb (Monotonic_Clock): Do not define timeval.
* s-osinte-hpux.ads (timespec): Revert POSIX breakage.
* s-osinte-kfreebsd-gnu.ads (timespec): Likewise.
* s-osinte-solaris-posix.ads (timespec): Likewise.
* s-osinte-posix.adb (To_Timespec): Likewise.
* gcc-interface/Makefile.in (x32/Linux): Use s-osinte-x32.adb.

From-SVN: r209244

10 years agoCheck if GCC uses assembler cfi support
Rainer Orth [Wed, 9 Apr 2014 14:49:59 +0000 (14:49 +0000)]
Check if GCC uses assembler cfi support

* config/generic/asmcfi.h: Also check for
__GCC_HAVE_DWARF2_CFI_ASM.

From-SVN: r209242

10 years agore PR testsuite/60773 (FAIL: gcc.dg/vect/pr60656.c -flto -ffat-lto-objects scan...
Cong Hou [Wed, 9 Apr 2014 11:37:14 +0000 (07:37 -0400)]
re PR testsuite/60773 (FAIL: gcc.dg/vect/pr60656.c -flto -ffat-lto-objects  scan-tree-dump-times vect "vectorized 1 loops" 1)

2014-04-09  Cong Hou  <congh@google.com>

PR testsuite/60773
* doc/sourcebuild.texi (vect_widen_mult_si_to_di_pattern): Add
documentation.

* lib/target-supports.exp:
(check_effective_target_vect_widen_si_to_di_pattern): New.
* gcc.dg/vect/pr60656.c: Require vect_long effective target.
Use scan-tree-dump-times for vect_widen_mult_si_to_di_pattern
targets only.
(foo): Fix up formatting.
(main): Call check_vect.

From-SVN: r209241

10 years agore PR ada/60411 (Ada bootstrap failure on ARM)
Eric Botcazou [Wed, 9 Apr 2014 07:57:48 +0000 (07:57 +0000)]
re PR ada/60411 (Ada bootstrap failure on ARM)

PR ada/60411
* s-osinte-android.ads: Adjust.

From-SVN: r209237

10 years agors6000.c (rs6000_expand_vector_set): Use vnand instead of vnor to exploit possible...
Bill Schmidt [Wed, 9 Apr 2014 02:12:11 +0000 (02:12 +0000)]
rs6000.c (rs6000_expand_vector_set): Use vnand instead of vnor to exploit possible fusion opportunity in the future.

2014-04-08  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

* config/rs6000/rs6000.c (rs6000_expand_vector_set): Use vnand
instead of vnor to exploit possible fusion opportunity in the
future.
(altivec_expand_vec_perm_const_le): Likewise.

From-SVN: r209235

10 years agoDaily bump.
GCC Administrator [Wed, 9 Apr 2014 00:17:02 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r209233

10 years agore PR c++/59115 (ICE with invalid template parameter)
Paolo Carlini [Wed, 9 Apr 2014 00:09:28 +0000 (00:09 +0000)]
re PR c++/59115 (ICE with invalid template parameter)

/cp
2014-04-08  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/59115
* pt.c (process_template_parm): For an invalid non-type parameter
only set TREE_TYPE to error_mark_node.
(push_inline_template_parms_recursive, comp_template_parms,
redeclare_class_template, coerce_template_template_parm,
coerce_template_template_parms, unify): Use error_operand_p.

/testsuite
2014-04-08  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/59115
* g++.dg/template/crash119.C: New.

From-SVN: r209230

10 years agore PR ada/60411 (Ada bootstrap failure on ARM)
Eric Botcazou [Tue, 8 Apr 2014 20:35:14 +0000 (20:35 +0000)]
re PR ada/60411 (Ada bootstrap failure on ARM)

PR ada/60411
* sigtramp.h: Add Android support.

From-SVN: r209227

10 years agosync.md (AINT mode_iterator): Move definition.
Pat Haugen [Tue, 8 Apr 2014 18:31:06 +0000 (18:31 +0000)]
sync.md (AINT mode_iterator): Move definition.

* config/rs6000/sync.md (AINT mode_iterator): Move definition.
(loadsync_<mode>): Change mode.
(load_quadpti, store_quadpti): New.
(atomic_load<mode>, atomic_store<mode>): Add support for TI mode.
* config/rs6000/rs6000.md (unspec enum): Add UNSPEC_LSQ.

* gcc.target/powerpc/atomic_load_store-p8.c: New.

From-SVN: r209225

10 years agogcc-dg.exp (dg-build-dso): Reset dg-do-what-default to compile.
Jason Merrill [Tue, 8 Apr 2014 17:58:46 +0000 (13:58 -0400)]
gcc-dg.exp (dg-build-dso): Reset dg-do-what-default to compile.

* lib/gcc-dg.exp (dg-build-dso): Reset dg-do-what-default to
compile.

From-SVN: r209224

10 years agore PR rtl-optimization/60763 (ICE in extract_insn starting with rev 208984)
Richard Sandiford [Tue, 8 Apr 2014 17:50:45 +0000 (17:50 +0000)]
re PR rtl-optimization/60763 (ICE in extract_insn starting with rev 208984)

gcc/
PR target/60763
* config/rs6000/vsx.md (vsx_xscvdpspn_scalar): Change input to DImode.
* config/rs6000/rs6000.md (reload_vsx_from_gprsf): Update accordingly.
Use gen_rtx_REG rather than simplify_gen_subreg for op0_di.

From-SVN: r209223

10 years agore PR sanitizer/60745 (Many ICEs running libstdc++ testsuite with ubsan, maybe due...
Marek Polacek [Tue, 8 Apr 2014 17:23:26 +0000 (17:23 +0000)]
re PR sanitizer/60745 (Many ICEs running libstdc++ testsuite with ubsan, maybe due to PCH)

PR sanitizer/60745
* c-ubsan.c: Include asan.h.
(ubsan_instrument_return): Call initialize_sanitizer_builtins.

From-SVN: r209222

10 years agore PR rtl-optimization/60776 (FAIL gcc.dg/builtin-bswap-6.c and gcc.dg/builtin-bswap...
Andreas Krebbel [Tue, 8 Apr 2014 14:18:46 +0000 (14:18 +0000)]
re PR rtl-optimization/60776 (FAIL gcc.dg/builtin-bswap-6.c and gcc.dg/builtin-bswap-7.c)

2014-04-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

PR rtl-optimization/60776
* gcc.dg/builtin-bswap-6.c: Use -mbranch-cost=0 for s390.
* gcc.dg/builtin-bswap-7.c: Likewise.
* gcc.dg/builtin-bswap-6a.c: New testcase.
* gcc.dg/builtin-bswap-7a.c: New testcase.

Revert
2014-04-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* gcc.dg/builtin-bswap-6.c: Adjust return value to disable GCC
optimization.
* gcc.dg/builtin-bswap-7.c: Likewise.

From-SVN: r209221

10 years agore PR libfortran/60706 (FAIL: gfortran.dg/size_kind_2.f90 -O scan-tree-dump origin...
Richard Biener [Tue, 8 Apr 2014 12:57:07 +0000 (12:57 +0000)]
re PR libfortran/60706 (FAIL: gfortran.dg/size_kind_2.f90  -O   scan-tree-dump original "var2 = 42949673 00;")

2014-04-08  Richard Biener  <rguenther@suse.de>

PR middle-end/60706
* tree-pretty-print.c (pp_double_int): For HWI32 hosts with
a 64bit widest int print double-int similar to on HWI64 hosts.

From-SVN: r209216

10 years agore PR tree-optimization/60785 (ICE in gsi_for_stmt w/ -O2 -ftree-loop-linear)
Richard Biener [Tue, 8 Apr 2014 10:59:40 +0000 (10:59 +0000)]
re PR tree-optimization/60785 (ICE in gsi_for_stmt w/ -O2 -ftree-loop-linear)

2014-04-08  Richard Biener  <rguenther@suse.de>

PR tree-optimization/60785
* graphite-sese-to-poly.c (rewrite_phi_out_of_ssa): Treat
default defs properly.

* gcc.dg/graphite/pr60785.c: New testcase.

From-SVN: r209214

10 years agoXFAIL gcc.c-torture/compile/pr28865.c on Solaris 9/SPARC (PR target/60602)
Rainer Orth [Tue, 8 Apr 2014 10:56:04 +0000 (10:56 +0000)]
XFAIL gcc.c-torture/compile/pr28865.c on Solaris 9/SPARC (PR target/60602)

PR target/60602
* gcc.c-torture/compile/pr28865.c: XFAIL on sparc*-*-solaris2.9*
with as at -O0.

From-SVN: r209213

10 years agoinvoke (Wnon-virtual-dtor): Update to match implementation.
Nathan Sidwell [Tue, 8 Apr 2014 10:19:36 +0000 (10:19 +0000)]
invoke (Wnon-virtual-dtor): Update to match implementation.

* doc/invoke (Wnon-virtual-dtor): Update to match implementation.
(Weffc++): Likewise.

cp/
* class.c (check_bases_and_members): Warn about non-virtual dtors
in public bases only.  Check warn_ecpp before complaining about
non-polymorphic bases.

testsuite/
* g++.dg/warn/Wnvdtor-2.C: Add more cases.
* g++.dg/warn/Wnvdtor-3.C: Likewise.
* g++.dg/warn/Wnvdtor-4.C: Likewise.

From-SVN: r209212

10 years agore PR ada/60411 (Ada bootstrap failure on ARM)
Eric Botcazou [Tue, 8 Apr 2014 09:03:42 +0000 (09:03 +0000)]
re PR ada/60411 (Ada bootstrap failure on ARM)

PR ada/60411
* sigtramp-armdroid.c: New file.

From-SVN: r209211

10 years agore PR ada/60411 (Ada bootstrap failure on ARM)
Eric Botcazou [Tue, 8 Apr 2014 08:23:56 +0000 (08:23 +0000)]
re PR ada/60411 (Ada bootstrap failure on ARM)

PR ada/60411
* gcc-interface/Makefile.in (arm% linux-android): Switch to EHABI.
* s-linux-android.ads: New file.
* s-intman-android.adb: Likewise.

From-SVN: r209210

10 years agoipa-devirt.c (maybe_record_node): When node is not recorded, set completep to false...
Jan Hubicka [Tue, 8 Apr 2014 05:35:11 +0000 (05:35 +0000)]
ipa-devirt.c (maybe_record_node): When node is not recorded, set completep to false rather than true.

* ipa-devirt.c (maybe_record_node): When node is not recorded,
set completep to false rather than true.

From-SVN: r209209

10 years agoDaily bump.
GCC Administrator [Tue, 8 Apr 2014 00:17:05 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r209208

10 years agore PR target/60504 (many Ada testsuite regressions on ARM/Linux)
Eric Botcazou [Mon, 7 Apr 2014 21:31:29 +0000 (21:31 +0000)]
re PR target/60504 (many Ada testsuite regressions on ARM/Linux)

PR target/60504
* config/arm/arm.h (ASM_PREFERRED_EH_DATA_FORMAT): Expose from
ARM_TARGET2_DWARF_FORMAT.

From-SVN: r209201

10 years agoFix testsuite bugs.
Jonathan Wakely [Mon, 7 Apr 2014 18:40:18 +0000 (19:40 +0100)]
Fix testsuite bugs.

* testsuite/20_util/exchange/1.cc: Add missing return statements.
* testsuite/20_util/pair/40925.cc: Avoid most vexing parse.
* testsuite/22_locale/codecvt_byname/50714.cc: Add missing exception
specifications.

From-SVN: r209196

10 years ago* gcc-interface/Makefile.in (alpha-vms): Add missing line.
Eric Botcazou [Mon, 7 Apr 2014 17:54:23 +0000 (17:54 +0000)]
* gcc-interface/Makefile.in (alpha-vms): Add missing line.

From-SVN: r209195

10 years agore PR target/60609 (Error: value of 256 too large for field of 1 bytes at 68242)
Charles Baylis [Mon, 7 Apr 2014 15:07:33 +0000 (15:07 +0000)]
re PR target/60609 (Error: value of 256 too large for field of 1 bytes at 68242)

2014-04-07  Charles Baylis  <charles.baylis@linaro.org>

        PR target/60609
        * config/arm/arm.h (ASM_OUTPUT_CASE_END): Remove.
        (LABEL_ALIGN_AFTER_BARRIER): Align barriers which occur after
        ADDR_DIFF_VEC.

2014-04-07  Charles Baylis  <charles.baylis@linaro.org>

        PR target/60609
        * g++.dg/torture/pr60609.C: New test.

From-SVN: r209191

10 years agore PR tree-optimization/60766 (Wrong optimization with -O2)
Richard Biener [Mon, 7 Apr 2014 14:03:55 +0000 (14:03 +0000)]
re PR tree-optimization/60766 (Wrong optimization with -O2)

2014-04-07  Richard Biener  <rguenther@suse.de>

PR tree-optimization/60766
* tree-ssa-loop-ivopts.c (cand_value_at): Compute in an
unsigned type.
(may_eliminate_iv): Convert cand_value_at result to desired
type.

* gcc.dg/torture/pr60766.c: New testcase.

From-SVN: r209190

10 years agore PR c++/60731 (dynamic library not getting reinitialized on multiple calls to dlopen())
Jason Merrill [Mon, 7 Apr 2014 13:27:45 +0000 (09:27 -0400)]
re PR c++/60731 (dynamic library not getting reinitialized on multiple calls to dlopen())

PR c++/60731
* lib/gcc-dg.exp (dg-build-dso): New.
(gcc-dg-test-1): Handle dg-do-what "dso".
* lib/target-supports.exp (add_options_for_dlopen): New.
(check_effective_target_dlopen): Use it.
* g++.dg/dso/dlclose1.C: New.
* g++.dg/dso/dlclose1-dso.cc: New.

From-SVN: r209187

10 years agore PR c++/60731 (dynamic library not getting reinitialized on multiple calls to dlopen())
Jason Merrill [Mon, 7 Apr 2014 13:27:39 +0000 (09:27 -0400)]
re PR c++/60731 (dynamic library not getting reinitialized on multiple calls to dlopen())

PR c++/60731
* common.opt (-fno-gnu-unique): Add.
* config/elfos.h (USE_GNU_UNIQUE_OBJECT): Check it.

From-SVN: r209186

10 years agoFix testcase for PR target/60657
Ramana Radhakrishnan [Mon, 7 Apr 2014 13:17:11 +0000 (13:17 +0000)]
Fix testcase for PR target/60657

From-SVN: r209185

10 years agohaifa-sched.c: Fix outdated function reference and minor grammar errors in introducto...
Kyrylo Tkachov [Mon, 7 Apr 2014 13:16:46 +0000 (13:16 +0000)]
haifa-sched.c: Fix outdated function reference and minor grammar errors in introductory comment.

* haifa-sched.c: Fix outdated function reference and minor
grammar errors in introductory comment.

From-SVN: r209184

10 years agore PR c++/60750 (double free after std::move on string inside throw when compiled...
Richard Biener [Mon, 7 Apr 2014 08:38:23 +0000 (08:38 +0000)]
re PR c++/60750 (double free after std::move on string inside throw when compiled with optimization)

2014-04-07  Richard Biener  <rguenther@suse.de>

PR middle-end/60750
* tree-ssa-operands.c (maybe_add_call_vops): Also add VDEFs
for noreturn calls.
* tree-cfgcleanup.c (fixup_noreturn_call): Do not remove VDEFs.

* g++.dg/torture/pr60750.C: New testcase.
* gcc.dg/tree-ssa/20040517-1.c: Adjust.

From-SVN: r209179

10 years agoDaily bump.
GCC Administrator [Mon, 7 Apr 2014 00:16:32 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r209173

10 years agoinvoke.texi: Add info for __AVR_ISA_RMW__ builtin macro
Denis Chertykov [Sun, 6 Apr 2014 19:09:36 +0000 (23:09 +0400)]
invoke.texi: Add info for __AVR_ISA_RMW__ builtin macro

* doc/invoke.texi: Add info for __AVR_ISA_RMW__ builtin macro

From-SVN: r209169

10 years ago* gcc.c-torture/compile/pr60655-1.c: Use __SIZE_TYPE__ for size_t.
Andreas Schwab [Sun, 6 Apr 2014 17:55:12 +0000 (17:55 +0000)]
* gcc.c-torture/compile/pr60655-1.c: Use __SIZE_TYPE__ for size_t.

From-SVN: r209167

10 years agore PR testsuite/60671 (FAIL: g++.dg/pr49718.C -std=gnu++98 scan-assembler-times...
John David Anglin [Sun, 6 Apr 2014 16:44:21 +0000 (16:44 +0000)]
re PR testsuite/60671 (FAIL: g++.dg/pr49718.C -std=gnu++98  scan-assembler-times __cyg_profile_func_enter 1)

PR testsuite/60671
g++.dg/pr49718.C: Adjust scan-assembler-times for hppa*-*-hpux*.

From-SVN: r209166

10 years agore PR testsuite/60672 (FAIL: g++.dg/cpp1y/auto-fn25.C -std=gnu++1y (test for errors...
John David Anglin [Sun, 6 Apr 2014 16:31:38 +0000 (16:31 +0000)]
re PR testsuite/60672 (FAIL: g++.dg/cpp1y/auto-fn25.C -std=gnu++1y  (test for errors, line 7))

PR testsuite/60672
* g++.dg/cpp1y/auto-fn25.C: Require lto.

From-SVN: r209165

10 years agostdatomic-flag.c: xfail on hppa*-*-hpux*.
John David Anglin [Sun, 6 Apr 2014 16:19:39 +0000 (16:19 +0000)]
stdatomic-flag.c: xfail on hppa*-*-hpux*.

* gcc.dg/atomic/stdatomic-flag.c: xfail on hppa*-*-hpux*.

From-SVN: r209164

10 years agore PR debug/55794 (FAIL: g++.dg/debug/dwarf2/non-virtual-thunk.C -std=gnu++98 and...
John David Anglin [Sun, 6 Apr 2014 15:17:41 +0000 (15:17 +0000)]
re PR debug/55794 (FAIL: g++.dg/debug/dwarf2/non-virtual-thunk.C -std=gnu++98 and -std=gnu++11)

PR debug/55794
* config/pa/pa.c (pa_output_function_epilogue): Skip address and code
size accounting for thunks.
(pa_asm_output_mi_thunk): Use final_start_function() and
final_end_function() to output function start and end directives.

From-SVN: r209163

10 years agoDaily bump.
GCC Administrator [Sun, 6 Apr 2014 00:16:33 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r209160

10 years agowarn_conversion_4.f90: Adjust test.
Dominique d'Humieres [Sat, 5 Apr 2014 11:25:36 +0000 (13:25 +0200)]
warn_conversion_4.f90: Adjust test.

2014-04-05  Dominique d'Humieres <dominiq@lps.ens.fr>

* gfortran.dg/warn_conversion_4.f90: Adjust test.

From-SVN: r209151

10 years agoavr-arch.h (avr_mcu_t): Add dev_attribute field to have device specific ISA/ feature...
Pitchumani Sivanupandi [Sat, 5 Apr 2014 05:51:59 +0000 (09:51 +0400)]
avr-arch.h (avr_mcu_t): Add dev_attribute field to have device specific ISA/ feature information.

* config/avr/avr-arch.h (avr_mcu_t): Add dev_attribute field to have device
specific ISA/ feature information. Remove short_sp and errata_skip ds.
Add avr_device_specific_features enum to have device specific info.
* config/avr/avr-c.c (avr_cpu_cpp_builtins): use dev_attribute to check
errata_skip. Add __AVR_ISA_RMW__ builtin macro if RMW ISA available.
* config/avr/avr-devices.c (avr_mcu_types): Update AVR_MCU macro for
updated device specific info.
* config/avr/avr-mcus.def: Merge device specific details to
dev_attribute field.
* config/avr/avr.c (avr_2word_insn_p): use dev_attribute field to check
errata_skip.
* config/avr/avr.h (AVR_HAVE_8BIT_SP): same for short sp info.
* config/avr/driver-avr.c (avr_device_to_as): Pass -mrmw option to
assembler if RMW isa supported by current device.
* config/avr/genmultilib.awk: Update as device info structure changed.
* doc/invoke.texi: Add info for __AVR_ISA_RMW__ builtin macro

* gcc.target/avr/dev-specific-rmw.c: New test.

From-SVN: r209141

10 years agore PR tree-optimization/60656 (x86 vectorization produces wrong code)
Cong Hou [Sat, 5 Apr 2014 01:27:21 +0000 (21:27 -0400)]
re PR tree-optimization/60656 (x86 vectorization produces wrong code)

2014-04-04  Cong Hou  <congh@google.com>

    PR tree-optimization/60656
    * tree-vect-stmts.c (supportable_widening_operation):
      Fix a bug that elements in a vector with vect_used_by_reduction
      property are incorrectly reordered when the operation on it is not
      consistant with the one in reduction operation.

2014-04-04  Cong Hou  <congh@google.com>

    PR tree-optimization/60656
    * gcc.dg/vect/pr60656.c: New test.

From-SVN: r209138

10 years agoDaily bump.
GCC Administrator [Sat, 5 Apr 2014 00:17:03 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r209137

10 years agore PR rtl-optimization/60155 (ICE: in get_pressure_class_and_nregs at gcse.c:3438)
John David Anglin [Fri, 4 Apr 2014 22:25:51 +0000 (22:25 +0000)]
re PR rtl-optimization/60155 (ICE: in get_pressure_class_and_nregs at gcse.c:3438)

PR rtl-optimization/60155
* gcse.c (record_set_data): New function.
(single_set_gcse): New function.
(gcse_emit_move_after): Use single_set_gcse instead of single_set.
(hoist_code): Likewise.
(get_pressure_class_and_nregs): Likewise.

From-SVN: r209134

10 years agocheck.c (gfc_check_cmplx): Fix typo.
Tobias Burnus [Fri, 4 Apr 2014 22:16:16 +0000 (00:16 +0200)]
check.c (gfc_check_cmplx): Fix typo.

2014-04-04  Tobias Burnus  <burnus@net-b.de>

        * check.c (gfc_check_cmplx): Fix typo.

From-SVN: r209133

10 years agobuiltin-bswap-6.c: Adjust return value to disable GCC optimization.
Andreas Krebbel [Fri, 4 Apr 2014 21:58:34 +0000 (21:58 +0000)]
builtin-bswap-6.c: Adjust return value to disable GCC optimization.

2014-04-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* gcc.dg/builtin-bswap-6.c: Adjust return value to disable GCC
optimization.
* gcc.dg/builtin-bswap-7.c: Likewise.

From-SVN: r209132

10 years agodecl.c (duplicate_decls): Check for the return of warning_at before emitting a note.
Fabien Chêne [Fri, 4 Apr 2014 21:36:11 +0000 (23:36 +0200)]
decl.c (duplicate_decls): Check for the return of warning_at before emitting a note.

2014-04-04  Fabien Chêne  <fabien@gcc.gnu.org>

* decl.c (duplicate_decls): Check for the return of warning_at
before emitting a note.
(warn_misplaced_attr_for_class_type): Likewise.
(check_tag_decl): Likewise.

From-SVN: r209131

10 years ago* explow.c (probe_stack_range): Emit a final optimization blockage.
Eric Botcazou [Fri, 4 Apr 2014 21:07:48 +0000 (21:07 +0000)]
* explow.c (probe_stack_range): Emit a final optimization blockage.

From-SVN: r209130

10 years agore PR bootstrap/60620 (missing gnattools dependency causes highly parallel build...
Eric Botcazou [Fri, 4 Apr 2014 20:53:48 +0000 (20:53 +0000)]
re PR bootstrap/60620 (missing gnattools dependency causes highly parallel build failure with --disable-bootstrap)

PR bootstrap/60620
* Makefile.def (dependencies): Make gnattools depend on libstdc++-v3.
* Makefile.in: Regenerate.

From-SVN: r209129

10 years agore PR c++/58207 (ICE in sort_constexpr_mem_initializers due to out of bounds vector...
Paolo Carlini [Fri, 4 Apr 2014 20:11:47 +0000 (20:11 +0000)]
re PR c++/58207 (ICE in sort_constexpr_mem_initializers due to out of bounds vector access)

/cp
2014-04-04  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/58207
* semantics.c (sort_constexpr_mem_initializers): Robustify loop.

/testsuite
2014-04-04  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/58207
* g++.dg/cpp0x/constexpr-ice15.C: New.

From-SVN: r209128

10 years agoFix typo in recent patch.
Anthony Green [Fri, 4 Apr 2014 19:46:07 +0000 (19:46 +0000)]
Fix typo in recent patch.

From-SVN: r209127

10 years agore PR c++/44613 (Declaring an array with non-constant length inside a switch corrupts...
Patrick Palka [Fri, 4 Apr 2014 19:36:00 +0000 (02:36 +0700)]
re PR c++/44613 (Declaring an array with non-constant length inside a switch corrupts stack pointer.)

PR c++/44613
* semantics.c (add_stmt): Set STATEMENT_LIST_HAS_LABEL.
* decl.c (cp_finish_decl): Create a new BIND_EXPR before
instantiating a variable-sized type.

From-SVN: r209125