[Bug tree-optimization/43817] Runtime endian-ness check is not optimized on the tree level

2016-08-06 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43817 --- Comment #2 from Andrew Pinski --- I think this has been fixed in either 6.1.0 or on the trunk.

[Bug middle-end/72826] Poor diagnostic for uninitialized structure field

2016-08-06 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72826 --- Comment #3 from Manuel López-Ibáñez --- You can find out when things go wrong by using something like -fdump-tree-all-all-lineno

[Bug middle-end/72826] Poor diagnostic for uninitialized structure field

2016-08-06 Thread zackw at panix dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72826 --- Comment #2 from Zack Weinberg --- I can persuade it to print instead test2.cc:6:9: warning: ‘timer.countdownTimer::started’ is used uninitialized in this function [-Wuninitialized] by using -O1 instead of -O2 or by removing the line

[Bug rtl-optimization/70946] Bad interaction between IVOpt and loop unrolling

2016-08-06 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70946 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug bootstrap/72823] [7 Regression] r239175 causes build failure

2016-08-06 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72823 --- Comment #8 from Jakub Jelinek --- I guess the thing is that ENABLE_ASSERT_CHECKING is never defined while building libcpp, it is simply not handled by libcpp/configure* and not stored in libcpp/config*. So, either it could use CHECKING_P

[Bug middle-end/19986] [meta-bug] fold missing optimizations (compared to RTL)

2016-08-06 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19986 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2007-07-01 00:35:18 |2016-8-6 --- Comment #4 from Andrew

[Bug middle-end/72826] Poor diagnostic for uninitialized structure field

2016-08-06 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72826 Manuel López-Ibáñez changed: What|Removed |Added CC||manu at gcc dot gnu.org

[Bug middle-end/36823] missing uninitialized warning (IPA, inlining)

2016-08-06 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36823 Manuel López-Ibáñez changed: What|Removed |Added Keywords||diagnostic

[Bug bootstrap/72823] [7 Regression] r239175 causes build failure

2016-08-06 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72823 --- Comment #7 from David Malcolm --- Should now be fixed. Keeping open for now, in the hope of addressing libcpp's gcc_assert.

[Bug bootstrap/72823] [7 Regression] r239175 causes build failure

2016-08-06 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72823 --- Comment #6 from David Malcolm --- Author: dmalcolm Date: Sat Aug 6 18:06:30 2016 New Revision: 239211 URL: https://gcc.gnu.org/viewcvs?rev=239211=gcc=rev Log: Fix crash in selftest::test_lexer_string_locations_ucn4 (PR bootstrap/72823)

[Bug bootstrap/72823] [7 Regression] r239175 causes build failure

2016-08-06 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72823 David Malcolm changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |dmalcolm at gcc dot gnu.org ---

[Bug bootstrap/72823] [7 Regression] r239175 causes build failure

2016-08-06 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72823 --- Comment #4 from David Malcolm --- (In reply to David Malcolm from comment #3) > Not sure why I'm not seeing it fail; am investigating further. Looks like gcc_assert in libcpp was doing nothing on my box. The code i libcpp/system.h has:

[Bug bootstrap/72823] [7 Regression] r239175 causes build failure

2016-08-06 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72823 --- Comment #3 from David Malcolm --- Sorry about this. (In reply to Jakub Jelinek from comment #2) > Created attachment 39062 [details] > gcc7-pr72823.patch > > Untested fix. Thanks. ppalka on IRC said that this fixed it for him. > IMHO

[Bug c++/72826] Poor diagnostic for uninitialized structure field

2016-08-06 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72826 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/72826] New: Poor diagnostic for uninitialized structure field

2016-08-06 Thread zackw at panix dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72826 Bug ID: 72826 Summary: Poor diagnostic for uninitialized structure field Product: gcc Version: 6.1.1 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug fortran/71936] [6/7 Regression] ICE in wide_int_to_tree, at tree.c:1487

2016-08-06 Thread vehre at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71936 vehre at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug c++/56701] [C++11] The *this* pointer fails to bind to rvalue reference to pointer type

2016-08-06 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56701 --- Comment #4 from Jonathan Wakely --- (In reply to TC from comment #3) > This still breaks: > > struct A > { > void f(){ A*&& a = &*this; } > }; > int main(){} Jason, should this be reopened?

[Bug sanitizer/67626] Erroneous report on downcast to __numpunct_cache

2016-08-06 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67626 --- Comment #1 from Jonathan Wakely --- I think the issue here is simply that ubsan isn't used to compile the code in libstdc++.so where the facets are created, so the vtable is not instrumented.

[Bug libstdc++/56158] bad enum values computed by operator~ in ios_base.h

2016-08-06 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56158 Jonathan Wakely changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/69373] GCC emits incorrect warning that "exception of type ‘void (*)()’ will be caught by earlier handler for 'void*'"

2016-08-06 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69373 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libstdc++/68740] FAIL: experimental/type_erased_allocator/1.cc (test for excess errors)

2016-08-06 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68740 --- Comment #4 from Jonathan Wakely --- Is this still failing? The file was replaced with testsuite/experimental/memory_resource/1.cc but that now has: // { dg-require-atomic-builtins "" }

[Bug libstdc++/71313] [Filesystem TS] remove_all fails to remove directory contents recursively

2016-08-06 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71313 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |5.5 Known to fail|

[Bug c++/72825] New: ICE on invalid C++ code on x86_64-linux-gnu (internal compiler error: tree check: expected array_type, have error_mark in array_ref_low_bound, at tree.c:13013)

2016-08-06 Thread chengniansun at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72825 Bug ID: 72825 Summary: ICE on invalid C++ code on x86_64-linux-gnu (internal compiler error: tree check: expected array_type, have error_mark in array_ref_low_bound, at tree.c:13013)

[Bug tree-optimization/72817] wrong code at -O3 on x86_64-linux-gnu (in both 32-bit and 64-bit modes)

2016-08-06 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72817 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libstdc++/69243] std::function summons a non-null pointer out of thin air

2016-08-06 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69243 Jonathan Wakely changed: What|Removed |Added Target Milestone|6.0 |5.5 --- Comment #2 from Jonathan

[Bug libstdc++/69293] scoped_allocator_adaptor::construct calls wrong function

2016-08-06 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69293 --- Comment #9 from Jonathan Wakely --- Oops I did it again.

[Bug fortran/72741] Fortran OpenACC routine directive doesn't properly handle clauses specifying the level of parallelism

2016-08-06 Thread tschwinge at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72741 --- Comment #3 from Thomas Schwinge --- Created attachment 39064 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39064=edit Fortran routine directive with a name Cesar, thanks for your initial fix. Please have a look at the new file I'm

[Bug libstdc++/70940] pmr::resource_adaptor requires optional allocator requirements and incorrectly aligns returned pointers.

2016-08-06 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70940 Jonathan Wakely changed: What|Removed |Added Target Milestone|6.2 |7.0 --- Comment #5 from Jonathan

[Bug libstdc++/71964] [5/6/7 Regression] Move constructor of std::set does not move allocator

2016-08-06 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71964 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/69293] scoped_allocator_adaptor::construct calls wrong function

2016-08-06 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69293 --- Comment #8 from Jonathan Wakely --- Author: redi Date: Sat Aug 6 12:21:42 2016 New Revision: 239205 URL: https://gcc.gnu.org/viewcvs?rev=239205=gcc=rev Log: Fix construction of std::function from null pointer-to-member PR

[Bug libstdc++/71964] [5/6/7 Regression] Move constructor of std::set does not move allocator

2016-08-06 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71964 --- Comment #4 from Jonathan Wakely --- Author: redi Date: Sat Aug 6 12:21:51 2016 New Revision: 239207 URL: https://gcc.gnu.org/viewcvs?rev=239207=gcc=rev Log: Move allocator in RB tree move constructors Backport from mainline 2016-07-22

[Bug libstdc++/70940] pmr::resource_adaptor requires optional allocator requirements and incorrectly aligns returned pointers.

2016-08-06 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70940 --- Comment #4 from Jonathan Wakely --- Author: redi Date: Sat Aug 6 12:20:31 2016 New Revision: 239199 URL: https://gcc.gnu.org/viewcvs?rev=239199=gcc=rev Log: libstdc++/70940 Start fixing polymorphic memory resources Backport from mainline

[Bug libstdc++/71964] [5/6/7 Regression] Move constructor of std::set does not move allocator

2016-08-06 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71964 --- Comment #3 from Jonathan Wakely --- Author: redi Date: Sat Aug 6 12:20:41 2016 New Revision: 239201 URL: https://gcc.gnu.org/viewcvs?rev=239201=gcc=rev Log: Move allocator in RB tree move constructors Backport from mainline 2016-07-22

[Bug tree-optimization/72824] New: [7 Regression] Signed floating point zero semantics broken at optimization level -O3 (tree-loop-distribute-patterns)

2016-08-06 Thread wen...@mitsuba-renderer.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72824 Bug ID: 72824 Summary: [7 Regression] Signed floating point zero semantics broken at optimization level -O3 (tree-loop-distribute-patterns) Product: gcc Version:

[Bug rtl-optimization/72821] [7 regression] RTL check: expected elt 2 type 'B', have '0' (rtx barrier) in BLOCK_FOR_INSN, at rtl.h:1424

2016-08-06 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72821 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug fortran/72741] Fortran OpenACC routine directive doesn't properly handle clauses specifying the level of parallelism

2016-08-06 Thread tschwinge at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72741 Thomas Schwinge changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug bootstrap/72823] [7 Regression] r239175 causes build failure

2016-08-06 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72823 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug c/70389] uint_16t left shift with -Wconversion produces incorrect warning

2016-08-06 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70389 Manuel López-Ibáñez changed: What|Removed |Added CC||manu at gcc dot gnu.org ---

[Bug libstdc++/60421] std::this_thread::sleep_for doesn't sleep for all arguments

2016-08-06 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60421 Jonathan Wakely changed: What|Removed |Added Target Milestone|6.2 |7.0

[Bug c/72816] [5/6/7 Regression] ICE on x86_64-linux-gnu (tree check: expected tree that contains ‘decl with RTL’ structure, have ‘field_decl’ in set_decl_rtl, at emit-rtl.c:1282)

2016-08-06 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72816 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug libstdc++/72820] std::function can't store types with overloaded operator new

2016-08-06 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72820 --- Comment #1 from Jonathan Wakely --- Author: redi Date: Sat Aug 6 10:21:07 2016 New Revision: 239191 URL: https://gcc.gnu.org/viewcvs?rev=239191=gcc=rev Log: Use ::new to avoid finding overloaded operator new PR libstdc++/72820

[Bug rtl-optimization/72821] [7 regression] RTL check: expected elt 2 type 'B', have '0' (rtx barrier) in BLOCK_FOR_INSN, at rtl.h:1424

2016-08-06 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72821 --- Comment #1 from Dmitry G. Dyachenko --- r239190 FAIL r239091 FAIL r239090 PASS

[Bug fortran/72698] [5/6/7 Regression] ICE in lhd_incomplete_type_error, at langhooks.c:205

2016-08-06 Thread vehre at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72698 vehre at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug c/70389] uint_16t left shift with -Wconversion produces incorrect warning

2016-08-06 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70389 Andrew Pinski changed: What|Removed |Added Keywords||diagnostic --- Comment #3 from Andrew

[Bug fortran/72698] [5/6/7 Regression] ICE in lhd_incomplete_type_error, at langhooks.c:205

2016-08-06 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72698 Jakub Jelinek changed: What|Removed |Added Priority|P2 |P4 CC|

[Bug tree-optimization/72746] [5/6/7 Regression] gcc ICE at -O2 and above on valid code on x86_64-linux-gnu with “seg fault”

2016-08-06 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72746 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug bootstrap/72823] [7 Regression] r239175 causes build failure

2016-08-06 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72823 Markus Trippelsdorf changed: What|Removed |Added Target|powerpc64le-unknown-linux-g | |nu