[Bug tree-optimization/66233] [4.8/4.9 Regression] internal compiler error: in expand_fix, at optabs.c:5358

2015-06-18 Thread doko at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66233 --- Comment #11 from Matthias Klose doko at gcc dot gnu.org --- the proposed patch fixes the test case from PR66554 on aarch64-linux-gnu.

[Bug middle-end/65686] [5/6 regression] inconsistent warning maybe-uninitialized: warn about 'unsigned', not warn about 'int'

2015-06-18 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65686 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Depends on||13962 ---

[Bug middle-end/66587] New: -no_compact_unwind is dropped for -nodefaultlibs/-nostdlib

2015-06-18 Thread ossman at cendio dot se
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66587 Bug ID: 66587 Summary: -no_compact_unwind is dropped for -nodefaultlibs/-nostdlib Product: gcc Version: 5.1.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/66588] New: combine should try transforming if_then_else of zero_extends into zero_extend of if_then_else

2015-06-18 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66588 Bug ID: 66588 Summary: combine should try transforming if_then_else of zero_extends into zero_extend of if_then_else Product: gcc Version: 6.0 Status: UNCONFIRMED

[Bug c++/66586] Template backtrace is truncated/absent after 'template argument deduction/substitution failed:'

2015-06-18 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66586 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Keywords||diagnostic

[Bug middle-end/66253] [6 Regression] 459.GemsFDTD in SPEC CPU 2006 is miscompiled

2015-06-18 Thread matz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66253 --- Comment #8 from Michael Matz matz at gcc dot gnu.org --- Author: matz Date: Thu Jun 18 13:31:17 2015 New Revision: 224605 URL: https://gcc.gnu.org/viewcvs?rev=224605root=gccview=rev Log: PR middle-end/66253 *

[Bug middle-end/65686] [5/6 regression] inconsistent warning maybe-uninitialized: warn about 'unsigned', not warn about 'int'

2015-06-18 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65686 --- Comment #6 from Dmitry G. Dyachenko dimhen at gmail dot com --- (In reply to Richard Biener from comment #5) Where does this obfuscated 'return *(e-pu)' come from? If I remove aggregate then there are no warning. i.e. this code produce

[Bug c++/66586] New: Template backtrace is truncated/absent after 'template argument deduction/substitution failed:'

2015-06-18 Thread lucdanton at free dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66586 Bug ID: 66586 Summary: Template backtrace is truncated/absent after 'template argument deduction/substitution failed:' Product: gcc Version: 5.1.0 Status: UNCONFIRMED

[Bug middle-end/56917] -ftrapv detects a overflow wrongly.

2015-06-18 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56917 --- Comment #8 from Richard Biener rguenth at gcc dot gnu.org --- This also fixed a rejects-valid int lValue; int main() { switch (lValue) { case -(int)((2U (8 * sizeof(int) - 2)) - 1) - 1:; } } g++-4.8 cMinLongValue.ii

[Bug tree-optimization/66512] PRE fails to optimize calls to pure functions in C++, ok in C

2015-06-18 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66512 --- Comment #3 from Richard Biener rguenth at gcc dot gnu.org --- (In reply to Alexander Monakov from comment #2) In that case I'd like to contribute a documentation patch to make that clear in the pure/const attribute information, but I need

[Bug tree-optimization/66233] [4.8/4.9 Regression] internal compiler error: in expand_fix, at optabs.c:5358

2015-06-18 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66233 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug middle-end/66588] combine should try transforming if_then_else of zero_extends into zero_extend of if_then_else

2015-06-18 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66588 --- Comment #1 from Uroš Bizjak ubizjak at gmail dot com --- BTW: x86_64 is missing any form of zero-extended cmove.

[Bug middle-end/56917] -ftrapv detects a overflow wrongly.

2015-06-18 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56917 --- Comment #9 from Richard Biener rguenth at gcc dot gnu.org --- Author: rguenth Date: Thu Jun 18 14:47:18 2015 New Revision: 224617 URL: https://gcc.gnu.org/viewcvs?rev=224617root=gccview=rev Log: 2015-06-18 Richard Biener rguent...@suse.de

[Bug c++/65966] [5/6 Regression] [C++14] sorry, unimplemented: unexpected AST of kind try_block when initializing a 2D array

2015-06-18 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65966 Jason Merrill jason at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug c++/58616] [meta-bug] nsdmi

2015-06-18 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58616 Bug 58616 depends on bug 66001, which changed state. Bug 66001 Summary: [5/6 regression] ICE when NSDMI in a literal class uses a destructor https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66001 What|Removed

[Bug c++/58616] [meta-bug] nsdmi

2015-06-18 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58616 Bug 58616 depends on bug 65966, which changed state. Bug 65966 Summary: [5/6 Regression] [C++14] sorry, unimplemented: unexpected AST of kind try_block when initializing a 2D array https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65966

[Bug c++/66001] [5/6 regression] ICE when NSDMI in a literal class uses a destructor

2015-06-18 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66001 Jason Merrill jason at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug c++/66001] [5/6 regression] ICE when NSDMI in a literal class uses a destructor

2015-06-18 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66001 Jason Merrill jason at gcc dot gnu.org changed: What|Removed |Added CC||lhyatt at gmail

[Bug tree-optimization/66233] [4.8/4.9 Regression] internal compiler error: in expand_fix, at optabs.c:5358

2015-06-18 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66233 --- Comment #13 from Jakub Jelinek jakub at gcc dot gnu.org --- Author: jakub Date: Thu Jun 18 14:06:04 2015 New Revision: 224611 URL: https://gcc.gnu.org/viewcvs?rev=224611root=gccview=rev Log: PR tree-optimization/66233 *

[Bug c++/66584] gcc differs in static, branch-prediction cost from icc in switch.

2015-06-18 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66584 Eric Botcazou ebotcazou at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |WAITING

[Bug middle-end/66587] -no_compact_unwind is dropped for -nodefaultlibs/-nostdlib

2015-06-18 Thread ossman at cendio dot se
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66587 --- Comment #2 from Pierre Ossman ossman at cendio dot se --- Note that darwin12.h also exists on trunk that needs to be modified as well.

[Bug middle-end/66587] -no_compact_unwind is dropped for -nodefaultlibs/-nostdlib

2015-06-18 Thread ossman at cendio dot se
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66587 --- Comment #1 from Pierre Ossman ossman at cendio dot se --- Created attachment 35802 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=35802action=edit possible patch

[Bug c++/66584] gcc differs in static, branch-prediction cost from icc in switch.

2015-06-18 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66584 Andrew Pinski pinskia at gcc dot gnu.org changed: What|Removed |Added Status|WAITING |RESOLVED

[Bug c++/66001] [5/6 regression] ICE when NSDMI in a literal class uses a destructor

2015-06-18 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66001 --- Comment #4 from Jason Merrill jason at gcc dot gnu.org --- Author: jason Date: Thu Jun 18 14:55:23 2015 New Revision: 224620 URL: https://gcc.gnu.org/viewcvs?rev=224620root=gccview=rev Log: PR c++/66001 * constexpr.c

[Bug c++/66001] [5/6 regression] ICE when NSDMI in a literal class uses a destructor

2015-06-18 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66001 --- Comment #5 from Jason Merrill jason at gcc dot gnu.org --- Author: jason Date: Thu Jun 18 14:55:45 2015 New Revision: 224621 URL: https://gcc.gnu.org/viewcvs?rev=224621root=gccview=rev Log: PR c++/66001 * constexpr.c

[Bug c++/66584] gcc differs in static, branch-prediction cost from icc in switch.

2015-06-18 Thread jmcguiness at liquidcapital dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66584 Jason McG jmcguiness at liquidcapital dot com changed: What|Removed |Added Status|RESOLVED|REOPENED

[Bug middle-end/66565] Problems and limitation GCC cost metrics and ways to improve the situation

2015-06-18 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66565 Eric Botcazou ebotcazou at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[Bug fortran/66578] [F2008] Invalid free on allocate(...,source=a(:)) in block

2015-06-18 Thread vehre at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66578 --- Comment #4 from vehre at gcc dot gnu.org --- Further analysis showed that while the offset of source's temporary descriptor parm.3 is not as expected: // allocate(c, source=a(:)) // lb, ub,, offset, data parm.3 = {1, ub(a)+1,

[Bug tree-optimization/66233] [4.8/4.9 Regression] internal compiler error: in expand_fix, at optabs.c:5358

2015-06-18 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66233 --- Comment #12 from Jakub Jelinek jakub at gcc dot gnu.org --- Author: jakub Date: Thu Jun 18 14:03:50 2015 New Revision: 224609 URL: https://gcc.gnu.org/viewcvs?rev=224609root=gccview=rev Log: PR tree-optimization/66233 *

[Bug middle-end/66375] [4.8/4.9/5 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu

2015-06-18 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66375 --- Comment #13 from Richard Biener rguenth at gcc dot gnu.org --- Author: rguenth Date: Thu Jun 18 14:04:05 2015 New Revision: 224610 URL: https://gcc.gnu.org/viewcvs?rev=224610root=gccview=rev Log: 2015-06-18 Richard Biener rguent...@suse.de

[Bug c++/66584] gcc differs in static, branch-prediction cost from icc in switch.

2015-06-18 Thread jmcguiness at liquidcapital dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66584 --- Comment #4 from Jason McG jmcguiness at liquidcapital dot com --- (In reply to Eric Botcazou from comment #2) What would you like us to document exactly? How are we supposed to track ... Perhaps I was unclear. I am asking that you point

[Bug c++/66584] gcc differs in static, branch-prediction cost from icc in switch.

2015-06-18 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66584 --- Comment #6 from Andrew Pinski pinskia at gcc dot gnu.org --- If someone cares so much about the static branch predictor, they would be a compiler developer. This is the first time I have seen a non-compiler developer care about documenting

[Bug c++/66583] incorrect implicitly-defined move constructor for class with anonymous union and NSDMI

2015-06-18 Thread daniel.kruegler at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66583 Daniel Krügler daniel.kruegler at googlemail dot com changed: What|Removed |Added CC|

[Bug target/65914] [6 Regression] error: unrecognizable insn

2015-06-18 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65914 --- Comment #4 from Bill Schmidt wschmidt at gcc dot gnu.org --- With the smaller test, at least, this did not reproduce for me with r223868. Patching up to latest and will try again.

[Bug target/65914] [6 Regression] error: unrecognizable insn

2015-06-18 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65914 --- Comment #6 from Bill Schmidt wschmidt at gcc dot gnu.org --- The tree-optimized dump shows: void foo() () { vector(2) long unsigned int vect_cst_.60; vector(2) long unsigned int vect_cst_.59; vector(2) long unsigned int vect_cst_.58;

[Bug c++/66585] [5/6 Regression] Internal compiler error when initialize field with lambda

2015-06-18 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66585 Jason Merrill jason at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug c++/61856] Ternary operator in an NSDMI causes double evaluation

2015-06-18 Thread miyuki at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61856 Mikhail Maltsev miyuki at gcc dot gnu.org changed: What|Removed |Added CC||miyuki at gcc

[Bug fortran/66578] [F2008] Invalid free on allocate(...,source=a(:)) in block

2015-06-18 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66578 --- Comment #5 from Thomas Koenig tkoenig at gcc dot gnu.org --- What I currently do not understand is why allocate(c,source=a(:)) fails and c = a(:) works. And yes, the scalarizer is pretty incomprehensible.

[Bug c++/66584] gcc differs in static, branch-prediction cost from icc in switch.

2015-06-18 Thread jmcguiness at liquidcapital dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66584 --- Comment #8 from Jason McG jmcguiness at liquidcapital dot com --- (In reply to Andrew Pinski from comment #6) ... compiler developer. This is the first time I have seen a non-compiler developer care about documenting gcc heuristics. Note

[Bug c++/66061] [5/6 Regression] Internal Compiler Error when specializing a variable template when the specialization is variadic

2015-06-18 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66061 Jason Merrill jason at gcc dot gnu.org changed: What|Removed |Added Status|WAITING |RESOLVED

[Bug target/65914] [6 Regression] error: unrecognizable insn

2015-06-18 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65914 --- Comment #5 from Bill Schmidt wschmidt at gcc dot gnu.org --- Confirmed with r224625, however.

[Bug c++/66584] gcc differs in static, branch-prediction cost from icc in switch.

2015-06-18 Thread jmcguiness at liquidcapital dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66584 --- Comment #7 from Jason McG jmcguiness at liquidcapital dot com --- (In reply to Andrew Pinski from comment #6) If someone cares so much about the static branch predictor, they would be a ... I am not a compiler developer and I do care about

[Bug c++/66515] [5/6 Regression] g++ segfaults when creating an std::initializer_list

2015-06-18 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66515 Jason Merrill jason at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug c++/66590] switch statement: incorrect warning reaches end of non-void function

2015-06-18 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66590 --- Comment #1 from Andrew Pinski pinskia at gcc dot gnu.org --- Related to bug 20681. Most likely block_may_fallthru is returning true for the {} block.

[Bug tree-optimization/66592] [Regression] ICE in vect_get_def_for_operand

2015-06-18 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66592 --- Comment #2 from kargl at gcc dot gnu.org --- Created attachment 35805 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=35805action=edit Fortran code that exhibits the problem

[Bug tree-optimization/66592] [Regression] ICE in vect_get_def_for_operand

2015-06-18 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66592 --- Comment #1 from kargl at gcc dot gnu.org --- This bug appears to be regression and it requires the -O2 and -ftree-vectorize options. gfortran -c -O2 -ftree-vectorize z.f z.f:1:0: subroutine calsvp(nkr,nkz) ^ internal compiler error:

[Bug driver/66593] New: driver-i386.c: -mtune=native unavailable with non-bootstrapped build of libgccjit with gcc 5

2015-06-18 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66593 Bug ID: 66593 Summary: driver-i386.c: -mtune=native unavailable with non-bootstrapped build of libgccjit with gcc 5 Product: gcc Version: 6.0 Status: UNCONFIRMED

[Bug target/66593] driver-i386.c: -mtune=native unavailable with non-bootstrapped build of libgccjit with gcc 5

2015-06-18 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66593 --- Comment #1 from David Malcolm dmalcolm at gcc dot gnu.org --- (In reply to David Malcolm from comment #0) [...] That said, the above code runs inside the driver, and libgccjit doesn't yet run that part of the driver, so some extra work will

[Bug c++/66595] New: [C++14] ICE in partial specialization template variables

2015-06-18 Thread vgheorgh at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66595 Bug ID: 66595 Summary: [C++14] ICE in partial specialization template variables Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/66592] New: [Regression] ICE in vect_get_def_for_operand

2015-06-18 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66592 Bug ID: 66592 Summary: [Regression] ICE in vect_get_def_for_operand Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug tree-optimization/66592] [Regression] ICE in vect_get_def_for_operand

2015-06-18 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66592 --- Comment #3 from kargl at gcc dot gnu.org --- I forgot to mention in comment 1 that the COMMON statement in the Fortran is also required.

[Bug jit/66594] New: jitted code should use -mtune=native

2015-06-18 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66594 Bug ID: 66594 Summary: jitted code should use -mtune=native Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: jit

[Bug jit/66594] jitted code should use -mtune=native

2015-06-18 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66594 --- Comment #1 from Andrew Pinski pinskia at gcc dot gnu.org --- This should be true on all targets which have -mcpu=native (or -march=native). Note x86 options are not always the same on x86 vs arm vs aarch64 vs ppc.

[Bug fortran/66578] [F2008] Invalid free on allocate(...,source=a(:)) in block

2015-06-18 Thread mikael at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66578 Mikael Morin mikael at gcc dot gnu.org changed: What|Removed |Added CC||mikael at gcc

[Bug target/62308] A bug with aarch64 big-endian

2015-06-18 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62308 --- Comment #13 from Christophe Lyon clyon at gcc dot gnu.org --- (In reply to Christophe Lyon from comment #12) However, I am probably missing something since with an updated 4.9-branch and without this patch, I couldn't make the compiler

[Bug fortran/66578] [F2008] Invalid free on allocate(...,source=a(:)) in block

2015-06-18 Thread vehre at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66578 --- Comment #6 from vehre at gcc dot gnu.org --- c= a(:) works because there is no additional array descriptor inbetween. The (new) allocate gets its own temporary array descriptor for the source= expression, which in turn has incorrect bounds

[Bug c/66589] New: AVX instruction set extension is not enabled by default for bdver2

2015-06-18 Thread joseph.kogut at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66589 Bug ID: 66589 Summary: AVX instruction set extension is not enabled by default for bdver2 Product: gcc Version: 5.1.0 Status: UNCONFIRMED Severity: minor

[Bug c++/66584] gcc differs in static, branch-prediction cost from icc in switch.

2015-06-18 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66584 Eric Botcazou ebotcazou at gcc dot gnu.org changed: What|Removed |Added Status|REOPENED|RESOLVED

[Bug target/66589] AVX instruction set extension is not enabled by default for bdver2

2015-06-18 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66589 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added CC||jakub at gcc dot

[Bug c++/66590] New: switch statement: incorrect warning reaches end of non-void function

2015-06-18 Thread brutus at free dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66590 Bug ID: 66590 Summary: switch statement: incorrect warning reaches end of non-void function Product: gcc Version: 4.9.2 Status: UNCONFIRMED Severity: normal

[Bug fortran/66578] [F2008] Invalid free on allocate(...,source=a(:)) in block

2015-06-18 Thread mikael at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66578 --- Comment #8 from Mikael Morin mikael at gcc dot gnu.org --- diff --git a/gcc/fortran/trans-array.c b/gcc/fortran/trans-array.c index fece3ab..0b96de1 100644 --- a/gcc/fortran/trans-array.c +++ b/gcc/fortran/trans-array.c @@ -7079,7 +7077,7 @@

[Bug rtl-optimization/66573] Unexpected change in static, branch-prediction cost from O1 to O2 in if-then-else.

2015-06-18 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66573 Martin Sebor msebor at gcc dot gnu.org changed: What|Removed |Added Keywords|

[Bug middle-end/66588] combine should try transforming if_then_else of zero_extends into zero_extend of if_then_else

2015-06-18 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66588 --- Comment #2 from Uroš Bizjak ubizjak at gmail dot com --- (In reply to Uroš Bizjak from comment #1) BTW: x86_64 is missing any form of zero-extended cmove. ... please see [1] how x86_64 implements it (*movsicc_noc_zext). [1]

[Bug tree-optimization/66573] Unexpected change in static, branch-prediction cost from O1 to O2 in if-then-else.

2015-06-18 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66573 Andrew Pinski pinskia at gcc dot gnu.org changed: What|Removed |Added Component|rtl-optimization

[Bug libstdc++/66464] codecvt_utf16 max_length returning incorrect value

2015-06-18 Thread lcarreon at bigpond dot net.au
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66464 --- Comment #6 from Leo Carreon lcarreon at bigpond dot net.au --- Has this fix been included in the recent gcc-5.1.1-3 update on Fedora 22?

[Bug target/65871] bzhi builtin/intrinsic wrongly assumes bzhi instruction doesn't set the ZF flag

2015-06-18 Thread jamrial at gmail dot com
-libiberty --with-linker-hash-style=gnu --enable-gnu-indirect-function --disable-multilib --disable-werror Thread model: posix gcc version 6.0.0 20150618 (experimental) (GCC) Not sure why the new model is not working here.

[Bug tree-optimization/64130] vrp: handle non zero constant divided by range cannot be zero.

2015-06-18 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64130 kugan at gcc dot gnu.org changed: What|Removed |Added CC||kugan at gcc dot gnu.org ---

[Bug target/66591] New: [SH] ICE: in get_reload_reg, at lra-constraints.c:633 with -mlra

2015-06-18 Thread kkojima at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66591 Bug ID: 66591 Summary: [SH] ICE: in get_reload_reg, at lra-constraints.c:633 with -mlra Product: gcc Version: 6.0 Status: UNCONFIRMED Keywords:

[Bug tree-optimization/66580] New: max reduction does not auto vectorize

2015-06-18 Thread dejan.crnila at dewesoft dot si
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66580 Bug ID: 66580 Summary: max reduction does not auto vectorize Product: gcc Version: 5.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/66571] Template substitution causes some OpenMP rejects-valid

2015-06-18 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66571 --- Comment #7 from Jakub Jelinek jakub at gcc dot gnu.org --- Author: jakub Date: Thu Jun 18 09:54:17 2015 New Revision: 224599 URL: https://gcc.gnu.org/viewcvs?rev=224599root=gccview=rev Log: PR c++/66571 * pt.c

[Bug middle-end/66567] [CHKP] internal compiler error: in assign_parms

2015-06-18 Thread ienkovich at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66567 --- Comment #1 from Ilya Enkovich ienkovich at gcc dot gnu.org --- Author: ienkovich Date: Thu Jun 18 10:09:22 2015 New Revision: 224600 URL: https://gcc.gnu.org/viewcvs?rev=224600root=gccview=rev Log: gcc/ PR middle-end/66567 *

[Bug tree-optimization/66510] [6 Regression] gcc.target/arm/pr53636.c FAILs after r224221

2015-06-18 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66510 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug target/66554] [4.9 Regression] ICE (in expand_fix, at optabs.c:5365) on aarch64-linux-gnu

2015-06-18 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66554 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |4.9.3

[Bug c++/66583] New: incorrect implicitly-defined move constructor for class with anonymous union and NSDMI

2015-06-18 Thread jens.maurer at gmx dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66583 Bug ID: 66583 Summary: incorrect implicitly-defined move constructor for class with anonymous union and NSDMI Product: gcc Version: 5.1.0 Status: UNCONFIRMED

[Bug middle-end/66568] [CHKP] internal compiler error: in expand_expr_addr_expr_1

2015-06-18 Thread ienkovich at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66568 --- Comment #1 from Ilya Enkovich ienkovich at gcc dot gnu.org --- Author: ienkovich Date: Thu Jun 18 10:14:38 2015 New Revision: 224601 URL: https://gcc.gnu.org/viewcvs?rev=224601root=gccview=rev Log: gcc/ PR middle-end/66568 *

[Bug target/66554] [4.9 Regression] ICE (in expand_fix, at optabs.c:5365) on aarch64-linux-gnu

2015-06-18 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66554 --- Comment #9 from Richard Biener rguenth at gcc dot gnu.org --- (In reply to kugan from comment #6) -fno-tree-forwprop works. forwprop propagates: vect__11.22_96 = (vector(4) float) vect_c.21_94; vect__13.24_98 = (vector(4) signed int)

[Bug c++/66584] New: gcc differs in static, branch-prediction cost from icc in switch.

2015-06-18 Thread jmcguiness at liquidcapital dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66584 Bug ID: 66584 Summary: gcc differs in static, branch-prediction cost from icc in switch. Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug target/66569] [CHKP] internal compiler error: in assign_by_spills

2015-06-18 Thread ienkovich at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66569 --- Comment #1 from Ilya Enkovich ienkovich at gcc dot gnu.org --- Author: ienkovich Date: Thu Jun 18 10:18:48 2015 New Revision: 224602 URL: https://gcc.gnu.org/viewcvs?rev=224602root=gccview=rev Log: gcc/ PR target/66569 *

[Bug c++/66585] New: Internal compiler error when initialize field with lambda

2015-06-18 Thread farmaazon at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66585 Bug ID: 66585 Summary: Internal compiler error when initialize field with lambda Product: gcc Version: 5.1.0 Status: UNCONFIRMED Severity: normal

[Bug target/66554] [4.9 Regression] ICE (in expand_fix, at optabs.c:5365) on aarch64-linux-gnu

2015-06-18 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66554 --- Comment #10 from Richard Biener rguenth at gcc dot gnu.org --- Indeed: ./cc1plus -quiet t.ii -O3 -I include t.ii: In function ‘void fn1()’: t.ii:3:6: error: invalid types in conversion to integer void fn1() { ^ vector(4) signed int

[Bug target/66554] [4.9 Regression] ICE (in expand_fix, at optabs.c:5365) on aarch64-linux-gnu

2015-06-18 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66554 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug tree-optimization/66233] [4.8/4.9/5/6 Regression] internal compiler error: in expand_fix, at optabs.c:5358

2015-06-18 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66233 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added CC||doko at gcc

[Bug tree-optimization/66233] [4.8/4.9 Regression] internal compiler error: in expand_fix, at optabs.c:5358

2015-06-18 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66233 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Known to work||5.2.0, 6.0

[Bug tree-optimization/66233] [4.8/4.9 Regression] internal compiler error: in expand_fix, at optabs.c:5358

2015-06-18 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66233 --- Comment #9 from Jakub Jelinek jakub at gcc dot gnu.org --- Ok, I'll look at the 4.9/4.8 fix then.

[Bug target/66554] [4.9 Regression] ICE (in expand_fix, at optabs.c:5365) on aarch64-linux-gnu

2015-06-18 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66554 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added CC||jakub at gcc dot

[Bug middle-end/66581] New: [CHKP] internal compiler error: SSA corruption

2015-06-18 Thread ienkovich at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66581 Bug ID: 66581 Summary: [CHKP] internal compiler error: SSA corruption Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug target/66554] [4.9 Regression] ICE (in expand_fix, at optabs.c:5365) on aarch64-linux-gnu

2015-06-18 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66554 --- Comment #8 from kugan at gcc dot gnu.org --- Starting bisect now.

[Bug c++/66573] Unexpected change in static, branch-prediction cost from O1 to O2.

2015-06-18 Thread jmcguiness at liquidcapital dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66573 --- Comment #1 from Jason McG jmcguiness at liquidcapital dot com --- Note that clang++ for all tested versions (3.0, 3.2, 3.3, 3.4.1, 3.5, 3.5.1, 3.6 (rc2), 3.7 (experimental)) produce the same assembler output for -O1, -O2 -O3: foo(bool):

[Bug c++/66573] Unexpected change in static, branch-prediction cost from O1 to O2.

2015-06-18 Thread jmcguiness at liquidcapital dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66573 --- Comment #2 from Jason McG jmcguiness at liquidcapital dot com --- If I try with this code: #define likely(x) __builtin_expect((x),1) #define unlikely(x) __builtin_expect((x),0) extern void bar1(); extern void bar2(); void

[Bug c++/66533] [C++14] ICE: in dependent_type_p, at cp/pt.c:21073

2015-06-18 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66533 --- Comment #2 from Marek Polacek mpolacek at gcc dot gnu.org --- ICE started with r208426.

[Bug fortran/66578] [F2008] Invalid free on allocate(...,source=a(:)) in block

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

[Bug tree-optimization/66510] [6 Regression] gcc.target/arm/pr53636.c FAILs after r224221

2015-06-18 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66510 --- Comment #5 from Richard Biener rguenth at gcc dot gnu.org --- Author: rguenth Date: Thu Jun 18 09:39:13 2015 New Revision: 224598 URL: https://gcc.gnu.org/viewcvs?rev=224598root=gccview=rev Log: 2015-06-18 Richard Biener rguent...@suse.de

[Bug c/66582] New: -Wstrict-overflow issues invalid warning.

2015-06-18 Thread matthias.meixner at verifone dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66582 Bug ID: 66582 Summary: -Wstrict-overflow issues invalid warning. Product: gcc Version: 4.8.4 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c++/66543] False positive warning variable set but not used

2015-06-18 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66543 Marek Polacek mpolacek at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[Bug c++/66533] [C++14] ICE: in dependent_type_p, at cp/pt.c:21073

2015-06-18 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66533 Marek Polacek mpolacek at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[Bug fortran/66578] [F2008] Invalid free on allocate(...,source=a(:)) in block

2015-06-18 Thread vehre at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66578 --- Comment #3 from vehre at gcc dot gnu.org --- Strictly speaking has this not much to do with the renewed allocate(). The pseudo code shows that with and without the block construct the offset of the source array's temporary descriptor is

[Bug target/66554] [4.9 Regression] ICE (in expand_fix, at optabs.c:5365) on aarch64-linux-gnu

2015-06-18 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66554 --- Comment #6 from kugan at gcc dot gnu.org --- -fno-tree-forwprop works. forwprop propagates: vect__11.22_96 = (vector(4) float) vect_c.21_94; vect__13.24_98 = (vector(4) signed int) vect__11.22_96; into: vect__13.24_98 = (vector(4) signed

[Bug c++/66585] Internal compiler error when initialize field with lambda

2015-06-18 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66585 Markus Trippelsdorf trippels at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW

[Bug c++/66584] gcc differs in static, branch-prediction cost from icc in switch.

2015-06-18 Thread jmcguiness at liquidcapital dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66584 --- Comment #1 from Jason McG jmcguiness at liquidcapital dot com --- (In reply to Jason McG from comment #0) I got my static bp summaries wrong, corrected: void foo(int i) { switch(i) { case 1: bar1(); // gcc: less likely (same as

[Bug tree-optimization/66233] [4.8/4.9 Regression] internal compiler error: in expand_fix, at optabs.c:5358

2015-06-18 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66233 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

  1   2   >