[Bug libfortran/79956] [7 Regression] many new -Wmaybe-uninitialized warnings with bootstrap-O3

2017-03-21 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79956 --- Comment #39 from Martin Liška --- Author: marxin Date: Tue Mar 21 12:04:17 2017 New Revision: 246317 URL: https://gcc.gnu.org/viewcvs?rev=246317=gcc=rev Log: Fix another profiledbootstrap warning (PR libfortran/79956). 2017-03-21 Martin

[Bug libfortran/79956] [7 Regression] many new -Wmaybe-uninitialized warnings with bootstrap-O3

2017-03-21 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79956 --- Comment #38 from rguenther at suse dot de --- On Tue, 21 Mar 2017, marxin at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79956 > > --- Comment #37 from Martin Liška --- > (In reply to rguent...@suse.de from

[Bug libfortran/79956] [7 Regression] many new -Wmaybe-uninitialized warnings with bootstrap-O3

2017-03-21 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79956 --- Comment #37 from Martin Liška --- (In reply to rguent...@suse.de from comment #8) > On March 8, 2017 4:43:05 PM GMT+01:00, "marxin at gcc dot gnu.org" > wrote: > >https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79956

[Bug libfortran/79956] [7 Regression] many new -Wmaybe-uninitialized warnings with bootstrap-O3

2017-03-18 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79956 Markus Trippelsdorf changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[Bug libfortran/79956] [7 Regression] many new -Wmaybe-uninitialized warnings with bootstrap-O3

2017-03-17 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79956 --- Comment #35 from Thomas Koenig --- Author: tkoenig Date: Fri Mar 17 21:27:08 2017 New Revision: 246248 URL: https://gcc.gnu.org/viewcvs?rev=246248=gcc=rev Log: 2017-03-17 Thomas Koenig PR libfortran/79956

[Bug libfortran/79956] [7 Regression] many new -Wmaybe-uninitialized warnings with bootstrap-O3

2017-03-16 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79956 Markus Trippelsdorf changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

[Bug libfortran/79956] [7 Regression] many new -Wmaybe-uninitialized warnings with bootstrap-O3

2017-03-15 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79956 --- Comment #33 from Markus Trippelsdorf --- (In reply to Thomas Koenig from comment #32) > (In reply to Markus Trippelsdorf from comment #31) > > Fixed. Thanks. > > Is the issue with the execute_command_line_* functions > also resolved?

[Bug libfortran/79956] [7 Regression] many new -Wmaybe-uninitialized warnings with bootstrap-O3

2017-03-15 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79956 --- Comment #32 from Thomas Koenig --- (In reply to Markus Trippelsdorf from comment #31) > Fixed. Thanks. Is the issue with the execute_command_line_* functions also resolved? The code could quite obviously be simplified to void

[Bug libfortran/79956] [7 Regression] many new -Wmaybe-uninitialized warnings with bootstrap-O3

2017-03-15 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79956 Markus Trippelsdorf changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug libfortran/79956] [7 Regression] many new -Wmaybe-uninitialized warnings with bootstrap-O3

2017-03-15 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79956 --- Comment #30 from Thomas Koenig --- Author: tkoenig Date: Wed Mar 15 07:45:39 2017 New Revision: 246153 URL: https://gcc.gnu.org/viewcvs?rev=246153=gcc=rev Log: 2017-03-15 Thomas Koenig PR libfortran/79956

[Bug libfortran/79956] [7 Regression] many new -Wmaybe-uninitialized warnings with bootstrap-O3

2017-03-13 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79956 --- Comment #29 from rguenther at suse dot de --- On Mon, 13 Mar 2017, trippels at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79956 > > --- Comment #28 from Markus Trippelsdorf --- > (In reply to Thomas Koenig from

[Bug libfortran/79956] [7 Regression] many new -Wmaybe-uninitialized warnings with bootstrap-O3

2017-03-13 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79956 --- Comment #28 from Markus Trippelsdorf --- (In reply to Thomas Koenig from comment #26) > Patch at https://gcc.gnu.org/ml/gcc-patches/2017-03/msg00619.html > rejected at https://gcc.gnu.org/ml/fortran/2017-03/msg00052.html > due to runtime

[Bug libfortran/79956] [7 Regression] many new -Wmaybe-uninitialized warnings with bootstrap-O3

2017-03-13 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79956 --- Comment #27 from rguenther at suse dot de --- On Sun, 12 Mar 2017, tkoenig at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79956 > > --- Comment #24 from Thomas Koenig --- > I think the warning about estat is a

[Bug libfortran/79956] [7 Regression] many new -Wmaybe-uninitialized warnings with bootstrap-O3

2017-03-13 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79956 --- Comment #26 from Thomas Koenig --- Patch at https://gcc.gnu.org/ml/gcc-patches/2017-03/msg00619.html rejected at https://gcc.gnu.org/ml/fortran/2017-03/msg00052.html due to runtime overhead. Maybe it would be possible to suppress the

[Bug libfortran/79956] [7 Regression] many new -Wmaybe-uninitialized warnings with bootstrap-O3

2017-03-13 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79956 --- Comment #25 from Markus Trippelsdorf --- Created attachment 40956 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40956=edit estat warning Even gcc-5.4 warns about estat with -O3, so this is not a 7 regression. If anything, lets track

[Bug libfortran/79956] [7 Regression] many new -Wmaybe-uninitialized warnings with bootstrap-O3

2017-03-12 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79956 --- Comment #24 from Thomas Koenig --- I think the warning about estat is a gcc bug. Here is the function in its entirety: void execute_command_line_i4 (const char *command, GFC_LOGICAL_4 *wait, GFC_INTEGER_4

[Bug libfortran/79956] [7 Regression] many new -Wmaybe-uninitialized warnings with bootstrap-O3

2017-03-12 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79956 --- Comment #23 from Markus Trippelsdorf --- (In reply to Thomas Koenig from comment #22) > Created attachment 40952 [details] > Patch which may fix reshape > > Hi, does this fix the problem with reshape? Yes. Thank you.

[Bug libfortran/79956] [7 Regression] many new -Wmaybe-uninitialized warnings with bootstrap-O3

2017-03-12 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79956 Thomas Koenig changed: What|Removed |Added Attachment #40944|0 |1 is obsolete|

[Bug libfortran/79956] [7 Regression] many new -Wmaybe-uninitialized warnings with bootstrap-O3

2017-03-10 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79956 --- Comment #21 from rguenther at suse dot de --- On March 11, 2017 12:39:38 AM GMT+01:00, "tkoenig at gcc dot gnu.org" wrote: >https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79956 > >--- Comment #17 from Thomas Koenig

[Bug libfortran/79956] [7 Regression] many new -Wmaybe-uninitialized warnings with bootstrap-O3

2017-03-10 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79956 --- Comment #20 from Markus Trippelsdorf --- The following fixes the warning for me: diff --git a/libgfortran/m4/reshape.m4 b/libgfortran/m4/reshape.m4 index 787844ec42d..42379d58a29 100644 --- a/libgfortran/m4/reshape.m4 +++

[Bug libfortran/79956] [7 Regression] many new -Wmaybe-uninitialized warnings with bootstrap-O3

2017-03-10 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79956 --- Comment #19 from Markus Trippelsdorf --- The reshape issue also happens with -O2. Thomas the issue is easily reproducible with a stage-1 cross (--target=powerpc64le-unknown-linux-gnu) and the attached testcase.

[Bug libfortran/79956] [7 Regression] many new -Wmaybe-uninitialized warnings with bootstrap-O3

2017-03-10 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79956 Jerry DeLisle changed: What|Removed |Added CC||jvdelisle at gcc dot gnu.org ---

[Bug libfortran/79956] [7 Regression] many new -Wmaybe-uninitialized warnings with bootstrap-O3

2017-03-10 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79956 --- Comment #17 from Thomas Koenig --- On the one hand, I would like to see that libgfortran can be compiled on any platform. On the other hand, the options that I currently see (such as making the for loop into a do/while loop,

[Bug libfortran/79956] [7 Regression] many new -Wmaybe-uninitialized warnings with bootstrap-O3

2017-03-10 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79956 --- Comment #16 from Markus Trippelsdorf --- (In reply to Thomas Koenig from comment #15) > Created attachment 40944 [details] > Patch for reshape > > Does this fix the issues in reshape? No. The warning happens on line 266 and you patch

[Bug libfortran/79956] [7 Regression] many new -Wmaybe-uninitialized warnings with bootstrap-O3

2017-03-10 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79956 --- Comment #15 from Thomas Koenig --- Created attachment 40944 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40944=edit Patch for reshape Does this fix the issues in reshape?

[Bug libfortran/79956] [7 Regression] many new -Wmaybe-uninitialized warnings with bootstrap-O3

2017-03-10 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79956 --- Comment #14 from Thomas Koenig --- Author: tkoenig Date: Fri Mar 10 19:42:46 2017 New Revision: 246053 URL: https://gcc.gnu.org/viewcvs?rev=246053=gcc=rev Log: 2017-03-10 Thomas Koenig PR libfortran/79956

[Bug libfortran/79956] [7 Regression] many new -Wmaybe-uninitialized warnings with bootstrap-O3

2017-03-10 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79956 --- Comment #13 from Richard Biener --- Again, changing loop exists from n == sdim to n >= sdim might help.

[Bug libfortran/79956] [7 Regression] many new -Wmaybe-uninitialized warnings with bootstrap-O3

2017-03-09 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79956 --- Comment #12 from Thomas Koenig --- (In reply to Markus Trippelsdorf from comment #10) > libgfortran/intrinsics/reshape_generic.c:253:21: warning: ‘sstride[0]’ may > be used uninitialized in this function [-Wmaybe-uninitialized] This one is

[Bug libfortran/79956] [7 Regression] many new -Wmaybe-uninitialized warnings with bootstrap-O3

2017-03-09 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79956 --- Comment #11 from Markus Trippelsdorf --- Created attachment 40929 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40929=edit unreduced testcase for ppc64le For some reason the reshape_* warnings only happen on ppc64le. X86_64 is fine.

[Bug libfortran/79956] [7 Regression] many new -Wmaybe-uninitialized warnings with bootstrap-O3

2017-03-08 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79956 --- Comment #10 from Markus Trippelsdorf --- Most of the warnings are gone due to the patch. These are the remaining ones: libgfortran/generated/reshape_c16.c:266:12: warning: ‘sstride[0]’ may be used uninitialized in this function

[Bug libfortran/79956] [7 Regression] many new -Wmaybe-uninitialized warnings with bootstrap-O3

2017-03-08 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79956 --- Comment #9 from Thomas Koenig --- Created attachment 40925 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40925=edit Patch to fix the libfortran issue Based on Comment#6, this is a patch for the libfortran issue. I am currently

[Bug libfortran/79956] [7 Regression] many new -Wmaybe-uninitialized warnings with bootstrap-O3

2017-03-08 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79956 --- Comment #8 from rguenther at suse dot de --- On March 8, 2017 4:43:05 PM GMT+01:00, "marxin at gcc dot gnu.org" wrote: >https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79956 > >--- Comment #7 from Martin Liška --- >I

[Bug libfortran/79956] [7 Regression] many new -Wmaybe-uninitialized warnings with bootstrap-O3

2017-03-08 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79956 --- Comment #7 from Martin Liška --- I can also see profiledbootstrap failure in: .././../gcc/simplify-rtx.c:6021:12: error: ‘result_s’ may be used uninitialized in this function [-Werror=maybe-uninitialized] return result_s;

[Bug libfortran/79956] [7 Regression] many new -Wmaybe-uninitialized warnings with bootstrap-O3

2017-03-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79956 --- Comment #6 from Richard Biener --- Index: libgfortran/generated/parity_l8.c === --- libgfortran/generated/parity_l8.c (revision 245968) +++ libgfortran/generated/parity_l8.c

[Bug libfortran/79956] [7 Regression] many new -Wmaybe-uninitialized warnings with bootstrap-O3

2017-03-08 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79956 --- Comment #5 from rguenther at suse dot de --- On Wed, 8 Mar 2017, trippels at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79956 > > --- Comment #3 from Markus Trippelsdorf --- > Testcase that only warns with -O3

[Bug libfortran/79956] [7 Regression] many new -Wmaybe-uninitialized warnings with bootstrap-O3

2017-03-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79956 Richard Biener changed: What|Removed |Added Status|ASSIGNED|NEW Component|bootstrap