[Bug tree-optimization/62209] [5 Regression] ICE with LTO on valid code on x86_64-linux-gnu

2015-02-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62209 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Sat Feb 14 08:23:18 2015 New Revision: 220706 URL: https://gcc.gnu.org/viewcvs?rev=220706&root=gcc&view=rev Log: PR tree-optimization/62209 * tree-ssa-reassoc.c (update_range_test

[Bug bootstrap/64976] Bootstrap fails with -O3 -fgraphite-identity

2015-02-14 Thread hete2 at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64976 --- Comment #2 from hete2 at gmx dot de --- Thank you for this hint. Using this configure option the boootstrapping works. Therefore this report can be renamed to a false warning about -Werror=maybe-uninitialized (if this is considered a Bug) or g

[Bug tree-optimization/65063] New: gcc.dg/vect/vect-double-reduc-6.c FAILs with -O3 -fno-tree-loop-ivcanon -fno-tree-vectorize

2015-02-14 Thread zsojka at seznam dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65063 Bug ID: 65063 Summary: gcc.dg/vect/vect-double-reduc-6.c FAILs with -O3 -fno-tree-loop-ivcanon -fno-tree-vectorize Product: gcc Version: 5.0 Status: UNCONFIRMED

[Bug tree-optimization/62209] [5 Regression] ICE with LTO on valid code on x86_64-linux-gnu

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

[Bug ipa/64963] [5 Regression] IPA Cloning/Splitting does not copy function section attributes resulting in kernel miscompilation

2015-02-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64963 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P1

[Bug c/65040] [5 Regression] gcc-5 -Wformat broken

2015-02-14 Thread jirislaby at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65040 --- Comment #9 from Jiri Slaby --- What about this? #include void x(char *ch) { printf("%x\n", ch[10]); } It still produces the warning. (I cannot reopen as I am not a reporter.)

[Bug fortran/61831] [4.9/ 5 Regression] runtime error: pointer being freed was not allocated

2015-02-14 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61831 --- Comment #37 from Dominique d'Humieres --- > >[...] > >if (D.3430.chars.data != 0B) > > { > >__builtin_free ((void *) D.3430.chars.data); > > } > >D.3430.chars.data = 0B; > > D.3430.chars.d

[Bug fortran/59765] [4.9/5 Regression] [OOP] ICE on valid with finalizable array components

2015-02-14 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59765 --- Comment #18 from Dominique d'Humieres --- I think this PR is now fixed by r220654 for trunk (5.0) and r220659 (4.9).

[Bug c/65040] [5 Regression] gcc-5 -Wformat broken

2015-02-14 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65040 --- Comment #10 from Marek Polacek --- That's because on your architecture char is signed by default. Try adding "unsigned" or using -funsigned-char and the warning should be gone.

[Bug fortran/64927] [4.8 Regression] Surprising error with -Wsurprising (-Wall) and TRANSFER + C_ASSOCIATED

2015-02-14 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64927 --- Comment #12 from Dominique d'Humieres --- > I pulled yesterday's 4.8 snapshot, bootstrapped it to verify that > the problem still existed, and applied the 1-liner from r198000. > It does not fix the issue. Confirmed, for the record, testing

[Bug c/65040] [5 Regression] gcc-5 -Wformat broken

2015-02-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65040 --- Comment #11 from Jakub Jelinek --- -funsigned-char is an option that shouldn't be used without serious consideration. That said, I think in that case the warning is intentional, you are indeed passing a signed value to unsigned format. If yo

[Bug c/65040] [5 Regression] gcc-5 -Wformat broken

2015-02-14 Thread jirislaby at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65040 --- Comment #12 from Jiri Slaby --- (In reply to Marek Polacek from comment #10) > That's because on your architecture char is signed by default. Try adding > "unsigned" or using -funsigned-char and the warning should be gone. Ok, I wanted to m

[Bug c/64768] [4.8/4.9/5 Regression] internal compiler error: tree check: expected tree that contains ‘decl with RTL’ structure, have ‘field_decl’ in set_decl_rtl, at emit-rtl.c:1274

2015-02-14 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64768 --- Comment #8 from Marek Polacek --- Author: mpolacek Date: Sat Feb 14 11:25:19 2015 New Revision: 220708 URL: https://gcc.gnu.org/viewcvs?rev=220708&root=gcc&view=rev Log: PR c/64768 * c-decl.c (grokdeclarator): Set the range of a flex

[Bug c/64768] [4.8/4.9/5 Regression] internal compiler error: tree check: expected tree that contains ‘decl with RTL’ structure, have ‘field_decl’ in set_decl_rtl, at emit-rtl.c:1274

2015-02-14 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64768 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug fortran/61831] [4.9/ 5 Regression] runtime error: pointer being freed was not allocated

2015-02-14 Thread mikael at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61831 --- Comment #38 from Mikael Morin --- (In reply to Dominique d'Humieres from comment #37) > > >[...] > > >if (D.3430.chars.data != 0B) > > > { > > >__builtin_free ((void *) D.3430.chars.data); > > > }

[Bug fortran/64980] [5 Regression] ICE in trans-expr.c

2015-02-14 Thread mikael at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64980 --- Comment #11 from Mikael Morin --- Created attachment 34755 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34755&action=edit Another proposed fix (In reply to Bernd Edlinger from comment #10) > Yes, but I have no idea how to know how t

[Bug fortran/64980] [5 Regression] ICE in trans-expr.c

2015-02-14 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64980 --- Comment #12 from Dominique d'Humieres --- With any of the patches the first test for pr64230 fails at run time with At line 35 of file pr64230.f90 Fortran runtime error: Attempt to DEALLOCATE unallocated 't' but the test gfortran.dg/class_a

[Bug fortran/60898] [4.8/4.9/5 Regression] model compile error with gfortran 4.7 and gcc 4.9

2015-02-14 Thread mikael at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60898 --- Comment #18 from Mikael Morin --- Created attachment 34756 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34756&action=edit patch fixing comment #7 (In reply to Mikael Morin from comment #17) > Using Tobias' analysis in comment #14, th

[Bug fortran/60898] [4.8/4.9/5 Regression] model compile error with gfortran 4.7 and gcc 4.9

2015-02-14 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60898 --- Comment #19 from Dominique d'Humieres --- > patch fixing comment #7 Confirmed, but it doesn't fix the test in comment 2 (with the addition in comment 10).

[Bug fortran/64980] [5 Regression] ICE in trans-expr.c

2015-02-14 Thread mikael at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64980 --- Comment #13 from Mikael Morin --- Created attachment 34757 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34757&action=edit Yet another attempt using TYPE_CANONICAL this tries to remove any use of VIEW_CONVERT_EXPR by setting (well, tr

[Bug fortran/64980] [5 Regression] ICE in trans-expr.c

2015-02-14 Thread mikael at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64980 --- Comment #14 from Mikael Morin --- Bernd, do you have a reliable way to test a patch, checking for aliasing violations?

[Bug target/64941] -O3 breaks tar

2015-02-14 Thread mikpelinux at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64941 Mikael Pettersson changed: What|Removed |Added CC||mikpelinux at gmail dot com --- Comm

[Bug fortran/60898] [4.8/4.9/5 Regression] model compile error with gfortran 4.7 and gcc 4.9

2015-02-14 Thread mikael at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60898 --- Comment #20 from Mikael Morin --- (In reply to Dominique d'Humieres from comment #19) > > patch fixing comment #7 > > Confirmed, but it doesn't fix the test in comment 2 (with the addition in > comment 10). Confirmed; for some reason it wor

[Bug fortran/64927] [4.8 Regression] Surprising error with -Wsurprising (-Wall) and TRANSFER + C_ASSOCIATED

2015-02-14 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64927 --- Comment #13 from Dominique d'Humieres --- Bisecting the range given in comment 4 shows that this PR is fixed by r198155 for 4.9. The fix was supposed to be back ported to 4.8 by r198345. However comparing the logs shows no entry for gcc/fortr

[Bug tree-optimization/65063] [4.8/4.9/5 Regression] gcc.dg/vect/vect-double-reduc-6.c FAILs with -O3 -fno-tree-loop-ivcanon -fno-tree-vectorize

2015-02-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65063 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/64793] [SH] missed delay slot

2015-02-14 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64793 Oleg Endo changed: What|Removed |Added CC||kkojima at gcc dot gnu.org --- Comment #1 fr

[Bug target/64941] -O3 breaks tar

2015-02-14 Thread brian at soulspark dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64941 --- Comment #5 from Brian M --- I can give someone a KDE desktop to the actual machine to reproduce the failure if you like.

[Bug rtl-optimization/65064] New: [5.0 regression] FAIL: gcc.dg/torture/pr60115.c -O1 (test for excess errors)

2015-02-14 Thread sch...@linux-m68k.org
/torture/pr60115.c -O /usr/ia64-suse-linux/bin/ld: a.out: __gp does not cover short data segment collect2: error: ld returned 1 exit status Broken by r220674. --- gcc-20150213/Build/pr60115.s2015-02-14 21:36:37.0 +0100 +++ gcc-20150214/Build/pr60115.s2015-02-14 21:35

[Bug fortran/64980] [5 Regression] ICE in trans-expr.c

2015-02-14 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64980 --- Comment #15 from Bernd Edlinger --- Created attachment 34758 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34758&action=edit Updated patch that also fixes pr64230.f90 (In reply to Dominique d'Humieres from comment #12) > With any of t

[Bug fortran/64927] [4.8 Regression] Surprising error with -Wsurprising (-Wall) and TRANSFER + C_ASSOCIATED

2015-02-14 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64927 --- Comment #14 from Dominique d'Humieres --- The reason why the changes for gcc/fortran/simplify.c on 4.9 have not been applied to 4.8 is that these changes apply to procs introduced on 4.9 at r197159, but not on 4.8. AFAICT these changes are ne

[Bug bootstrap/65065] New: ICE with -O3 -floop-block on bootstrap

2015-02-14 Thread hete2 at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65065 Bug ID: 65065 Summary: ICE with -O3 -floop-block on bootstrap Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap

[Bug testsuite/64850] FAIL: gfortran.dg/goacc/acc_on_device-1.f95 -O scan-rtl-dump-times expand "\\(call [^\\n]*\\"acc_on_device" 4

2015-02-14 Thread kkojima at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64850 --- Comment #2 from Kazumoto Kojima --- Author: kkojima Date: Sat Feb 14 23:50:25 2015 New Revision: 220711 URL: https://gcc.gnu.org/viewcvs?rev=220711&root=gcc&view=rev Log: PR testsuite/64850 Tweak acc_on_device* tests. Modified: trunk/g

[Bug target/64941] -O3 breaks tar

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

[Bug rtl-optimization/65064] [5.0 regression] FAIL: gcc.dg/torture/pr60115.c -O1 (test for excess errors)

2015-02-14 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65064 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug rtl-optimization/65064] [5.0 regression] FAIL: gcc.dg/torture/pr60115.c -O1 (test for excess errors)

2015-02-14 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65064 --- Comment #2 from H.J. Lu --- Does -fno-common fix the problem? If it is the case, we need to treat common symbol differently for ia64 since .commonb#,8,4 .commona#,4,4 won't be placed in small data section reachable via GP r

[Bug rtl-optimization/65064] [5.0 regression] FAIL: gcc.dg/torture/pr60115.c -O1 (test for excess errors)

2015-02-14 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65064 --- Comment #3 from H.J. Lu --- Created attachment 34759 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34759&action=edit A patch Please try this.

[Bug target/64793] [SH] missed delay slot

2015-02-14 Thread kkojima at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64793 --- Comment #2 from Kazumoto Kojima --- Created attachment 34760 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34760&action=edit CSiBE result-runtime.csv revision 220636 with -O2

[Bug target/64793] [SH] missed delay slot

2015-02-14 Thread kkojima at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64793 --- Comment #3 from Kazumoto Kojima --- Created attachment 34761 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34761&action=edit CSiBE result-runtime.csv revision 220636 + patch C#1 with -O2

[Bug target/64941] -O3 breaks tar

2015-02-14 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64941 --- Comment #7 from H.J. Lu --- GCC 4.9.3 20150215 is OK.

[Bug fortran/64432] [5 Regression] SYSTEM_CLOCK(COUNT_RATE=rate) wrong result for integer(4)::rate

2015-02-14 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64432 --- Comment #17 from Jerry DeLisle --- Created attachment 34765 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34765&action=edit Handle KIND=1 and KIND=2 This updated patch gives a proposed way to handle KIND=1 and KIND=2. This is done by

[Bug tree-optimization/64992] More optimize opportunity

2015-02-14 Thread ishiura-compiler at ml dot kwansei.ac.jp
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64992 --- Comment #3 from Ishiura Lab Compiler Team --- Looking only from outside, the two programs are virtually equal, so we just wondered what hinders the optimization on one of the programs. The Optimization on "opt.c" seems very strong, so we th

[Bug target/54829] bad optimization: sub followed by cmp w/ zero (x86 & ARM)

2015-02-14 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54829 --- Comment #9 from Daniel Santos --- I appologize for my late response. (In reply to Richard Earnshaw from comment #8) > Unfortunately, computers don't to infinite precision arithmetic by default. > That would perform a different comparison in

[Bug middle-end/65041] Improve -Wclobbered

2015-02-14 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65041 --- Comment #1 from Andrew Pinski --- I think the setting of fd to -1 is removed which is why there is no warning.

[Bug java/64917] Remove spurious '^L' from libjava/libltdl/COPYING.LIB.

2015-02-14 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64917 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---