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&root=gcc&view=rev
Log:
Fix another profiledbootstrap warning (PR libfortran/79956).
2017-03-21
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 commen
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
> >
> >--- Comment #7 from
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79956
Markus Trippelsdorf changed:
What|Removed |Added
Status|REOPENED|RESOLVED
Resolution|---
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&root=gcc&view=rev
Log:
2017-03-17 Thomas Koenig
PR libfortran/79956
* m4/r
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79956
Markus Trippelsdorf changed:
What|Removed |Added
Status|RESOLVED|REOPENED
Resolution|FIXED
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?
No,
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
execute_comma
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79956
Markus Trippelsdorf changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
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&root=gcc&view=rev
Log:
2017-03-15 Thomas Koenig
PR libfortran/79956
* libg
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 c
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 over
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 gcc
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 warning
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&action=edit
estat warning
Even gcc-5.4 warns about estat with -O3, so this is not a 7 regression.
If anything, lets
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 *exitstat,
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.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79956
Thomas Koenig changed:
What|Removed |Added
Attachment #40944|0 |1
is obsolete|
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 ---
>On the one hand, I wou
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
+++ b/libgfortran/m4/re
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.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79956
Jerry DeLisle changed:
What|Removed |Added
CC||jvdelisle at gcc dot gnu.org
--- Comment
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, pre-initializing
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 change
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&action=edit
Patch for reshape
Does this fix the issues in reshape?
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&root=gcc&view=rev
Log:
2017-03-10 Thomas Koenig
PR libfortran/79956
* m4/i
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.
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
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&action=edit
unreduced testcase for ppc64le
For some reason the reshape_* warnings only happen on ppc64le.
X86_64 is
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 [-Wmaybe-unin
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&action=edit
Patch to fix the libfortran issue
Based on Comment#6, this is a patch for the libfortran issue.
I am currently
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 can also see profiledboots
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;
^~
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
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
I
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79956
Richard Biener changed:
What|Removed |Added
Status|ASSIGNED|NEW
Component|bootstrap
36 matches
Mail list logo