[Bug target/66215] [4.8/4.9/5/6 Regression] Wrong after label NOP emission for -mhotpatch

2015-05-29 Thread vogt at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66215 --- Comment #24 from Dominik Vogt vogt at linux dot vnet.ibm.com --- Okay, I've made a new patch that fixes the problem with only the hotpatch tests running in the s390 test suite. This change passes all tests on 64 and 31 bit. After this

[Bug fortran/65548] [5/6 Regression] gfc_conv_procedure_call

2015-05-29 Thread vehre at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65548 vehre at gcc dot gnu.org changed: What|Removed |Added Status|WAITING |RESOLVED

[Bug tree-optimization/66335] New: a dump bug related to loop invariant in before_dom_children

2015-05-29 Thread zhongyunde at huawei dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66335 Bug ID: 66335 Summary: a dump bug related to loop invariant in before_dom_children Product: gcc Version: 4.9.2 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/66335] a dump bug related to loop invariant in before_dom_children

2015-05-29 Thread zhongyunde at huawei dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66335 --- Comment #1 from vfdff zhongyunde at huawei dot com --- I suggest using the code following code similar to fix the issue. for (bsi = gsi_start_phis (bb); !gsi_end_p (bsi); gsi_next (bsi)) { stmt = gsi_stmt (bsi); ...

[Bug tree-optimization/66280] [4.8/4.9/5/6 Regression] ICE: in vect_get_vec_def_for_operand, at tree-vect-stmts.c:1472

2015-05-29 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66280 --- Comment #5 from Richard Biener rguenth at gcc dot gnu.org --- Related to PR66251 (partial backport fixes the gcc 5 branch). On trunk the issue is that we have a SLP node node stmt 0 _9-re = _17; stmt 1 _9-im = _23; node

[Bug tree-optimization/66335] a dump bug related to loop invariant in before_dom_children

2015-05-29 Thread zhongyunde at huawei dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66335 --- Comment #3 from vfdff zhongyunde at huawei dot com --- (In reply to Richard Biener from comment #2) No, it's working as intended - we just print where we _could_ hoist it to (together with the cost). you mean function

[Bug c++/66184] [C++14] Rejection of partial specialization of a variable template in a non-global namespace

2015-05-29 Thread Casey at Carter dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66184 --- Comment #2 from Casey Carter Casey at Carter dot net --- Correction: r223462 was a fix on the c++-concepts branch, the trunk fix was r223461.

[Bug target/66215] [4.8/4.9/5/6 Regression] Wrong after label NOP emission for -mhotpatch

2015-05-29 Thread vogt at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66215 --- Comment #26 from Dominik Vogt vogt at linux dot vnet.ibm.com --- The patch for upstream gcc is available here: https://gcc.gnu.org/ml/gcc-patches/2015-05/msg02739.html

[Bug target/66215] [4.8/4.9/5/6 Regression] Wrong after label NOP emission for -mhotpatch

2015-05-29 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66215 --- Comment #25 from Andreas Krebbel krebbel at gcc dot gnu.org --- The patch looks good to me. Please post it on the mailing list and I'll commit it. Jakub, thanks for your valuable comments! Does Dominik's last patch address your concerns?

[Bug tree-optimization/66330] gcc.c-torture/execute/20040709-1.c compilation fatal error with -flto -O2

2015-05-29 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66330 --- Comment #1 from Richard Biener rguenth at gcc dot gnu.org --- It works for me, so - which target, which linker?

[Bug tree-optimization/66280] [4.8/4.9/5/6 Regression] ICE: in vect_get_vec_def_for_operand, at tree-vect-stmts.c:1472

2015-05-29 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66280 --- Comment #6 from Richard Biener rguenth at gcc dot gnu.org --- Which shows a bug in hybrid SLP detection.

[Bug tree-optimization/66335] a dump bug related to loop invariant in before_dom_children

2015-05-29 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66335 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug middle-end/66314] [6 Regression] ice in verify_loop_structure

2015-05-29 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66314 --- Comment #6 from Richard Biener rguenth at gcc dot gnu.org --- Author: rguenth Date: Fri May 29 10:50:58 2015 New Revision: 223861 URL: https://gcc.gnu.org/viewcvs?rev=223861root=gccview=rev Log: 2015-05-29 Richard Biener rguent...@suse.de

[Bug c++/66184] [C++14] Rejection of partial specialization of a variable template in a non-global namespace

2015-05-29 Thread Casey at Carter dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66184 Casey Carter Casey at Carter dot net changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug c++/66336] New: [C++14][Variable templates] Spurious error: expansion pattern contains no argument packs

2015-05-29 Thread lucdanton at free dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66336 Bug ID: 66336 Summary: [C++14][Variable templates] Spurious error: expansion pattern contains no argument packs Product: gcc Version: 5.1.0 Status: UNCONFIRMED

[Bug middle-end/66314] [6 Regression] ice in verify_loop_structure

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

[Bug tree-optimization/66142] Loop is not vectorized because not sufficient support for GOMP_SIMD_LANE

2015-05-29 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66142 --- Comment #16 from Jakub Jelinek jakub at gcc dot gnu.org --- Author: jakub Date: Fri May 29 13:06:23 2015 New Revision: 223863 URL: https://gcc.gnu.org/viewcvs?rev=223863root=gccview=rev Log: PR tree-optimization/66142 *

[Bug libstdc++/66327] -fsanitize=nonnull-attribute errors in stl_algobase.h

2015-05-29 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66327 --- Comment #1 from Jonathan Wakely redi at gcc dot gnu.org --- Author: redi Date: Fri May 29 13:28:54 2015 New Revision: 223865 URL: https://gcc.gnu.org/viewcvs?rev=223865root=gccview=rev Log: PR libstdc++/66327 *

[Bug tree-optimization/66280] [4.8/4.9/5/6 Regression] ICE: in vect_get_vec_def_for_operand, at tree-vect-stmts.c:1472

2015-05-29 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66280 --- Comment #7 from Richard Biener rguenth at gcc dot gnu.org --- Which also fixes the original testcase on trunk!

[Bug c++/66329] If condition evaluated wrongly for y1 == 0 condition

2015-05-29 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66329 --- Comment #5 from Manuel López-Ibáñez manu at gcc dot gnu.org --- (In reply to Mikhail Maltsev from comment #4) Clang is more verbose: ./test.c:4:11: warning: has lower precedence than ==; == will be evaluated first [-Wparentheses] x

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

2015-05-29 Thread vmakarov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62308 --- Comment #11 from Vladimir Makarov vmakarov at gcc dot gnu.org --- (In reply to Christophe Lyon from comment #10) Hello Vladimir, Have you been able to make progress on this bug? Thanks for the remainder, Cristophe. Sometimes I am loosing

[Bug target/66337] __alignof__(s.d) incorrect for a double member with -malign-power

2015-05-29 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66337 Andrew Pinski pinskia at gcc dot gnu.org changed: What|Removed |Added Component|c |target ---

[Bug gcov-profile/66319] [6 Regression] gcov-tool.c:84:65: error: invalid conversion from 'int (*)(const c har*, const stat*, int, FTW*)' to 'int (*)(const char*, const stat*, int, FTW)'

2015-05-29 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66319 John David Anglin danglin at gcc dot gnu.org changed: What|Removed |Added CC||jason at

[Bug c/66282] Missing x86 floating point conversion on explicit casts violates C standard

2015-05-29 Thread jsm28 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66282 Joseph S. Myers jsm28 at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug middle-end/323] optimized code gives strange floating point results

2015-05-29 Thread jsm28 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=323 Joseph S. Myers jsm28 at gcc dot gnu.org changed: What|Removed |Added CC||timo.kreuzer at

[Bug testsuite/63175] [4.9 regression] FAIL: gcc.dg/vect/costmodel/ppc/costmodel-bb-slp-9a.c scan-tree-dump-times slp2 basic block vectorized using SLP 1

2015-05-29 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63175 --- Comment #39 from Bill Schmidt wschmidt at gcc dot gnu.org --- Author: wschmidt Date: Fri May 29 16:48:37 2015 New Revision: 223872 URL: https://gcc.gnu.org/viewcvs?rev=223872root=gccview=rev Log: 2015-05-29 Bill Schmidt

[Bug c/66337] New: __alignof__(s.d) incorrect for a double member with -malign-power

2015-05-29 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66337 Bug ID: 66337 Summary: __alignof__(s.d) incorrect for a double member with -malign-power Product: gcc Version: 5.1.0 Status: UNCONFIRMED Severity: normal

[Bug target/66337] __alignof__(s.d) incorrect for a double member with -malign-power

2015-05-29 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66337 --- Comment #2 from Andrew Pinski pinskia at gcc dot gnu.org --- Or rather it is a bit weird as it is dependent on the first element. X86 is even worse as they are not equal either but the alignment requirement is only dependent on if it is in a

[Bug c++/66339] New: g++ 5.1.0 Generates memory leak

2015-05-29 Thread etcwilde at uvic dot ca
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66339 Bug ID: 66339 Summary: g++ 5.1.0 Generates memory leak Product: gcc Version: 5.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug target/66215] [4.8/4.9/5/6 Regression] Wrong after label NOP emission for -mhotpatch

2015-05-29 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66215 --- Comment #28 from Jakub Jelinek jakub at gcc dot gnu.org --- BTW, the hotpatch-19.c, hotpatch-20.c and hotpatch-compile-15.c testcases look wrong, always_inline attribute shouldn't be used on functions not declared inline.

[Bug middle-end/66334] cleanup block fails to initialize EBX

2015-05-29 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66334 --- Comment #4 from H.J. Lu hjl.tools at gmail dot com --- This seems to work: diff --git a/gcc/lra-lives.c b/gcc/lra-lives.c index 085411e..a0c6171 100644 --- a/gcc/lra-lives.c +++ b/gcc/lra-lives.c @@ -979,8 +979,7 @@ process_bb_lives

[Bug middle-end/66334] cleanup block fails to initialize EBX

2015-05-29 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66334 H.J. Lu hjl.tools at gmail dot com changed: What|Removed |Added Target Milestone|--- |6.0

Re: why - warning: array subscript is above array bounds

2015-05-29 Thread Jim Wilson
On 05/28/2015 12:41 PM, 田部 wrote: gcc is, in this code, or put out a warning? -O4 only??? -O3 and higher enables more aggressive loop unrolling. This happens in the pass_complete_unrolli function. With -O3 or higher, the inner loop is unrolled 12 times because the array size is 12. The array

[Bug bootstrap/66340] New: [6 Regression] profiledbootstrap failure on x86-64 with LTO

2015-05-29 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66340 Bug ID: 66340 Summary: [6 Regression] profiledbootstrap failure on x86-64 with LTO Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal

[Bug preprocessor/66318] Error messages contain raw file name; malicious #line directives can do bad things

2015-05-29 Thread Keith.S.Thompson at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66318 --- Comment #5 from Keith Thompson Keith.S.Thompson at gmail dot com --- Mikhail: Newlines in file names (either the actual file name or via a #line directive) cause problems with __FILE__, though that particular problem occurs only if there's an

[Bug fortran/66257] [5/6 Regression] ELEMENTAL procedure pointer component XX is not allowed as an actual argument

2015-05-29 Thread mikael at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66257 Mikael Morin mikael at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug libstdc++/66338] std::forward_as_tuple() issue with single argument

2015-05-29 Thread ptomulik at meil dot pw.edu.pl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66338 --- Comment #2 from Pawel Tomulik ptomulik at meil dot pw.edu.pl --- I found this to be related to std::tuple constructors, especially this one: templatetypename... _UElements, typename = typename

[Bug libstdc++/66338] New: std::forward_as_tuple() issue with single argument

2015-05-29 Thread ptomulik at meil dot pw.edu.pl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66338 Bug ID: 66338 Summary: std::forward_as_tuple() issue with single argument Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug libstdc++/66338] std::forward_as_tuple() issue with single argument

2015-05-29 Thread ptomulik at meil dot pw.edu.pl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66338 --- Comment #1 from Pawel Tomulik ptomulik at meil dot pw.edu.pl --- As a side note, the following variant also does not compile: int main() {

[Bug fortran/66257] [5/6 Regression] ELEMENTAL procedure pointer component XX is not allowed as an actual argument

2015-05-29 Thread mikael at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66257 --- Comment #5 from Mikael Morin mikael at gcc dot gnu.org --- Author: mikael Date: Fri May 29 19:04:30 2015 New Revision: 223875 URL: https://gcc.gnu.org/viewcvs?rev=223875root=gccview=rev Log: PR fortran/66257 gcc/fortran/ *

[Bug middle-end/66334] cleanup block fails to initialize EBX

2015-05-29 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66334 H.J. Lu hjl.tools at gmail dot com changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[Bug other/63509] Misleading error message when building gcc without C++ compiler installed

2015-05-29 Thread paul at greenberg dot pro
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63509 Paul Greenberg paul at greenberg dot pro changed: What|Removed |Added CC||paul at

[Bug target/66215] [4.8/4.9/5/6 Regression] Wrong after label NOP emission for -mhotpatch

2015-05-29 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66215 --- Comment #27 from Andreas Krebbel krebbel at gcc dot gnu.org --- Author: krebbel Date: Fri May 29 14:26:56 2015 New Revision: 223867 URL: https://gcc.gnu.org/viewcvs?rev=223867root=gccview=rev Log: PR 66215: S390: Fix placement of post-label

[Bug middle-end/66334] cleanup block fails to initialize EBX

2015-05-29 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66334 --- Comment #3 from H.J. Lu hjl.tools at gmail dot com --- The block has a EDGE_ABNORMAL_CALL predecessor.

[Bug tree-optimization/66330] gcc.c-torture/execute/20040709-1.c compilation fatal error with -flto -O2

2015-05-29 Thread vries at gcc dot gnu.org
Target: x86_64-unknown-linux-gnu Configured with: src/configure --prefix=install --with-cloog=infra --with-ppl=infra --with-gmp=infra --with-mpfr=infra --with-mpc=infra --with-isl=infra --disable-bootstrap --enable-checking=yes,rtl --enable-languages=c Thread model: posix gcc version 6.0.0 20150529