- 10 Dec, 2012 4 commits
-
-
re PR bootstrap/53912 (bootstrap fails using default c++ mode in stage 2 and 3 for native x86_64-w64-mingw32) PR target/53912 * print-tree.c (print_node): Cast from pointer via uintptr_t. From-SVN: r194348
Kai Tietz committed -
2012-12-10 Matthias Klose <doko@ubuntu.com> * src/Makefile.am (libstdc++-symbols.ver): Use CONFIG_HEADER. * src/Makefile.in: Regenerate. From-SVN: r194346
Matthias Klose committed -
* asan.c (instrument_derefs): Handle bitfield COMPONENT_REFs accesses as reads/writes to their DECL_BIT_FIELD_REPRESENTATIVE. From-SVN: r194344
Jakub Jelinek committed -
From-SVN: r194342
GCC Administrator committed
-
- 09 Dec, 2012 10 commits
-
-
* gcc.misc-tests/gcov-12.c: Fix dg order. From-SVN: r194338
John David Anglin committed -
re PR middle-end/54470 (FAIL: gcc.dg/ipa/iinline-4.c scan-ipa-dump inline "hooray4[^\\n]*inline copy in test4") PR middle-end/54470 * gcc.dg/ipa/iinline-4.c: xfail hooray4 test on 32-bit hppa*-*-*. From-SVN: r194337
John David Anglin committed -
* gcc.dg/torture/pr47917.c: Change "dg-xfail-if" to "dg-xfail-run-if" for *-*-hpux10*. From-SVN: r194335
John David Anglin committed -
PR target/55344 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined. From-SVN: r194334
Uros Bizjak committed -
* gcc.dg/20030711-1.c: Define MAP_FAILED if not defined. * gcc.dg/20050826-1.c: Likewise. From-SVN: r194333
John David Anglin committed -
trans-array.c (gfc_deallocate_scalar_with_status): Use NULL_TREE in the call to gfc_deallocate_scalar_with_status. 2012-12-09 Tobias Burnus <burnus@net-b.de> * trans-array.c (gfc_deallocate_scalar_with_status): Use NULL_TREE in the call to gfc_deallocate_scalar_with_status. * trans-decl.c (gfc_trans_deferred_vars): Pass symbol. * trans-stmt.c (gfc_trans_deallocate): Pass polymorphic * variable. From-SVN: r194332
Tobias Burnus committed -
* gnat.dg/vect9.adb: Add -w to dg-options. * gnat.dg/vect10.adb: Likewise. From-SVN: r194331
Eric Botcazou committed -
* testsuite/lib/libstdc++.exp (dg-test): Unset testname_with_flags after running the test. From-SVN: r194330
Andreas Schwab committed -
2012-12-09 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/55593 * frontend-passes.c (doloop_code): Use resolved_sym instead of n.sym->formal for formal argument list to get the correct version for all generic subroutines. 2012-12-09 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/55593 * gfortran.dg/do_check_8.f90: New test. From-SVN: r194329
Thomas Koenig committed -
From-SVN: r194328
GCC Administrator committed
-
- 08 Dec, 2012 10 commits
-
-
From-SVN: r194325
Eric Botcazou committed -
lto-streamer-out.c (lto_write_tree): Do not reset the DECL_INITIAL of variables in the global contant pool. * lto-streamer-out.c (lto_write_tree): Do not reset the DECL_INITIAL of variables in the global contant pool. From-SVN: r194324
Eric Botcazou committed -
* gcc-interface/trans.c (gnat_to_gnu) <N_Indexed_Component>: Assert that the type of the prefix is ultimately an array. From-SVN: r194323
Eric Botcazou committed -
PR rtl-optimization/55158 * sched-rgn.c (bb_state_array, bb_state): Add some explaining comment, and initialize to NULL explicitly. (realloc_bb_state_array): New function. (free_bb_state_array): New function. (schedule_region): Call realloc_bb_state_array after schedule_block. (sched_rgn_init): Use realloc_bb_state_array to initialize bb_state. (sched_rgn_finish): Use free_bb_state_array to free it. From-SVN: r194322
Steven Bosscher committed -
trans.c (Subprogram_Body_to_gnu): Be prepared for a by-ref VAR_DECL in the case of an Out parameter passed by copy. * gcc-interface/trans.c (Subprogram_Body_to_gnu): Be prepared for a by-ref VAR_DECL in the case of an Out parameter passed by copy. From-SVN: r194321
Eric Botcazou committed -
From-SVN: r194320
Eric Botcazou committed -
re PR c++/55127 (Incorrect "dependent scope" error with partial specialization of non-type parameter) PR c++/55127 * search.c (accessible_in_template_p): New. * cp-tree.h: Declare it. * pt.c (instantiation_dependent_scope_ref_p): New. (value_dependent_expression_p): Use it. (instantiation_dependent_r): Likewise. * semantics.c (finish_decltype_type): Handle SCOPE_REF. From-SVN: r194318
Jason Merrill committed -
PR c++/55419 * tree.c (build_target_expr): Don't set TREE_CONSTANT. From-SVN: r194317
Jason Merrill committed -
PR c++/55513 * semantics.c (cxx_eval_builtin_function_call): Set non_constant_p after folding. From-SVN: r194316
Aldy Hernandez committed -
From-SVN: r194315
GCC Administrator committed
-
- 07 Dec, 2012 16 commits
-
-
2012-12-07 Paolo Carlini <paolo.carlini@oracle.com> * tree.c (build_aggr_init_expr): Remove tsubst_flags_t parameter. (build_cplus_new): Adjust. * cp-tree.h: Adjust declaration. * init.c (build_value_init): Adjust. From-SVN: r194312
Paolo Carlini committed -
2012-12-07 Sriraman Tallan <tmsriram@google.com> * toplev.c (process_options): Do not warn when -ffunction-sections and -fprofile are used together. From-SVN: r194311
Sriraman Tallam committed -
From-SVN: r194310
Steven Bosscher committed -
2012-12-07 Mike Stump <mikestump@comcast.net> * gnat.dg/discr38.adb: Don't use ^M line endings. gnat.dg/loop_optimization13.adb: Likewise. gnat.dg/loop_optimization13.ads: Likewise. gnat.dg/discr36_pkg.adb: Likewise. gnat.dg/discr36_pkg.ads: Likewise. gnat.dg/loop_optimization11_pkg.ads: Likewise. gnat.dg/discr36.ads: Likewise. gnat.dg/loop_optimization11.adb: Likewise. From-SVN: r194309
Mike Stump committed -
2012-12-07 Vladimir Makarov <vmakarov@redhat.com> testsuite/gcc.target/i386/pr55141.c * lra-constraints.c (lra_constraints): Use biggest mode for df_set_regs_ever_live. 2012-12-07 Vladimir Makarov <vmakarov@redhat.com> PR rtl-optimization/55141 * gcc.target/i386/pr55141.c: New. From-SVN: r194308
Vladimir Makarov committed -
Consider this invalid example given in the PR, where T is not defined: 1 template<typename> 2 struct X { 3 using type = T; 4 }; g++ yields the confusing diagnostics: test.cc:3:10: error: expected nested-name-specifier before 'type' using type = T; ^ test.cc:3:10: error: using-declaration for non-member at class scope test.cc:3:15: error: expected ';' before '=' token using type = T; ^ test.cc:3:15: error: expected unqualified-id before '=' token I think this is because in cp_parser_member_declaration we tentatively parse an alias declaration; we then have a somewhat meaningful diagnostic which alas is not emitted because we are parsing tentatively. As the parsing didn't succeed (because the input is invalid) we try to parse a using declaration, which fails as well; but then the diagnostic emitted is the one for the failed attempt at parsing a using declaration, not an alias declaration. Oops. The idea of this patch is to commit the tentative parse when we see the '=' token in the alias-declaration. That way any error encounter after that token is reported to the user. We are now getting the following output: test.cc:3:18: erreur: expected type-specifier before ‘T’ using type = T; ^ test.cc:3:18: erreur: ‘T’ does not name a type I don't really like the "before 'T'" there, but I think we maybe could revisit the format of what cp_parser_error emits in general, now that we have caret diagnostics; We could maybe do away with the "before T" altogether? In the mean time, it seems to me that this patch brings an improvement over what we already have in trunk, and the issue above could be addressed separately. Tested on x86_64-unknown-linux-gnu against trunk. gcc/cp/ * parser.c (cp_parser_alias_declaration): Commit to tentative parse when see the '=' token. Get out if the type-id is invalid. Update function comment. (cp_parser_member_declaration): Don't try to parse a using declaration if we know that we expected an alias declaration; that is, if we see the '=' token after the identifier. gcc/testsuite/ * g++.dg/cpp0x/alias-decl-28.C: New test. * g++.dg/cpp0x/alias-decl-16.C: Update. From-SVN: r194306
Dodji Seketeli committed -
* tree-ssa-loop-ivcanon.c (tree_estimate_loop_size): Add UPPER_BOUND parameter. (try_unroll_loop_completely) Update. From-SVN: r194305
Jan Hubicka committed -
PR fortran/55395 * varpool.c (varpool_remove_node): Don't drop DECL_INITIAL for -g for any kind of debug info. From-SVN: r194304
Jakub Jelinek committed -
PR bootstrap/54926 * Makefile.am (AM_CFLAGS): Add -frandom-seed=$@. * Makefile.in: Regenerated. From-SVN: r194303
Jakub Jelinek committed -
re PR tree-optimization/54886 (FAIL: gcc.dg/graphite/pr(42521|42771).c (internal compiler error) due to revision 192219) 2012-12-07 Richard Biener <rguenther@suse.de> PR tree-optimization/54886 * graphite-sese-to-poly.c (build_loop_iteration_domains): Properly free all memory. From-SVN: r194302
Richard Biener committed -
2012-12-07 Martin Jambor <mjambor@suse.cz> PR middle-end/55078 * ipa-inline-transform.c (inline_call): Turn #if 0 to #ifdef ENABLE_CHECKING. * ipa-prop.c (try_make_edge_direct_simple_call): Use ipa_value_from_jfunc. (try_make_edge_direct_virtual_call): Likewise. (update_indirect_edges_after_inlining): Lookup new_root_info and pass it to the functions above. From-SVN: r194301
Martin Jambor committed -
2012-12-07 Martin Jambor <mjambor@suse.cz> PR tree-optimization/55590 * tree-sra.c (build_ref_for_offset): Use get_object_alignment_1 to get base alignment. * testsuite/gcc.target/i386/pr55590-1.c: New test. * testsuite/gcc.target/i386/pr55590-2.c: Likewise. From-SVN: r194300
Martin Jambor committed -
From-SVN: r194299
Uros Bizjak committed -
2012-12-07 Paolo Carlini <paolo.carlini@oracle.com> PR c++/54975 * g++.dg/cpp0x/lambda/lambda-typedef.C: New. From-SVN: r194297
Paolo Carlini committed -
re PR c++/54325 (C++11 uniform initialization syntax for argument-less abstract base class constructor fails) PR c++/54325 * tree.c (build_aggr_init_expr): Don't check for abstract class. From-SVN: r194284
Jason Merrill committed -
From-SVN: r194283
Jason Merrill committed
-