[Bug c++/71885] Incorrect code generated with -01, function calls are missing

2016-07-14 Thread eric at baculasystems dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71885 --- Comment #1 from Eric Bollengier --- Created attachment 38906 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38906&action=edit ii file generated with -O0

[Bug c++/71885] Incorrect code generated with -01, function calls are missing

2016-07-14 Thread eric at baculasystems dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71885 --- Comment #2 from Eric Bollengier --- Created attachment 38907 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38907&action=edit c++ file that reproduces the issue

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

2016-07-14 Thread vehre at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70842 --- Comment #10 from vehre at gcc dot gnu.org --- Author: vehre Date: Thu Jul 14 17:07:47 2016 New Revision: 238347 URL: https://gcc.gnu.org/viewcvs?rev=238347&root=gcc&view=rev Log: gcc/testsuite/ChangeLog: 2016-07-14 Andre Vehreschild

[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-14 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71511 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED CC|

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

2016-07-14 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71495 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug fortran/71839] undefined reference to `_gfortran_caf_stop_str'

2016-07-14 Thread mexas at bristol dot ac.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71839 --- Comment #7 from Anton Shterenlikht --- submitted as OCA ticket 207: https://github.com/sourceryinstitute/opencoarrays/issues/207 hope to close this ticket when there is some clarity from OCA people

[Bug c++/71164] [6/7 Regression] tree check fail at cp/pt.c:12961

2016-07-14 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71164 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED CC|

[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-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71881 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org Target Milest

[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-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71881 --- Comment #3 from Jakub Jelinek --- This is during ldist, destroy_loop removes a loop which contains a PHI that is used by a debug stmt used after the loop, and during rewrite_into_loop_closed_ssa this is detected and ICEs.

[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-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71872 --- Comment #8 from Jakub Jelinek --- Author: jakub Date: Thu Jul 14 18:30:38 2016 New Revision: 238351 URL: https://gcc.gnu.org/viewcvs?rev=238351&root=gcc&view=rev Log: PR tree-optimization/71872 * tree-data-ref.c (get_referenc

[Bug c/71858] Surprising suggestions for misspellings

2016-07-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71858 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Thu Jul 14 18:34:00 2016 New Revision: 238352 URL: https://gcc.gnu.org/viewcvs?rev=238352&root=gcc&view=rev Log: PR c/71858 * c-decl.c (lookup_name_fuzzy): Ignore binding-

[Bug testsuite/71865] [7 regression] test case gcc.dg/diagnostic-token-ranges.c fails starting with r237714

2016-07-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71865 --- Comment #3 from Jakub Jelinek --- Author: jakub Date: Thu Jul 14 18:42:53 2016 New Revision: 238353 URL: https://gcc.gnu.org/viewcvs?rev=238353&root=gcc&view=rev Log: PR testsuite/71865 * gcc.dg/diagnostic-token-ranges.c: Add

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

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

[Bug c++/71712] Redundant ABI tags for conversion operator

2016-07-14 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71712 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

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

2016-07-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50060 --- Comment #7 from Jakub Jelinek --- Shouldn't this be solvable in C++14 and later? We still reject it: error: ‘((y = 1), 6.2e-1)’ is not a constant expression but I suppose with some hacking of cp/constexpr.c this could be handled. constexpr d

[Bug c++/56856] the location of Wformat warnings points *after* the format string

2016-07-14 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56856 --- Comment #8 from Manuel López-Ibáñez --- (In reply to Martin Sebor from comment #7) > Thanks for the background and the pointer. Is this report then a duplicate > of bug 43486? It may be possible to fix this one imperfectly without fixing PR

[Bug fortran/29819] Error/warning message should ignore comments for "1" in %C output

2016-07-14 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29819 --- Comment #4 from kargl at gcc dot gnu.org --- Author: kargl Date: Thu Jul 14 20:54:40 2016 New Revision: 238354 URL: https://gcc.gnu.org/viewcvs?rev=238354&root=gcc&view=rev Log: 2016-07-14 Steven G. Kargl PR fortran/29819

[Bug fortran/29819] Error/warning message should ignore comments for "1" in %C output

2016-07-14 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29819 kargl at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--

[Bug testsuite/71865] [7 regression] test case gcc.dg/diagnostic-token-ranges.c fails starting with r237714

2016-07-14 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71865 --- Comment #4 from Bill Seurer --- Thanks, that fixed things up.

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

2016-07-14 Thread tomaszkam at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71886 Bug ID: 71886 Summary: Incorrect error on operator() being an member in template Product: gcc Version: 5.1.0 Status: UNCONFIRMED Severity: normal Prio

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

2016-07-14 Thread tomaszkam at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71886 --- Comment #1 from Tomasz Kamiński --- Such code is useful, for example in case of variant universal constructor from U&&, where there is a need to determine best candidate among the function taking parameter each type be value. This may be imp

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

2016-07-14 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71886 Ville Voutilainen changed: What|Removed |Added CC||ville.voutilainen at gmail dot com

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

2016-07-14 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71117 Jason Merrill changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c++/67650] undef reference with -fdevirtualize

2016-07-14 Thread vincent.lextrait at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67650 --- Comment #14 from Vincent --- The bug is still in 6.1.0.

[Bug c++/71463] [6/7 regression] unexpected warning: ignoring function return attributes on template argument

2016-07-14 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71463 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #5

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

2016-07-14 Thread su at cs dot ucdavis.edu
-languages=c,c++,lto --prefix=/usr/local/gcc-trunk --disable-bootstrap Thread model: posix gcc version 7.0.0 20160714 (experimental) [trunk revision 238331] (GCC) $ $ gcc-trunk -O0 small.c; ./a.out $ gcc-6.1 -O1 small.c; ./a.out $ $ gcc-trunk -O1 small.c $ ./a.out Floating point exception (core dumped

[Bug tree-optimization/71867] Optimizer generates code dereferencing a null pointer

2016-07-14 Thread asmwarrior at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71867 asmwarrior changed: What|Removed |Added CC||asmwarrior at gmail dot com --- Comment #3

[Bug tree-optimization/71867] Optimizer generates code dereferencing a null pointer

2016-07-14 Thread asmwarrior at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71867 --- Comment #4 from asmwarrior --- It looks like the code is called from an inline function, you can see this code snippet in the prepossessed file. inline wxObject *wxCheckDynamicCast(wxObject *obj, wxClassInfo *classInfo) { return obj &&

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

2016-07-14 Thread patrick at motec dot com.au
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71888 Bug ID: 71888 Summary: internal compiler error: in force_type_die, at dwarf2out.c:23236 Product: gcc Version: 6.1.0 Status: UNCONFIRMED Severity: normal

[Bug c/71889] [5.4 Regression] [MIPS] python: "insn does not satisfy its constraints"

2016-07-14 Thread kabel at blackhole dot sk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71889 Marek Behun changed: What|Removed |Added CC||kabel at blackhole dot sk --- Comment #1 f

[Bug c/71889] New: [5.4 Regression] [MIPS] python: "insn does not satisfy its constraints"

2016-07-14 Thread kabel at blackhole dot sk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71889 Bug ID: 71889 Summary: [5.4 Regression] [MIPS] python: "insn does not satisfy its constraints" Product: gcc Version: 5.4.0 Status: UNCONFIRMED Severity: normal

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

2016-07-14 Thread eric at baculasystems dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71885 --- Comment #4 from Eric Bollengier --- I don't know exactly when someone decided that a doing memset(buf, 0, sizeof(buf)); leads to an "undefined behavior", but it's how C and C++ work since quite long time. And it's also why the operator new()

<    1   2