[Bug c++/71892] New: Recent optimization changes introduce bugs

2016-07-15 Thread kern at sibbald dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71892 Bug ID: 71892 Summary: Recent optimization changes introduce bugs Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug tree-optimization/71881] [4.9/6/7 Regression] ICE on valid code at -O3 with -g enabled on x86_64-linux-gnu: cannot update SSA form

2016-07-15 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71881 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug tree-optimization/71881] [4.9/6/7 Regression] ICE on valid code at -O3 with -g enabled on x86_64-linux-gnu: cannot update SSA form

2016-07-15 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71881 --- Comment #6 from Richard Biener --- So in theory release_ssa_name()s insert_debug_temp_for_var_def should have saved us here. But! We have a single debug-use left plus the definition stmt is i_21 = i_29 + 1; and thus i_29 + 1 counts as

[Bug fortran/71883] [5/6/7 Regression] ICE in identical_array_ref, at fortran/dependency.c:104

2016-07-15 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71883 Dominique d'Humieres changed: What|Removed |Added Priority|P3 |P4

[Bug rtl-optimization/71887] [7 Regression] wrong code (SIGFPE) at -O1 and above on x86_64-linux-gnu (in both 32-bit and 64-bit modes)

2016-07-15 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71887 Richard Biener changed: What|Removed |Added Keywords||wrong-code

[Bug c++/71885] Incorrect code generated with -01, memset() function call is missing

2016-07-15 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71885 --- Comment #8 from Markus Trippelsdorf --- See Initializers 8.6.12: When storage for an object with automatic or dynamic storage duration is obtained, the object has an indeterminate value, and if no initialization is performed for the

[Bug tree-optimization/71881] [4.9/6/7 Regression] ICE on valid code at -O3 with -g enabled on x86_64-linux-gnu: cannot update SSA form

2016-07-15 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71881 --- Comment #5 from Jakub Jelinek --- Thanks. I see some reset_debug_uses calls in the ldist pass, perhaps it is needed somewhere else too (where we decide the loops should be destroyed).

[Bug c++/71885] Incorrect code generated with -01, memset() function call is missing

2016-07-15 Thread kern at sibbald dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71885 --- Comment #10 from Kern Sibbald --- Thanks for your definition of "undetermined" behavior. The problem here is that at the time the compiler applied its optimization we were just in the process of creating the object as is permitted by the

[Bug tree-optimization/71881] [4.9/6/7 Regression] ICE on valid code at -O3 with -g enabled on x86_64-linux-gnu: cannot update SSA form

2016-07-15 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71881 --- Comment #7 from Richard Biener --- (In reply to Jakub Jelinek from comment #5) > Thanks. I see some reset_debug_uses calls in the ldist pass, perhaps it is > needed somewhere else too (where we decide the loops should be destroyed). I

[Bug c++/71885] Incorrect code generated with -01, memset() function call is missing

2016-07-15 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71885 Markus Trippelsdorf changed: What|Removed |Added CC||jason at gcc dot gnu.org ---

[Bug middle-end/71893] gfortran.dg ICEs in gcc/tree-ssa-pre.c; -fcode-hoisting?

2016-07-15 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71893 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug fortran/71891] fortran/symbol.c:4864: suspicious if ?

2016-07-15 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71891 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug middle-end/71893] gfortran.dg ICEs in gcc/tree-ssa-pre.c; -fcode-hoisting?

2016-07-15 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71893 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/71885] Incorrect code generated with -01, memset() function call is missing

2016-07-15 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71885 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment

[Bug tree-optimization/71872] [7 Regression] ICE in inchash::add_expr, at tree.c:7782 - OEP_ADDRESS_OF asserted for ADDR_EXPR applied to constant

2016-07-15 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71872 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug fortran/70842] [4.9/5/6/7 Regression] internal compiler error with character members within a polymorphic pointer

2016-07-15 Thread vehre at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70842 --- Comment #11 from vehre at gcc dot gnu.org --- Waiting one week for regression reports before applying to gcc-*-branches.

[Bug fortran/71623] [5/6/7 Regression] Segfault when allocating deferred-length characters to size of a pointer

2016-07-15 Thread vehre at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71623 --- Comment #10 from vehre at gcc dot gnu.org --- Waiting one week for regression reports before closing.

[Bug c++/71892] Recent optimization changes introduce bugs

2016-07-15 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71892 --- Comment #1 from Andrew Pinski --- There is an option to disable both of these. Also the null pointer one had always been there. Just it got smarter.

[Bug tree-optimization/71347] [7 regression] Performance drop after r235513 on x86-64 in 32-bit mode.

2016-07-15 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71347 --- Comment #6 from amker at gcc dot gnu.org --- Author: amker Date: Fri Jul 15 08:53:48 2016 New Revision: 238366 URL: https://gcc.gnu.org/viewcvs?rev=238366=gcc=rev Log: gcc/testsuite PR tree-optimization/71347 *

[Bug fortran/71807] [5/6/7 Regression] Internal compiler error with NULL() reference in structure constructor

2016-07-15 Thread vehre at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71807 --- Comment #4 from vehre at gcc dot gnu.org --- Author: vehre Date: Fri Jul 15 09:28:47 2016 New Revision: 238368 URL: https://gcc.gnu.org/viewcvs?rev=238368=gcc=rev Log: gcc/fortran/ChangeLog: 2016-07-15 Andre Vehreschild

[Bug fortran/71523] Static variables given automatic initializers with -finit-* and -fmax-stack-var-size

2016-07-15 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71523 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug fortran/71523] Static variables given automatic initializers with -finit-* and -fmax-stack-var-size

2016-07-15 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71523 --- Comment #3 from Dominique d'Humieres --- > Patch submitted, see https://gcc.gnu.org/ml/fortran/2016-06/msg00032.html Hit return too soon!-( The patch works as advertised. I think you should ping the mailing lists and assign the PR to

[Bug middle-end/71893] New: gfortran.dg ICEs in gcc/tree-ssa-pre.c; -fcode-hoisting?

2016-07-15 Thread tschwinge at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71893 Bug ID: 71893 Summary: gfortran.dg ICEs in gcc/tree-ssa-pre.c; -fcode-hoisting? Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal

[Bug c++/71885] Incorrect code generated with -01, memset() function call is missing

2016-07-15 Thread kern at sibbald dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71885 --- Comment #7 from Kern Sibbald --- Just to be clear: - This change might be appropriate for higher level of optimization, but is not appropriate as a default for -O2 and -O1. - There is no undefined behavior here. We override the new

[Bug c++/71885] Incorrect code generated with -01, memset() function call is missing

2016-07-15 Thread eric at baculasystems dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71885 --- Comment #9 from Eric Bollengier --- Thanks for the "behavior is undefined" explanation. I understand a bit better why the GCC team did this choice. However, here, we don't talk about such kind of objects. In my case for example, objects

[Bug c++/71892] Recent optimization changes introduce bugs

2016-07-15 Thread kern at sibbald dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71892 --- Comment #2 from Kern Sibbald --- Yes, we are aware of the option and how to fix the problem. The issue is that this optimization at low levels of -O1 and -O2 is not reasonable, and it is unreasonable and irresponsible to make such changes.

[Bug fortran/71884] ICE in gfc_trans_allocate, at fortran/trans-stmt.c:5582 and :5698

2016-07-15 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71884 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c/71858] Surprising suggestions for misspellings

2016-07-15 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71858 --- Comment #6 from Jakub Jelinek --- Author: jakub Date: Fri Jul 15 10:40:39 2016 New Revision: 238369 URL: https://gcc.gnu.org/viewcvs?rev=238369=gcc=rev Log: PR c/71858 * c-common.h (enum lookup_name_fuzzy_kind): Add

[Bug fortran/71807] [5/6/7 Regression] Internal compiler error with NULL() reference in structure constructor

2016-07-15 Thread vehre at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71807 --- Comment #5 from vehre at gcc dot gnu.org --- Waiting one week for regression reports before applying to gcc-*-branches.

[Bug middle-end/71893] gfortran.dg ICEs in gcc/tree-ssa-pre.c; -fcode-hoisting?

2016-07-15 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71893 --- Comment #3 from Richard Biener --- Index: gcc/tree-ssa-sccvn.c === *** gcc/tree-ssa-sccvn.c(revision 238370) --- gcc/tree-ssa-sccvn.c(working copy)

[Bug fortran/71861] [4.9/5/6/7 Regression] ICE in write_symbol(): bad module symbol

2016-07-15 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71861 --- Comment #3 from Dominique d'Humieres --- Likely caused by r197053.

[Bug fortran/71862] [4.9/5/6/7 Regression] ICE in gfc_add_component_ref, at fortran/class.c:241

2016-07-15 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71862 --- Comment #5 from Gerhard Steinmetz --- More test files : $ cat z5.f90 program p type t integer :: n = 0 integer, pointer :: q => null() end type type(t) :: x print *,

[Bug target/71889] [MIPS] python: "insn does not satisfy its constraints"

2016-07-15 Thread kabel at blackhole dot sk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71889 --- Comment #3 from Marek Behun --- > Enabling optimizations without any -O is a no-op so you effectively tested > -O0. So even if I use all the -f flags, without any -O, they are not turned on? So if I want for example just to turn on half of

[Bug tree-optimization/71881] [4.9/6 Regression] ICE on valid code at -O3 with -g enabled on x86_64-linux-gnu: cannot update SSA form

2016-07-15 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71881 Richard Biener changed: What|Removed |Added Known to work||7.0 Summary|[4.9/6/7

[Bug tree-optimization/71872] [7 Regression] ICE in inchash::add_expr, at tree.c:7782 - OEP_ADDRESS_OF asserted for ADDR_EXPR applied to constant

2016-07-15 Thread gary at intrepid dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71872 --- Comment #10 from Gary Funck --- Thanks. Works for me.

[Bug fortran/71894] New: ICE in gfc_add_component_ref, at fortran/class.c:227

2016-07-15 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71894 Bug ID: 71894 Summary: ICE in gfc_add_component_ref, at fortran/class.c:227 Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug fortran/71894] ICE in gfc_add_component_ref, at fortran/class.c:227

2016-07-15 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71894 --- Comment #1 from Gerhard Steinmetz --- A variation : $ cat za1.f90 program p type t end type class(t) :: x class(t), allocatable :: y select type (y) type is (t) y = x end

[Bug fortran/71895] New: ICE in gfc_compare_derived_types, at fortran/interface.c:520

2016-07-15 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71895 Bug ID: 71895 Summary: ICE in gfc_compare_derived_types, at fortran/interface.c:520 Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/71894] ICE in gfc_add_component_ref, at fortran/class.c:227

2016-07-15 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71894 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/71887] [7 Regression] wrong code (SIGFPE) at -O1 and above on x86_64-linux-gnu (in both 32-bit and 64-bit modes)

2016-07-15 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71887 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug tree-optimization/71887] [7 Regression] wrong code (SIGFPE) at -O1 and above on x86_64-linux-gnu (in both 32-bit and 64-bit modes)

2016-07-15 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71887 --- Comment #3 from Richard Biener --- Author: rguenth Date: Fri Jul 15 12:56:17 2016 New Revision: 238373 URL: https://gcc.gnu.org/viewcvs?rev=238373=gcc=rev Log: 2016-07-15 Richard Biener PR

[Bug target/71874] [4.9 Regression] memmove works wrong

2016-07-15 Thread sudakov_ivan at mail dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71874 --- Comment #3 from Ivan --- It works wrong only for overlapped memory blocks?

[Bug fortran/71895] ICE in gfc_compare_derived_types, at fortran/interface.c:520

2016-07-15 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71895 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/71881] [4.9/6/7 Regression] ICE on valid code at -O3 with -g enabled on x86_64-linux-gnu: cannot update SSA form

2016-07-15 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71881 --- Comment #8 from Richard Biener --- Author: rguenth Date: Fri Jul 15 13:05:56 2016 New Revision: 238374 URL: https://gcc.gnu.org/viewcvs?rev=238374=gcc=rev Log: 2016-07-15 Richard Biener PR

[Bug middle-end/50060] intrinsics not folded by the middle-end

2016-07-15 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50060 --- Comment #8 from Jakub Jelinek --- Created attachment 38912 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38912=edit gcc7-pr50060.patch Untested patch (for -std=c++14 and later only).

[Bug fortran/71764] [4.9/5/6/7 Regression] ICE in gfc_trans_structure_assign

2016-07-15 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71764 --- Comment #11 from Jerry DeLisle --- Author: jvdelisle Date: Sat Jul 16 05:10:10 2016 New Revision: 238411 URL: https://gcc.gnu.org/viewcvs?rev=238411=gcc=rev Log: 2016-07-15 Jerry DeLisle Backport from

[Bug tree-optimization/71893] ['7 Regression] gfortran.dg ICEs in gcc/tree-ssa-pre.c; -fcode-hoisting?

2016-07-15 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71893 Andrew Pinski changed: What|Removed |Added Component|middle-end |tree-optimization Target

[Bug fortran/71764] [4.9/5/6/7 Regression] ICE in gfc_trans_structure_assign

2016-07-15 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71764 --- Comment #10 from Jerry DeLisle --- Author: jvdelisle Date: Sat Jul 16 03:54:12 2016 New Revision: 238410 URL: https://gcc.gnu.org/viewcvs?rev=238410=gcc=rev Log: 2016-07-15 Jerry DeLisle Backport from

[Bug tree-optimization/71347] [7 regression] Performance drop after r235513 on x86-64 in 32-bit mode.

2016-07-15 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71347 amker at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug c++/71892] Recent optimization changes introduce bugs

2016-07-15 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71892 --- Comment #3 from Jonathan Wakely --- Both examples you give are undefined behaviour according to the C++ standard. You can claim the code is valid, but that doesn't make it true. You seem to be confusing "it worked OK until now" with "this

[Bug c++/71896] New: Constexpr function with pointer to member parameter doesn't return constexpr value

2016-07-15 Thread raphael.kargon at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71896 Bug ID: 71896 Summary: Constexpr function with pointer to member parameter doesn't return constexpr value Product: gcc Version: 6.1.0 Status: UNCONFIRMED

[Bug fortran/71891] fortran/symbol.c:4864: suspicious if ?

2016-07-15 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71891 --- Comment #3 from kargl at gcc dot gnu.org --- (In reply to David Binderman from comment #1) > According to svn blame, kargl is the author of this line of code. > > Adding them in. Please, do not my email address to any bug report.

[Bug c++/71814] [6/7 Regression] ICE on valid C++11 code: in write_type, at cp/mangle.c:2158

2016-07-15 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71814 --- Comment #2 from Jason Merrill --- Author: jason Date: Fri Jul 15 18:38:15 2016 New Revision: 238389 URL: https://gcc.gnu.org/viewcvs?rev=238389=gcc=rev Log: PR c++/71814 - mangling sizeof... (sP and sZ) gcc/cp/ * mangle.c

[Bug c++/70824] [6/7 Regression] cc1plus consumes all available memory on specific template code

2016-07-15 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70824 --- Comment #5 from Jason Merrill --- Author: jason Date: Fri Jul 15 18:37:48 2016 New Revision: 238386 URL: https://gcc.gnu.org/viewcvs?rev=238386=gcc=rev Log: PR c++/70824 - initializer_list in template * init.c

[Bug c++/71718] [6/7 Regression] ICE on erroneous recursive template error printing

2016-07-15 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71718 --- Comment #3 from Jason Merrill --- Author: jason Date: Fri Jul 15 18:37:56 2016 New Revision: 238387 URL: https://gcc.gnu.org/viewcvs?rev=238387=gcc=rev Log: PR c++/71718 - infinite recursion and alias template * pt.c

[Bug c/71897] New: crashed on querying help information from command line

2016-07-15 Thread thomas.br...@virtuell-zuhause.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71897 Bug ID: 71897 Summary: crashed on querying help information from command line Product: gcc Version: 6.1.0 Status: UNCONFIRMED Severity: minor Priority: P3

[Bug c++/71092] [6/7 Regression] ICE: in cxx_eval_call_expression, at cp/constexpr.c:1449; only with -Os

2016-07-15 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71092 --- Comment #9 from Jason Merrill --- Author: jason Date: Fri Jul 15 18:49:38 2016 New Revision: 238395 URL: https://gcc.gnu.org/viewcvs?rev=238395=gcc=rev Log: PR c++/71092 - ICE with array and constexpr. * constexpr.c

[Bug c++/71117] [6/7 Regression] Overeager application of conversion to function pointer during overload resolution of call to function object

2016-07-15 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71117 --- Comment #4 from Jason Merrill --- Author: jason Date: Fri Jul 15 18:49:25 2016 New Revision: 238394 URL: https://gcc.gnu.org/viewcvs?rev=238394=gcc=rev Log: PR c++/71117 - core 2189 and generic lambda * call.c

[Bug c++/58796] throw nullptr not caught by catch(type*)

2016-07-15 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58796 --- Comment #16 from Jonathan Wakely --- Author: redi Date: Fri Jul 15 18:51:51 2016 New Revision: 238396 URL: https://gcc.gnu.org/viewcvs?rev=238396=gcc=rev Log: c++/58796 Make nullptr match exception handlers of pointer type libstdc++-v3:

[Bug c++/71495] [6/7 Regression] Spurious "note: initializing argument ... of ..." without any warning/error

2016-07-15 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71495 --- Comment #4 from Jason Merrill --- Author: jason Date: Fri Jul 15 18:56:29 2016 New Revision: 238397 URL: https://gcc.gnu.org/viewcvs?rev=238397=gcc=rev Log: PR c++/71495 - spurious note during SFINAE. * call.c

[Bug c++/58796] throw nullptr not caught by catch(type*)

2016-07-15 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58796 --- Comment #17 from Jonathan Wakely --- With GCC 7 from svn trunk the original test case now prints: About to 'throw nullptr' (first case) Caught 'throw nullptr' as type 'int A::*PointerToMember' About to 'throw nullptr' (second case) Caught

[Bug middle-end/71898] New: [7 Regression] [graphite] ICE: verify_ssa failed

2016-07-15 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71898 Bug ID: 71898 Summary: [7 Regression] [graphite] ICE: verify_ssa failed Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/71604] [6/7 Regression] ICE on valid C++11 code with range-based for loop: in pop_binding, at cp/name-lookup.c:376

2016-07-15 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71604 --- Comment #3 from Jason Merrill --- Author: jason Date: Fri Jul 15 18:38:31 2016 New Revision: 238391 URL: https://gcc.gnu.org/viewcvs?rev=238391=gcc=rev Log: PR c++/71604 - type definition in range-based for PR c++/54430

[Bug c++/71711] [6/7 Regression] ICE on valid C++1z code with fold expression: tree check: expected tree_vec, have expr_pack_expansion in tsubst_unary_left_fold, at cp/pt.c:10792

2016-07-15 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71711 --- Comment #3 from Jason Merrill --- Author: jason Date: Fri Jul 15 18:38:23 2016 New Revision: 238390 URL: https://gcc.gnu.org/viewcvs?rev=238390=gcc=rev Log: PR c++/71711 - mangle C++1z fold-expressions. * operators.def: Add

[Bug c++/71513] [6/7 Regression] ICE on valid C++11 code (with alignas specifier) on x86_64-linux-gnu: Segmentation fault

2016-07-15 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71513 --- Comment #3 from Jason Merrill --- Author: jason Date: Fri Jul 15 18:38:40 2016 New Revision: 238392 URL: https://gcc.gnu.org/viewcvs?rev=238392=gcc=rev Log: PR c++/71513 - alignas on member enum in template * pt.c

[Bug c++/54430] [C++11] For-Loop: Scope of iterating variable begins too early

2016-07-15 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54430 --- Comment #11 from Jason Merrill --- Author: jason Date: Fri Jul 15 18:38:31 2016 New Revision: 238391 URL: https://gcc.gnu.org/viewcvs?rev=238391=gcc=rev Log: PR c++/71604 - type definition in range-based for PR c++/54430

[Bug c++/71511] [6/7 Regression] ICE on valid C++11 code (with decltype) on x86_64-linux-gnu: in cxx_incomplete_type_diagnostic, at cp/typeck2.c:567

2016-07-15 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71511 --- Comment #4 from Jason Merrill --- Author: jason Date: Fri Jul 15 18:38:48 2016 New Revision: 238393 URL: https://gcc.gnu.org/viewcvs?rev=238393=gcc=rev Log: PR c++/71511 - ICE on decltype scope in declaration. * typeck2.c

[Bug driver/71897] crashed on querying help information from command line

2016-07-15 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71897 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug fortran/62125] Nested select type not accepted (rejects valid)

2016-07-15 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62125 Jerry DeLisle changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/71896] [6/7 Regression] Constexpr function with pointer to member parameter doesn't return constexpr value

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

[Bug libstdc++/71899] New: An internal BooleanTestable trait should be provided

2016-07-15 Thread daniel.kruegler at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71899 Bug ID: 71899 Summary: An internal BooleanTestable trait should be provided Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: enhancement Priority: P3

[Bug fortran/62125] Nested select type not accepted (rejects valid)

2016-07-15 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62125 --- Comment #10 from Jerry DeLisle --- Author: jvdelisle Date: Fri Jul 15 19:58:55 2016 New Revision: 238400 URL: https://gcc.gnu.org/viewcvs?rev=238400=gcc=rev Log: 2016-07-15 Jerry DeLisle Marco Restelli

[Bug c++/71896] Constexpr function with pointer to member parameter doesn't return constexpr value

2016-07-15 Thread daniel.kruegler at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71896 Daniel Krügler changed: What|Removed |Added CC||daniel.kruegler@googlemail.

[Bug fortran/71686] ICE on broken character continuation

2016-07-15 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71686 Jerry DeLisle changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/71886] Incorrect error on operator() being an member in template

2016-07-15 Thread daniel.kruegler at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71886 --- Comment #3 from Daniel Krügler --- (In reply to Ville Voutilainen from comment #2) > Clang also rejects the template. And Visual Studio 2015 rejects the template also.

[Bug c++/71900] Final keyword does not work as intended.

2016-07-15 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71900 --- Comment #1 from Andrew Pinski --- Works correctly in GCC 6.1.0 release.

[Bug c++/71900] New: Final keyword does not work as intended.

2016-07-15 Thread pavan.narasimhaprasad at hughes dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71900 Bug ID: 71900 Summary: Final keyword does not work as intended. Product: gcc Version: 4.9.2 Status: UNCONFIRMED Severity: major Priority: P3 Component: c++

[Bug tree-optimization/71702] dr_group_sort_cmp violates transitivity required for qsort

2016-07-15 Thread dje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71702 David Edelsohn changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/64901] [4.9/5 Regression] overriding final function defined out of line does not lead to an error

2016-07-15 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64901 Jonathan Wakely changed: What|Removed |Added CC||pavan.narasimhaprasad@hughe

[Bug c++/71900] Final keyword does not work as intended.

2016-07-15 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71900 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libstdc++/71899] An internal BooleanTestable trait should be provided

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

[Bug c++/71888] internal compiler error: in force_type_die, at dwarf2out.c:23236

2016-07-15 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71888 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug fortran/71880] pointer to allocatable character

2016-07-15 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71880 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/71885] Incorrect code generated with -01, memset() function call is missing

2016-07-15 Thread kern at sibbald dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71885 --- Comment #12 from Kern Sibbald --- Yes, I clearly understand your point. My responses were meant for the project were not directed at you. Hopefully someone will consider taking your advice of not making this the default. It may be difficult

[Bug c/57853] pointer arithmetic on arrays

2016-07-15 Thread brodhow at sbcglobal dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57853 --- Comment #17 from this is me --- Its simpler than what Andrew was describing! It is simply incrementing by 1 character datatype width to the next character with "++".

[Bug libgcc/71890] New: when using setjmp do context switch, libgcc crash the process when do unwind in thread cancel signal handler on X86_64

2016-07-15 Thread wgkun at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71890 Bug ID: 71890 Summary: when using setjmp do context switch, libgcc crash the process when do unwind in thread cancel signal handler on X86_64 Product: gcc

[Bug c++/71885] Incorrect code generated with -01, memset() function call is missing

2016-07-15 Thread kern at sibbald dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71885 Kern Sibbald changed: What|Removed |Added CC||kern at sibbald dot com --- Comment #5

[Bug libgcc/71890] when using setjmp do context switch, libgcc crash the process when do unwind in thread cancel signal handler on X86_64

2016-07-15 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71890 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug fortran/71891] New: fortran/symbol.c:4864: suspicious if ?

2016-07-15 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71891 Bug ID: 71891 Summary: fortran/symbol.c:4864: suspicious if ? Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran

[Bug c++/71885] Incorrect code generated with -01, memset() function call is missing

2016-07-15 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71885 --- Comment #6 from Markus Trippelsdorf --- For the record, I was against enabling this optimization by default. (Because the potential gain doesn't justify the possible confusion it may cause. And -fsanitize=undefined doesn't catch these issues

[Bug fortran/71891] fortran/symbol.c:4864: suspicious if ?

2016-07-15 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71891 --- Comment #1 from David Binderman --- According to svn blame, kargl is the author of this line of code. Adding them in.

[Bug target/71889] [MIPS] python: "insn does not satisfy its constraints"

2016-07-15 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71889 Richard Biener changed: What|Removed |Added Summary|[5.4 Regression] [MIPS] |[MIPS] python: "insn does