[Bug middle-end/79012] New: basic block reordering causes suboptimal code

2017-01-05 Thread saaadhu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79012 Bug ID: 79012 Summary: basic block reordering causes suboptimal code Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug target/79004] ICE in gcc.dg/torture/fp-int-convert-float128-ieee.c with -mcpu=power9

2017-01-05 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79004 Michael Meissner changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug target/79004] ICE in gcc.dg/torture/fp-int-convert-float128-ieee.c with -mcpu=power9

2017-01-05 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79004 --- Comment #4 from Michael Meissner --- This was caused by subversion id 237806 that added small integer support in vector registers (32-bit on power8, 8/16-bit on power9). Unfortunately, the IEEE 128-bit hardware support was not adjusted for

[Bug c/79011] New: incorrect form of warning options listed in the manual

2017-01-05 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79011 Bug ID: 79011 Summary: incorrect form of warning options listed in the manual Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug middle-end/71905] bogus -Wlarger-than=N and -Wframe-larger-than= -Wstack-usage= warnings on small objects with large N

2017-01-05 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71905 --- Comment #2 from Martin Sebor --- To get around the INT_MAX limit the -Walloc-size-larger-than accepts numbers with suffixes like KB and MB. Other options that accept sizes should probably accept the same suffixes for consistency.

[Bug c/79010] New: -Wlarger-than ineffective for VLAs, alloca, malloc

2017-01-05 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79010 Bug ID: 79010 Summary: -Wlarger-than ineffective for VLAs, alloca, malloc Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/79009] New: Missing 'inconsistent deduction for ‘auto’' error when having a dependent initializer and a nondependent one in the same declaration

2017-01-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79009 Bug ID: 79009 Summary: Missing 'inconsistent deduction for ‘auto’' error when having a dependent initializer and a nondependent one in the same declaration Product: gcc

[Bug c++/78931] [7 Regression] ICE on C++17 structured bindings from struct with reference member

2017-01-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78931 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/71016] [6 Regression] Redundant sign extension with conditional __builtin_clzl

2017-01-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71016 Jakub Jelinek changed: What|Removed |Added Summary|[6/7 Regression] Redundant |[6 Regression] Redundant

[Bug c++/78890] [5/6 Regression] ICE on invalid reference type in union

2017-01-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78890 Jakub Jelinek changed: What|Removed |Added Summary|[5/6/7 Regression] ICE on |[5/6 Regression] ICE on

[Bug tree-optimization/78910] Wrong print-return-value for a negative number

2017-01-05 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78910 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/78910] Wrong print-return-value for a negative number

2017-01-05 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78910 --- Comment #3 from Martin Sebor --- Author: msebor Date: Thu Jan 5 22:32:09 2017 New Revision: 244116 URL: https://gcc.gnu.org/viewcvs?rev=244116=gcc=rev Log: PR tree-optimization/78910 - Wrong print-return-value for a negative number

[Bug middle-end/78973] [7.0 regression] warning: ‘memcpy’: specified size between 18446744071562067968 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]

2017-01-05 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78973 Martin Sebor changed: What|Removed |Added Keywords||patch Component|c

[Bug tree-optimization/79007] [7 regression] gcc.dg/tree-ssa/dse-points-to.c fails starting with r244067

2017-01-05 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79007 --- Comment #2 from Bill Seurer --- I just tried it on an x86 system and it also fails there.

[Bug tree-optimization/71016] [6/7 Regression] Redundant sign extension with conditional __builtin_clzl

2017-01-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71016 --- Comment #10 from Jakub Jelinek --- Author: jakub Date: Thu Jan 5 21:14:19 2017 New Revision: 244114 URL: https://gcc.gnu.org/viewcvs?rev=244114=gcc=rev Log: PR tree-optimization/71016 * tree-ssa-phiopt.c

[Bug c++/78931] [7 Regression] ICE on C++17 structured bindings from struct with reference member

2017-01-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78931 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Thu Jan 5 21:13:09 2017 New Revision: 244113 URL: https://gcc.gnu.org/viewcvs?rev=244113=gcc=rev Log: PR c++/78931 * decl.c (cp_finish_decomp): Remove probe variable, if

[Bug c++/78890] [5/6/7 Regression] ICE on invalid reference type in union

2017-01-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78890 --- Comment #8 from Jakub Jelinek --- Author: jakub Date: Thu Jan 5 21:12:02 2017 New Revision: 244112 URL: https://gcc.gnu.org/viewcvs?rev=244112=gcc=rev Log: PR c++/78890 * class.c (check_field_decls): Diagnose REFERENCE_TYPE

[Bug target/79004] ICE in gcc.dg/torture/fp-int-convert-float128-ieee.c with -mcpu=power9

2017-01-05 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79004 --- Comment #3 from Peter Bergner --- Minimal test case: bergner@genoa:~/gcc/BUGS/PR79004$ cat pr79004.i int main (void) { char ivin; _Float64x fv2 = ivin; } bergner@genoa:~/gcc/BUGS/PR79004$

[Bug c++/79008] New: missing detail in -Wbuiltin-declaration-mismatch

2017-01-05 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79008 Bug ID: 79008 Summary: missing detail in -Wbuiltin-declaration-mismatch Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug tree-optimization/79007] [7 regression] gcc.dg/tree-ssa/dse-points-to.c fails starting with r244067

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

[Bug tree-optimization/79007] New: [7 regression] gcc.dg/tree-ssa/dse-points-to.c fails starting with r244067

2017-01-05 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79007 Bug ID: 79007 Summary: [7 regression] gcc.dg/tree-ssa/dse-points-to.c fails starting with r244067 Product: gcc Version: 7.0 Status: UNCONFIRMED Severity:

[Bug tree-optimization/79006] New: [6/7 Regression] Invalid transformation in tree-dominators pass

2017-01-05 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79006 Bug ID: 79006 Summary: [6/7 Regression] Invalid transformation in tree-dominators pass Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal

[Bug c/78973] [7.0 regression] warning: ‘memcpy’: specified size between 18446744071562067968 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]

2017-01-05 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78973 Martin Sebor changed: What|Removed |Added Status|NEW |ASSIGNED Summary|warning:

[Bug rtl-optimization/78812] [5/6 Regression] Wrong code generation due to hoisting memory load across function call

2017-01-05 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78812 Eric Botcazou changed: What|Removed |Added CC||ebotcazou at gcc dot gnu.org ---

[Bug c++/79005] Use of a captured variable within nested generic lambdas provokes internal compiler error.

2017-01-05 Thread mmccutcheon at nuvucameras dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79005 --- Comment #3 from M. McCutcheon --- Sorry, forgot to include the actual error message, though it doesn't seem very illuminating : auto-lambda_sub-capture.cpp:

[Bug c++/79005] Use of a captured variable within nested generic lambdas provokes internal compiler error.

2017-01-05 Thread mmccutcheon at nuvucameras dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79005 --- Comment #2 from M. McCutcheon --- Created attachment 40469 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40469=edit Preprocessed source as requested by the error message

[Bug rtl-optimization/78812] [5/6 Regression] Wrong code generation due to hoisting memory load across function call

2017-01-05 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78812 --- Comment #16 from Jeffrey A. Law --- ABNORMAL_CALL and EH imply ABNORMAL, at least for RTL CFG according to their documentation. I haven't gone through the trouble to see where that is enforced, but I did very that the edges had EH and

[Bug c++/79005] Use of a captured variable within nested generic lambdas provokes internal compiler error.

2017-01-05 Thread mmccutcheon at nuvucameras dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79005 --- Comment #1 from M. McCutcheon --- The following code provokes an internal compiler error with : g++ -save-temps -Wall -Wextra -std=c++14 int main() { auto glambda = [] (auto a) { const int c = a; auto cglambda = [&]

[Bug c++/79005] New: Use of a captured variable within nested generic lambdas provokes internal compiler error.

2017-01-05 Thread mmccutcheon at nuvucameras dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79005 Bug ID: 79005 Summary: Use of a captured variable within nested generic lambdas provokes internal compiler error. Product: gcc Version: 4.9.4 Status: UNCONFIRMED

[Bug libstdc++/63829] _Lock_policy used in thread.cc can cause incompatibilities with binaries using different -mcpu

2017-01-05 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63829 Jonathan Wakely changed: What|Removed |Added CC||rearnsha at gcc dot gnu.org ---

[Bug target/79004] ICE in gcc.dg/torture/fp-int-convert-float128-ieee.c with -mcpu=power9

2017-01-05 Thread acsawdey at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79004 --- Comment #2 from acsawdey at gcc dot gnu.org --- Just checked and it also fails with 244106 from 20 minutes ago.

[Bug fortran/78661] [OOP] Namelist output missing object designator under DTIO

2017-01-05 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78661 --- Comment #19 from Jerry DeLisle --- (In reply to janus from comment #18) > Created attachment 40364 [details] > updated patch > > Here is an updated patch, which fixes all wrong-code issues AFAICS. It > includes improved handling of

[Bug target/79004] ICE in gcc.dg/torture/fp-int-convert-float128-ieee.c with -mcpu=power9

2017-01-05 Thread acsawdey at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79004 --- Comment #1 from acsawdey at gcc dot gnu.org --- gcc.dg/torture/fp-int-convert-float64x.c also fails in the same way.

[Bug target/79004] New: ICE in gcc.dg/torture/fp-int-convert-float128-ieee.c with -mcpu=power9

2017-01-05 Thread acsawdey at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79004 Bug ID: 79004 Summary: ICE in gcc.dg/torture/fp-int-convert-float128-ieee.c with -mcpu=power9 Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/78977] [7 Regression] g++7 snprintf() of double produces wrong code with -O3

2017-01-05 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78977 --- Comment #13 from Hannes Hauswedell --- (In reply to Jakub Jelinek from comment #12) > So that looks like r244037 has fixed this bug. Please reopen if that is not > the case. Given Martin's description that >

[Bug middle-end/78977] [7 Regression] g++7 snprintf() of double produces wrong code with -O3

2017-01-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78977 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug rtl-optimization/79003] [7 Regression] r238991 breaks ODR

2017-01-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79003 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #3

[Bug rtl-optimization/79003] [7 Regression] r238991 breaks ODR

2017-01-05 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79003 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org

[Bug c/16351] NULL dereference warnings

2017-01-05 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=16351 --- Comment #48 from Martin Sebor --- Send a check to Manuel ;) The feature is available under the -Wnull-dereference option (see comment 31). Unfortunately, due to false positives, the option was removed from -Wall in a subsequent commit

[Bug c++/79002] Weird c++ assembly code generated for tail call

2017-01-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79002 --- Comment #4 from Jakub Jelinek --- So do you suggest to run ehcleanup earlier, or another pass of it, or move tailr?

[Bug fortran/78990] [5/6/7 Regression] ICE when assigning polymorphic array function result

2017-01-05 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78990 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment #2

[Bug tree-optimization/78938] [7 Regression] ICE in expand_vec_cond_expr, at optabs.c:5636 w/ -mavx512bw -ftree-loop-vectorize -O1

2017-01-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78938 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug libgcc/77265] Casting an extended precision long double "inf" to __float128 results in "nan"

2017-01-05 Thread fxcoudert at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77265 Francois-Xavier Coudert changed: What|Removed |Added CC||fxcoudert at gcc dot gnu.org

[Bug fortran/78983] [7 Regression] ICE with CAF-DT with allocatable member

2017-01-05 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78983 Dominique d'Humieres changed: What|Removed |Added Keywords||ice-on-valid-code

[Bug fortran/78990] [5/6/7 Regression] ICE when assigning polymorphic array function result

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

[Bug fortran/78958] FAIL: gfortran.dg/alloc_comp_class_5.f03 - Segmentation fault

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

[Bug pch/78970] GCC crashes if input file is dash

2017-01-05 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78970 --- Comment #6 from Martin Liška --- Fixed on trunk so far.

[Bug pch/78970] GCC crashes if input file is dash

2017-01-05 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78970 --- Comment #5 from Martin Liška --- Author: marxin Date: Thu Jan 5 14:17:07 2017 New Revision: 244103 URL: https://gcc.gnu.org/viewcvs?rev=244103=gcc=rev Log: Error for '-' as filename of a precompiled header (PR pch/78970) 2017-01-05

[Bug middle-end/77484] [6/7 Regression] Static branch predictor causes ~6-8% regression of SPEC2000 GAP

2017-01-05 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77484 --- Comment #19 from wilco at gcc dot gnu.org --- > The commit in comment 14 has instroduced size and runtime regressions in the > Spec2006 testsuite on s390x: I get reproducible regressions on AArch64 as well with the latest patch (changes

[Bug tree-optimization/29333] Jump threading getting in the way of PHI-OPT

2017-01-05 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29333 rsandifo at gcc dot gnu.org changed: What|Removed |Added CC||rsandifo at gcc dot

[Bug c/78973] warning: ‘memcpy’: specified size between 18446744071562067968 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]

2017-01-05 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78973 --- Comment #3 from Markus Trippelsdorf --- Created attachment 40466 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40466=edit unreduced testcase

[Bug rtl-optimization/79003] [7 Regression] r238991 breaks ODR

2017-01-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79003 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug rtl-optimization/79003] New: [7 Regression] r238991 breaks ODR

2017-01-05 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79003 Bug ID: 79003 Summary: [7 Regression] r238991 breaks ODR Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization

[Bug c++/79002] Weird c++ assembly code generated for tail call

2017-01-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79002 Richard Biener changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment

[Bug c++/79002] Weird c++ assembly code generated for tail call

2017-01-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79002 --- Comment #2 from Richard Biener --- Looks like (i) makes i TREE_ADDRESSABLE somehow.

[Bug c++/79002] Weird c++ assembly code generated for tail call

2017-01-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79002 Richard Biener changed: What|Removed |Added Target|s390x |s390x x86_64-*-*

[Bug c++/78765] [7 Regression] ICE on invalid C++ code on x86_64-linux-gnu (internal compiler error: in cp_build_addr_expr_1, at cp/typeck.c:5708)

2017-01-05 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78765 Nathan Sidwell changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/78765] [7 Regression] ICE on invalid C++ code on x86_64-linux-gnu (internal compiler error: in cp_build_addr_expr_1, at cp/typeck.c:5708)

2017-01-05 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78765 --- Comment #3 from Nathan Sidwell --- Author: nathan Date: Thu Jan 5 12:30:26 2017 New Revision: 244101 URL: https://gcc.gnu.org/viewcvs?rev=244101=gcc=rev Log: cp/ PR c++/78765 * pt.c (convert_nontype_argument): Don't

[Bug c/16351] NULL dereference warnings

2017-01-05 Thread jg at jguk dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=16351 --- Comment #47 from Jon Grant --- I'm happy to pay a 400 USD bug bounty to contributors who introduce this feature in GCC. Let's get this feature in! :)

[Bug c++/79002] New: Weird c++ assembly code generated for tail call

2017-01-05 Thread vogt at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79002 Bug ID: 79002 Summary: Weird c++ assembly code generated for tail call Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/78948] [C++17] constexpr if instantiating too eagerly

2017-01-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78948 --- Comment #3 from Jakub Jelinek --- Related questions: Are uses of deleted functions ok in discarded stmts? Should we warn about uses of deprecated functions/vars in discarded stmts? Shall we ever set DECL_ODR_USED on odr-used decls in

[Bug middle-end/78995] A strange copy error caused by O3 optimization

2017-01-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78995 --- Comment #5 from Richard Biener --- (In reply to feiz from comment #4) > (In reply to Richard Biener from comment #2) > > static inline void > > rte_memcpy(void *dst, const void *src, size_t n) > > { > > uintptr_t dstu =

[Bug c++/78948] [C++17] constexpr if instantiating too eagerly

2017-01-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78948 --- Comment #2 from Jakub Jelinek --- During parsing, we call mark_used on the function to call, which in turn does instantiate_decl -> add_pending_template. So, shall we avoid calling mark_used from parser->in_discarded_stmt (we'd need to

[Bug libstdc++/78991] std::sort and std::unique can not use std::function with clang++ -std=c++14

2017-01-05 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78991 Jonathan Wakely changed: What|Removed |Added Status|RESOLVED|ASSIGNED Last reconfirmed|

[Bug tree-optimization/78997] [7 regression] ICE on valid code at -O3 on x86_64-linux-gnu: verify_gimple failed

2017-01-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78997 --- Comment #3 from Richard Biener --- Built by #2 0x011c1759 in vectorizable_condition ( stmt=, gsi=0x7fffd460, vec_stmt=0x7fffd378, reduc_def=, reduc_index=0, slp_node=0x296b8a0) at

[Bug c++/79001] New: spurious "defined but not used" warning with explicit instantiation

2017-01-05 Thread jens.maurer at gmx dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79001 Bug ID: 79001 Summary: spurious "defined but not used" warning with explicit instantiation Product: gcc Version: 6.3.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/78995] A strange copy error caused by O3 optimization

2017-01-05 Thread zhangfei1 at cffex dot com.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78995 --- Comment #4 from feiz --- (In reply to Richard Biener from comment #2) > static inline void > rte_memcpy(void *dst, const void *src, size_t n) > { > uintptr_t dstu = (uintptr_t)dst; > uintptr_t srcu = (uintptr_t)src; > >

[Bug middle-end/78995] A strange copy error caused by O3 optimization

2017-01-05 Thread zhangfei1 at cffex dot com.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78995 --- Comment #3 from feiz --- (In reply to Andrew Pinski from comment #1) > Does adding -fno-strict-aliasing fix the problem you are seeing? > > I am suspecting the code is violating C/C++ aliasing rules. Yeah, that's right. I try the

[Bug debug/79000] ICE: in gen_member_die, at dwarf2out.c:23995

2017-01-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79000 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug testsuite/77734] FAIL: gcc.dg/plugin/must-tail-call-1.c -fplugin=./must_tail_call_plugin.so (test for excess errors)

2017-01-05 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77734 Rainer Orth changed: What|Removed |Added CC||dmalcolm at gcc dot gnu.org --- Comment

[Bug libstdc++/78979] 27_io/headers/cstdio/functions_neg.cc FAILs on Solaris

2017-01-05 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78979 Rainer Orth changed: What|Removed |Added Status|NEW |ASSIGNED URL|

[Bug middle-end/78995] A strange copy error caused by O3 optimization

2017-01-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78995 Richard Biener changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug tree-optimization/78997] [7 regression] ICE on valid code at -O3 on x86_64-linux-gnu: verify_gimple failed

2017-01-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78997 Richard Biener changed: What|Removed |Added Priority|P3 |P1 Status|NEW

[Bug go/78978] [7 regression] runtime/pprof FAILs on Solaris 2/x86

2017-01-05 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78978 Rainer Orth changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED URL|

[Bug sanitizer/78815] [7 Regression] ICE: segfault with -fopenmp -fsanitize=address

2017-01-05 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78815 Martin Liška changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug sanitizer/78815] [7 Regression] ICE: segfault with -fopenmp -fsanitize=address

2017-01-05 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78815 --- Comment #3 from Martin Liška --- Author: marxin Date: Thu Jan 5 09:16:50 2017 New Revision: 244095 URL: https://gcc.gnu.org/viewcvs?rev=244095=gcc=rev Log: Do not sanitize in an abnormal context (PR sanitizer/78815). 2017-01-05 Martin

[Bug tree-optimization/76957] [7 regression] FAIL: gcc.dg/graphite/scop-dsyr2k.c scan-tree-dump-times graphite "number of SCoPs

2017-01-05 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=76957 Jeffrey A. Law changed: What|Removed |Added Priority|P3 |P4 CC|

[Bug rtl-optimization/78342] ICE in rtl_verify_bb_insns, at cfgrtl.c:2657 (error: flow control insn inside a basic block)

2017-01-05 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78342 Segher Boessenkool changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug rtl-optimization/78342] ICE in rtl_verify_bb_insns, at cfgrtl.c:2657 (error: flow control insn inside a basic block)

2017-01-05 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78342 Jeffrey A. Law changed: What|Removed |Added CC||law at redhat dot com

[Bug bootstrap/78616] Poison strndup in system.h

2017-01-05 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78616 Jeffrey A. Law changed: What|Removed |Added CC||law at redhat dot com

[Bug rtl-optimization/78652] Add testcase for LRA generates wrong code by inheriting changed register

2017-01-05 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78652 Jeffrey A. Law changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug rtl-optimization/78812] [5/6 Regression] Wrong code generation due to hoisting memory load across function call

2017-01-05 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78812 --- Comment #15 from rguenther at suse dot de --- On Wed, 4 Jan 2017, law at redhat dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78812 > > Jeffrey A. Law changed: > >What|Removed |Added >

[Bug bootstrap/78880] [7 Regression] Revision 243196 breaks bootstrap on x86_64-w64-mingw32

2017-01-05 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78880 Jeffrey A. Law changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|