[Bug testsuite/58851] FAIL: gfortran.dg/unlimited_polymorphic_13.f90 -O0 execution test

2013-10-23 Thread paul.richard.thomas at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58851 --- Comment #3 from paul.richard.thomas at gmail dot com paul.richard.thomas at gmail dot com --- I had changed the testcase to: ! { dg-do run } ! ! PR fortran/58793 ! ! Contributed by Vladimir Fuka ! ! Had the wrong value for the storage_size

[Bug testsuite/58851] FAIL: gfortran.dg/unlimited_polymorphic_13.f90 -O0 execution test

2013-10-25 Thread paul.richard.thomas at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58851 --- Comment #5 from paul.richard.thomas at gmail dot com paul.richard.thomas at gmail dot com --- Dear Tobias, I cannot get to the commit until Sunday night at earliest. Thus, if you can do it, that would be great. In fact, if you do that, I'll

[Bug testsuite/58851] FAIL: gfortran.dg/unlimited_polymorphic_13.f90 -O0 execution test

2013-10-30 Thread paul.richard.thomas at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58851 --- Comment #7 from paul.richard.thomas at gmail dot com paul.richard.thomas at gmail dot com --- Oh damn! Tobias pointed this out to me and I didn't catch on to why this could happen. I'll fix it tonight. Sorry about that Paul On 30 October

[Bug testsuite/58851] FAIL: gfortran.dg/unlimited_polymorphic_13.f90 -O0 execution test

2013-11-04 Thread paul.richard.thomas at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58851 --- Comment #10 from paul.richard.thomas at gmail dot com paul.richard.thomas at gmail dot com --- Thanks Tobias, I was completely perplexed by that - you beat me to the reply by 32 minutes :-) Cheers Paul On 4 November 2013 19:39, burnus

[Bug bootstrap/54419] [4.8 Regression] Compiling libstdc++-v3/src/c++11/random.cc fails on platforms not knowing rdrand

2012-09-10 Thread paul.richard.thomas at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54419 --- Comment #64 from paul.richard.thomas at gmail dot com paul.richard.thomas at gmail dot com 2012-09-10 10:00:09 UTC --- Seconded! In return, I promise that, as soon as I have time, I'll update to 21st century tools :-) Thanks Paul On 9

[Bug fortran/54435] [4.7/4.8 Regression] ICE with SELECT TYPE on a non-CLASS object

2012-09-10 Thread paul.richard.thomas at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54435 --- Comment #11 from paul.richard.thomas at gmail dot com paul.richard.thomas at gmail dot com 2012-09-10 13:10:30 UTC --- Dear Janus, Thanks for dealing with that. Cheers Paul On 10 September 2012 14:14, janus at gcc dot gnu.org gcc-bugzi

[Bug fortran/54690] [4.8 Regression] FAIL: gfortran.dg/typebound_operator_(7|13).f03 * (internal compiler error) after revision 191649

2012-09-24 Thread paul.richard.thomas at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54690 --- Comment #4 from paul.richard.thomas at gmail dot com paul.richard.thomas at gmail dot com 2012-09-24 15:28:52 UTC --- Looks good to me - why did this pop up now? On 24 September 2012 16:04, dominiq at lps dot ens.fr gcc-bugzi

[Bug fortran/55362] [4.6/4.7 Regression] ICE with size() on character pointer

2013-03-03 Thread paul.richard.thomas at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55362 --- Comment #7 from paul.richard.thomas at gmail dot com paul.richard.thomas at gmail dot com 2013-03-03 18:09:08 UTC --- Thanks Mikael, I have been in the middle of one of my no gfortran periods. I am back in France next week

[Bug fortran/52227] [OOP] TARGET attribute mishandled in polymorphic types

2012-07-13 Thread paul.richard.thomas at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52227 --- Comment #3 from paul.richard.thomas at gmail dot com paul.richard.thomas at gmail dot com 2012-07-13 15:10:52 UTC --- Hmmm! OK - I guess that we need class_pointer/class_target/class_allocatable attributes that are retained by the symbol

[Bug fortran/61780] [4.8/4.9 Regression] Wrong code when shifting elements of a multidimensional array

2014-07-14 Thread paul.richard.thomas at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61780 --- Comment #6 from paul.richard.thomas at gmail dot com paul.richard.thomas at gmail dot com --- Dear Richie, Thanks for doing that. I was going to do 4.8 as soon as I had a moment and would have changed the summary then. As it happens, I

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

2014-07-21 Thread paul.richard.thomas at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61831 --- Comment #32 from paul.richard.thomas at gmail dot com paul.richard.thomas at gmail dot com --- Dear Dominique, The problem is due to: atmp.10.offset = 0; { integer(kind=8) S.12; S

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

2014-07-22 Thread paul.richard.thomas at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61831 --- Comment #34 from paul.richard.thomas at gmail dot com paul.richard.thomas at gmail dot com --- Hi Dominique, Should one be getting false? It seems to me that the code looks right. within the do loop: new_prt_spec ([string_t's]) produces

[Bug fortran/59414] [4.8/4.9 Regression] [OOP] ICE in in gfc_conv_expr_descriptor on ALLOCATE inside SELECT TYPE

2014-01-26 Thread paul.richard.thomas at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59414 --- Comment #15 from paul.richard.thomas at gmail dot com paul.richard.thomas at gmail dot com --- I hadn't forgotten - I will be back in France tomorrow night and will deal with it then. Cheers Paul On Jan 26, 2014 3:31 PM, mikael at gcc dot

[Bug fortran/60066] Bad elemental invocation of non-scalar base object

2014-02-05 Thread paul.richard.thomas at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60066 --- Comment #7 from paul.richard.thomas at gmail dot com paul.richard.thomas at gmail dot com --- The patch submission (1st February) said: That must be one of the fastest reviews on record! Committed as revision 207389 4.7 and 4.8 to follow

[Bug fortran/60066] Bad elemental invocation of non-scalar base object

2014-02-07 Thread paul.richard.thomas at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60066 --- Comment #9 from paul.richard.thomas at gmail dot com paul.richard.thomas at gmail dot com --- Dear All, I propose to add the attached to the testsuite. It is the testcase from PR60066, which was fixed by the patch for PR59066. OK for trunk

[Bug fortran/49636] [F03] ASSOCIATE construct confused with slightly complicated case

2014-02-12 Thread paul.richard.thomas at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49636 --- Comment #6 from paul.richard.thomas at gmail dot com paul.richard.thomas at gmail dot com --- Dear Dominique, Thanks for the heads-up about -m32 - I thought that the code would be immune to word length changes ***sigh*** Cheers Paul

[Bug fortran/59198] [4.7/4.8/4.9 Regression] ICE on cyclically dependent polymorphic types

2014-02-22 Thread paul.richard.thomas at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59198 --- Comment #8 from paul.richard.thomas at gmail dot com paul.richard.thomas at gmail dot com --- Hi Tobias, I tried giving rng_t a component to avoid that - it didn't work :-( Cheers Paul On 22 February 2014 16:35, burnus at gcc dot gnu.org

[Bug fortran/59198] [4.7/4.8/4.9 Regression] ICE on cyclically dependent polymorphic types

2014-02-24 Thread paul.richard.thomas at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59198 --- Comment #10 from paul.richard.thomas at gmail dot com paul.richard.thomas at gmail dot com --- A further small remark, when the explicit interface for obs1_int is turned to a subroutine, everything works perfectly. I am homing

[Bug fortran/59198] [4.7/4.8/4.9 Regression] ICE on cyclically dependent polymorphic types

2014-02-25 Thread paul.richard.thomas at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59198 --- Comment #12 from paul.richard.thomas at gmail dot com paul.richard.thomas at gmail dot com --- Dear Tobias, I think that I have see the light! In a particularly uninteresting part of our Board Meeting, I took a look at the Doxygen

[Bug fortran/61780] [4.8/4.9/4.10 Regression] Wrong code when shifting elements of a multidimensional array

2014-07-12 Thread paul.richard.thomas at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61780 --- Comment #3 from paul.richard.thomas at gmail dot com paul.richard.thomas at gmail dot com --- Dear Mikael, I didn't see your posting, which was about an hour before mine. At least we came to the same conclusion! Thanks Paul On 12 July

[Bug middle-end/50640] [4.7 Regression] FAIL: gfortran.dg/select_type_12.f03 -O (internal compiler error)

2011-11-07 Thread paul.richard.thomas at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50640 --- Comment #19 from paul.richard.thomas at gmail dot com paul.richard.thomas at gmail dot com 2011-11-07 11:00:47 UTC --- Dear Tobias, I have been keeping out of this for the time being because I want to get some of the final OOP array issues

[Bug middle-end/50640] [4.7 Regression] FAIL: gfortran.dg/select_type_12.f03 -O (internal compiler error)

2011-11-10 Thread paul.richard.thomas at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50640 --- Comment #23 from paul.richard.thomas at gmail dot com paul.richard.thomas at gmail dot com 2011-11-10 11:09:02 UTC --- Dear Tobias, I tried this, in the hope of fixing a problem that I have with the last big part of the class array patch

[Bug fortran/51529] [OOP] gfortran.dg/class_to_type_1.f03 is miscompiled: Uninitialized variable used

2011-12-14 Thread paul.richard.thomas at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51529 --- Comment #3 from paul.richard.thomas at gmail dot com paul.richard.thomas at gmail dot com 2011-12-14 08:55:08 UTC --- Dear Tobias, However, I do now understand why one needs for SOURCE= to memset the source to NULL - at least as long _copy

[Bug fortran/43829] Scalarization of reductions

2011-10-04 Thread paul.richard.thomas at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43829 --- Comment #36 from paul.richard.thomas at gmail dot com paul.richard.thomas at gmail dot com 2011-10-04 16:04:48 UTC --- Dear Michael, I agree - we need the most up to date version to be (re-)submitted. I will review it. Cheers Paul On Tue

[Bug fortran/43829] Scalarization of reductions

2011-10-05 Thread paul.richard.thomas at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43829 --- Comment #38 from paul.richard.thomas at gmail dot com paul.richard.thomas at gmail dot com 2011-10-05 06:40:45 UTC --- Dear Mikael, Very good - I'll give it urgent attention as soon as it appears. Cheers Paul On Tue, Oct 4, 2011 at 11:56

[Bug fortran/47844] Array stride ignored for pointer-valued function results

2011-10-05 Thread paul.richard.thomas at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47844 --- Comment #6 from paul.richard.thomas at gmail dot com paul.richard.thomas at gmail dot com 2011-10-05 14:35:14 UTC --- Dear Tobias and Dominique, We could fix this in 4.7 by adding a sm field to array descriptors. If we added the sm field

[Bug fortran/43829] Scalarization of reductions

2011-10-09 Thread paul.richard.thomas at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43829 --- Comment #44 from paul.richard.thomas at gmail dot com paul.richard.thomas at gmail dot com 2011-10-09 09:48:00 UTC --- Dear Mikael, I have duly loaded up your patch - it looks very slick and professional; it even works as intended

[Bug fortran/44945] [4.6 Regression] Wrong decl for module vars / FAIL: gfortran.dg/char_array_structure_constructor.f90

2011-02-19 Thread paul.richard.thomas at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44945 --- Comment #32 from paul.richard.thomas at gmail dot com paul.richard.thomas at gmail dot com 2011-02-19 15:07:03 UTC --- Dear Tobias, Aha, you have taken the simple route of modifying trans-decl.c and not the whole module reading apparatus

[Bug fortran/46244] gfc_compare_derived_types is buggy

2011-02-21 Thread paul.richard.thomas at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46244 --- Comment #16 from paul.richard.thomas at gmail dot com paul.richard.thomas at gmail dot com 2011-02-21 08:25:51 UTC --- Dear Mikael, snip Actually none of the gfc_compare_type/gfc_TK_compatible changes are absolutely necessary

[Bug fortran/47846] Deferred-string length: Length is wrong

2011-02-22 Thread paul.richard.thomas at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47846 --- Comment #1 from paul.richard.thomas at gmail dot com paul.richard.thomas at gmail dot com 2011-02-22 10:09:57 UTC --- Jerry, You are not the only one :-) Tobias, I'll take a look-see tonight. Cheers Paul On Tue, Feb 22, 2011 at 10:31 AM

[Bug fortran/44352] ICE in string_to_single_character

2011-02-27 Thread paul.richard.thomas at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44352 --- Comment #14 from paul.richard.thomas at gmail dot com paul.richard.thomas at gmail dot com 2011-02-28 06:47:38 UTC --- Dear Mikael, It needs the backporting that Thomas suggested. I have been away from home for a bit and so have not had

[Bug fortran/48059] [4.6 Regression][OOP] ICE in in gfc_conv_component_ref: character function of extended type

2011-03-11 Thread paul.richard.thomas at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48059 --- Comment #9 from paul.richard.thomas at gmail dot com paul.richard.thomas at gmail dot com 2011-03-11 15:51:31 UTC --- Janus, That looks like the right way to go. Do you understand how this can be a regression, whilst the correct interface

[Bug fortran/48059] [4.6 Regression][OOP] ICE in in gfc_conv_component_ref: character function of extended type

2011-03-12 Thread paul.richard.thomas at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48059 --- Comment #12 from paul.richard.thomas at gmail dot com paul.richard.thomas at gmail dot com 2011-03-12 16:07:47 UTC --- Ha! That's what I suspected. Good. I'll OK the submission. Thanks Paul PS I'll keep quiet about it being a bit

[Bug fortran/48955] [4.6/4.7 Regression] Wrong result for array assignment due to missing temporary

2011-05-16 Thread paul.richard.thomas at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48955 --- Comment #6 from paul.richard.thomas at gmail dot com paul.richard.thomas at gmail dot com 2011-05-16 12:48:32 UTC --- Indeed - I just need to find the time to sort out the logic. Structurally the patch is OK. Cheers Paul On Mon, May 16

[Bug fortran/48955] [4.6/4.7 Regression] Wrong result for array assignment due to missing temporary

2011-05-24 Thread paul.richard.thomas at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48955 --- Comment #11 from paul.richard.thomas at gmail dot com paul.richard.thomas at gmail dot com 2011-05-24 09:43:32 UTC --- Dear Thomas, With your patch, what is the difference between GFC_CAN_REVERSE and GFC_REVERSE_NOT_SET? Perhaps

[Bug fortran/47516] testsuite failure: realloc_on_assign_2.f03 (with --disable-bootstrap)

2011-06-18 Thread paul.richard.thomas at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47516 --- Comment #7 from paul.richard.thomas at gmail dot com paul.richard.thomas at gmail dot com 2011-06-18 08:45:08 UTC --- Dear All, It was never there for me :-) Yes, please close it. Cheers Paul On 6/17/11, burnus at gcc dot gnu.org gcc

[Bug fortran/47348] wrong string length with array constructor

2011-01-22 Thread paul.richard.thomas at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47348 --- Comment #5 from paul.richard.thomas at gmail dot com paul.richard.thomas at gmail dot com 2011-01-22 16:50:00 UTC --- Dear Thomas, Paul, this is a case of something (trans-*?) picking up the wrong string length and ignoring the substring

[Bug fortran/47516] ICE with reallocate on assignment w/ --disable-bootstrap

2011-01-28 Thread paul.richard.thomas at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47516 --- Comment #1 from paul.richard.thomas at gmail dot com paul.richard.thomas at gmail dot com 2011-01-28 15:14:24 UTC --- gcc version 4.5.0 20100604??? version is marked as 4.6.0 Paul On Fri, Jan 28, 2011 at 3:59 PM, burnus at gcc dot gnu.org

[Bug fortran/47519] Deferred-length string wrong results with character intrinsic functions

2011-01-30 Thread paul.richard.thomas at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47519 --- Comment #5 from paul.richard.thomas at gmail dot com paul.richard.thomas at gmail dot com 2011-01-31 07:26:23 UTC --- This is regtesting as I right but I am sure that it is good. That does indeed regtest OK. Paul

[Bug fortran/47592] Multiple function invocation with ALLOCATE (SOURCE=REPEAT('x',bar()))

2011-02-02 Thread paul.richard.thomas at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47592 --- Comment #1 from paul.richard.thomas at gmail dot com paul.richard.thomas at gmail dot com 2011-02-03 07:43:13 UTC --- Hi Thomas, I was aware of the potential for functions with side effects to screw up ALLOCATE with source. I believe

[Bug fortran/47463] [OOP] ICE in gfc_add_component_ref

2011-02-09 Thread paul.richard.thomas at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47463 --- Comment #17 from paul.richard.thomas at gmail dot com paul.richard.thomas at gmail dot com 2011-02-10 05:24:24 UTC --- Dear Janus, Apparently it's not needed, since removing the line does not introduce any regressions in the testsuite

[Bug fortran/46896] [4.3/4.4/4.5/4.6 Regression] Wrong code with transpose(a) passed to subroutine

2011-02-14 Thread paul.richard.thomas at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46896 --- Comment #15 from paul.richard.thomas at gmail dot com paul.richard.thomas at gmail dot com 2011-02-14 13:08:13 UTC --- Tobias, You shame me - I undertook to do something with this one and did not. I do not know that the fix is compatible

[Bug fortran/46339] [4.3/4.4/4.5/4.6 Regression] ICE (segfault) in gfc_trans_pointer_assignment

2010-11-16 Thread paul.richard.thomas at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46339 --- Comment #18 from paul.richard.thomas at gmail dot com paul.richard.thomas at gmail dot com 2010-11-16 15:04:39 UTC --- Dear Tobias, If my understanding is correct, we can either try to extend the 'span' hack to make it work for more cases

[Bug fortran/46678] [4.6 Regression] Wrong code with strings

2010-12-02 Thread paul.richard.thomas at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46678 --- Comment #13 from paul.richard.thomas at gmail dot com paul.richard.thomas at gmail dot com 2010-12-02 13:33:38 UTC --- Semms to me that Jerry should do the honours :-) Paul On Thu, Dec 2, 2010 at 1:45 PM, burnus at gcc dot gnu.org gcc-bugzi

[Bug fortran/52012] [4.6/4.7 Regression] Wrong-code with realloc on assignment and RESHAPE w/ ORDER=

2012-01-31 Thread paul.richard.thomas at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52012 --- Comment #7 from paul.richard.thomas at gmail dot com paul.richard.thomas at gmail dot com 2012-01-31 08:23:18 UTC --- Dear Tobias, Thanks for fixing the more pressing issue. (I think the other issue - second item in comment 4

[Bug fortran/52265] [OOP] TREE dump confusing with nested SELECT TYPE

2012-02-15 Thread paul.richard.thomas at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52265 --- Comment #1 from paul.richard.thomas at gmail dot com paul.richard.thomas at gmail dot com 2012-02-16 06:58:10 UTC --- Dear Tobias, I have encountered this in the work on PR41600. I thought to append a numeric identifier that increments

[Bug fortran/63553] [OOP] Wrong code when assigning a CLASS to a TYPE

2014-10-16 Thread paul.richard.thomas at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63553 paul.richard.thomas at gmail dot com paul.richard.thomas at gmail dot com changed: What|Removed |Added CC

[Bug fortran/63205] [OOP] Wrongly rejects type = class (for identical declared type)

2014-10-28 Thread paul.richard.thomas at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63205 paul.richard.thomas at gmail dot com paul.richard.thomas at gmail dot com changed: What|Removed |Added CC

[Bug fortran/63205] [OOP] Wrongly rejects type = class (for identical declared type)

2014-11-16 Thread paul.richard.thomas at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63205 paul.richard.thomas at gmail dot com paul.richard.thomas at gmail dot com changed: What|Removed |Added Attachment #33834|0

[Bug fortran/63205] [OOP] Wrongly rejects type = class (for identical declared type)

2014-12-09 Thread paul.richard.thomas at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63205 paul.richard.thomas at gmail dot com paul.richard.thomas at gmail dot com changed: What|Removed |Added Attachment #33995|0

[Bug fortran/55901] [OOP] type is (character(len=*)) misinterpreted as array

2014-12-14 Thread paul.richard.thomas at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55901 paul.richard.thomas at gmail dot com paul.richard.thomas at gmail dot com changed: What|Removed |Added CC

[Bug fortran/55901] [OOP] type is (character(len=*)) misinterpreted as array

2014-12-14 Thread paul.richard.thomas at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55901 --- Comment #9 from paul.richard.thomas at gmail dot com paul.richard.thomas at gmail dot com --- By the way, the patch of comment 8 bootstraps and regtests OK Paul

[Bug fortran/59198] [4.8/4.9/5 Regression] ICE on cyclically dependent polymorphic types

2014-12-26 Thread paul.richard.thomas at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59198 --- Comment #17 from paul.richard.thomas at gmail dot com paul.richard.thomas at gmail dot com --- However, it is a patch that doesn't do the job. Cheers Paul On Dec 26, 2014 2:35 PM, dominiq at lps dot ens.fr gcc-bugzi...@gcc.gnu.org wrote

[Bug fortran/62044] [4.8/4.9 Regression] ICE in USE statement with RENAME for extended derived type

2015-01-26 Thread paul.richard.thomas at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62044 --- Comment #12 from paul.richard.thomas at gmail dot com paul.richard.thomas at gmail dot com --- Dear All, As I just said on #gfortran, the previous explanation is wrong. The problem is that, for the mold= case with no default initializer

[Bug fortran/62044] [4.8/4.9 Regression] ICE in USE statement with RENAME for extended derived type

2015-01-26 Thread paul.richard.thomas at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62044 --- Comment #11 from paul.richard.thomas at gmail dot com paul.richard.thomas at gmail dot com --- Dear Dominique, For some reason, the hash values are different in the vtable and the TYPE IS. I had always worried that that we would have

[Bug fortran/62044] [4.8/4.9 Regression] ICE in USE statement with RENAME for extended derived type

2015-01-26 Thread paul.richard.thomas at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62044 --- Comment #10 from paul.richard.thomas at gmail dot com paul.richard.thomas at gmail dot com --- Hi Mikael, Yes, you will see from my comment on the PR that I had come to the same conclusion. However, rather than take PR62044 as a place

[Bug fortran/64932] [4.9/5 Regression] ICE in gfc_conv_descriptor_data_get for generated finalizer

2015-02-08 Thread paul.richard.thomas at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64932 --- Comment #4 from paul.richard.thomas at gmail dot com paul.richard.thomas at gmail dot com --- Dear All, It would be nice to commit this tonight, if possible. An impetus to do this is added by Dominique pointing out that it fixes PRs 59765

[Bug fortran/64578] [OOP] Seg-fault and ICE with unlimited polymorphic array pointer function

2015-01-14 Thread paul.richard.thomas at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64578 paul.richard.thomas at gmail dot com paul.richard.thomas at gmail dot com changed: What|Removed |Added CC

[Bug fortran/64578] [OOP] Seg-fault and ICE with unlimited polymorphic array pointer function

2015-01-16 Thread paul.richard.thomas at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64578 --- Comment #10 from paul.richard.thomas at gmail dot com paul.richard.thomas at gmail dot com --- This fixes the other part of the problem: *** gfc_trans_pointer_assignment (gfc_expr * *** 6917,6922 --- 7033,7039

[Bug fortran/57959] [F03] ICE with structure constructor with scalar allocatable components

2015-01-18 Thread paul.richard.thomas at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57959 --- Comment #6 from paul.richard.thomas at gmail dot com paul.richard.thomas at gmail dot com --- Committed to trunk as revision 219818. Change logs correct in 219819. Sorry for the mess. Paul

[Bug fortran/57959] [F03] ICE with structure constructor with scalar allocatable components

2015-01-18 Thread paul.richard.thomas at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57959 --- Comment #5 from paul.richard.thomas at gmail dot com paul.richard.thomas at gmail dot com --- The incorrect PR numbers in the Change Logs have been corrected.

[Bug fortran/57959] [F03] ICE with structure constructor with scalar allocatable components

2015-01-18 Thread paul.richard.thomas at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57959 paul.richard.thomas at gmail dot com paul.richard.thomas at gmail dot com changed: What|Removed |Added CC

[Bug fortran/64578] [OOP] Seg-fault and ICE with unlimited polymorphic array pointer function

2015-01-18 Thread paul.richard.thomas at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64578 --- Comment #14 from paul.richard.thomas at gmail dot com paul.richard.thomas at gmail dot com --- Ignore comment 13! I screwed up the Change Logs for PR57959. Paul

[Bug fortran/64578] [OOP] Seg-fault and ICE with unlimited polymorphic array pointer function

2015-01-18 Thread paul.richard.thomas at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64578 --- Comment #15 from paul.richard.thomas at gmail dot com paul.richard.thomas at gmail dot com --- (In reply to Dominique d'Humieres from comment #12) AFAICT gfortran.dg/unlimited_polymorphic_21.f90 has not yet been committed. You

[Bug fortran/63553] [OOP] Wrong code when assigning a CLASS to a TYPE

2015-02-11 Thread paul.richard.thomas at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63553 --- Comment #7 from paul.richard.thomas at gmail dot com paul.richard.thomas at gmail dot com --- For sure. Please do. Thanks Paul On 11 February 2015 at 18:25, dominiq at lps dot ens.fr gcc-bugzi...@gcc.gnu.org wrote: https://gcc.gnu.org

[Bug fortran/62044] [4.8/4.9 Regression] ICE in USE statement with RENAME for extended derived type

2015-01-25 Thread paul.richard.thomas at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62044 paul.richard.thomas at gmail dot com paul.richard.thomas at gmail dot com changed: What|Removed |Added CC

[Bug fortran/64986] class_to_type_4.f90: valgrind error: Invalid read/write of size 8

2015-02-13 Thread paul.richard.thomas at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64986 --- Comment #3 from paul.richard.thomas at gmail dot com paul.richard.thomas at gmail dot com --- Dear Uros and Dominique, I'll try to get to this when I can. I have a horrible feeling that it is the old problem of array constructors within

[Bug fortran/55901] [OOP] type is (character(len=*)) misinterpreted as array

2015-01-07 Thread paul.richard.thomas at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55901 --- Comment #11 from paul.richard.thomas at gmail dot com paul.richard.thomas at gmail dot com --- Hi Harald, Happy New Year! I have been away in Claifornia these last few weeks and just got back last night. I am working with Andre on pr60255

[Bug fortran/65045] [4.8/4.9/5 Regression] ICE when using the same name for a block and a variable.

2015-03-12 Thread paul.richard.thomas at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65045 --- Comment #4 from paul.richard.thomas at gmail dot com paul.richard.thomas at gmail dot com --- Hi Tobias, Thanks. I found one or two similar testcases that still fail. As soon as I find some time, I will submit a complete fix. How

[Bug fortran/64952] Missing temporary in assignment from elemental function

2015-03-23 Thread paul.richard.thomas at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64952 --- Comment #6 from paul.richard.thomas at gmail dot com paul.richard.thomas at gmail dot com --- Dear Mikael, The pureness is also confused by the C pure, which is whiter than white pure. I agree with your last remark about the standards

[Bug fortran/58754] [4.8/4.9/5/6 Regression] ICE on allocating character array with source

2015-04-17 Thread paul.richard.thomas at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58754 --- Comment #9 from paul.richard.thomas at gmail dot com paul.richard.thomas at gmail dot com --- Ah that's a pity. I thought that 5.0 had closed when Tobias was panicking about his co-array patch. I didn't think to check. Cheers Paul On 17

[Bug fortran/66079] [6 Regression] memory leak with source allocation in internal subprogram

2015-08-04 Thread paul.richard.thomas at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66079 --- Comment #11 from paul.richard.thomas at gmail dot com paul.richard.thomas at gmail dot com --- Hi Mikael, It looks like my finger slipped on the mouse wheel - I'll put it right tonight. Thanks Paul On 4 August 2015 at 11:27, mikael

[Bug fortran/64986] class_to_type_4.f90: valgrind error: Invalid read/write of size 8

2015-07-23 Thread paul.richard.thomas at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64986 --- Comment #13 from paul.richard.thomas at gmail dot com paul.richard.thomas at gmail dot com --- Dear Mikael, A good principle in general is to assume cock-up, rather than conspiracy :-) The reason for this spreading between two functions

[Bug fortran/52846] [F2008] Support submodules

2015-07-16 Thread paul.richard.thomas at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52846 --- Comment #10 from paul.richard.thomas at gmail dot com paul.richard.thomas at gmail dot com --- Hi Salvatore, If you could reduce the source that produces this error for me, I would be grateful. By the looks of it, the name mangling

[Bug fortran/65045] [4.9/5/6 Regression] ICE when using the same name for a block and a variable.

2015-10-27 Thread paul.richard.thomas at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65045 --- Comment #8 from paul.richard.thomas at gmail dot com --- I have been working my through my backlog of patches/PRs as you might have noticed. This one, being a regression is next but two :-) Cheers Paul On 27 October 2015 at 18:30, dominiq

[Bug fortran/57117] [OOP] ICE for sourced allocation of a polymorphic entity using TRANSPOSE

2015-10-28 Thread paul.richard.thomas at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57117 --- Comment #7 from paul.richard.thomas at gmail dot com --- Dear Dominique, That is entirely possible. I concentrated exclusively on reshape. I will have a look at the original problem later. Thanks a lot Paul On 28 October 2015 at 18:24

[Bug fortran/67933] [5 Regression] ICE for array of a derived type with allocatable class in derived type object

2015-10-28 Thread paul.richard.thomas at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67933 --- Comment #8 from paul.richard.thomas at gmail dot com --- Thanks for the heads up. There is something wierd going on here - There is no sign of this error on my system. Obviously, I will remove the testcase this evening and will try to fix

[Bug fortran/68243] QOI: no warning about unused entities in submodules

2015-11-08 Thread paul.richard.thomas at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68243 --- Comment #4 from paul.richard.thomas at gmail dot com --- Sorry! Wrong PR. On 8 November 2015 at 11:18, pault at gcc dot gnu.org <gcc-bugzi...@gcc.gnu.org> wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68243 > >

[Bug fortran/57117] [OOP] ICE for sourced allocation of a polymorphic entity using TRANSPOSE

2015-10-30 Thread paul.richard.thomas at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57117 --- Comment #11 from paul.richard.thomas at gmail dot com --- Dear Dominique, That's odd, it does fine with reshape on my machine sigh Could you send me the error, please? pack generates a completely new ICE in the most peculiar place

[Bug fortran/68216] [F2003] IO problem with allocatable, deferred character length arrays

2015-11-06 Thread paul.richard.thomas at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68216 --- Comment #4 from paul.richard.thomas at gmail dot com --- Dear Dominique, I think that a meta-bug would be an excellent idea. I am 5 regressions away from a fix for this PR. I'll get the patch to you over the weekend. Many thanks for your

[Bug fortran/52010] [OOP] Intrinsic assignment of a CLASS to a TYPE

2015-10-18 Thread paul.richard.thomas at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52010 --- Comment #10 from paul.richard.thomas at gmail dot com --- Hi Dominique, I was about to close this one right now :-) Thanks Paul On 18 October 2015 at 22:54, dominiq at lps dot ens.fr <gcc-bugzi...@gcc.gnu.org> wrote: &

[Bug fortran/67977] allocatable strings, array section reallocated - non-standard behaviour

2015-10-19 Thread paul.richard.thomas at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67977 --- Comment #5 from paul.richard.thomas at gmail dot com --- Hi David, Yes it does. Thank you for bring this PR to my attention. I'll mark it appropriately. Cheers Paul On 19 October 2015 at 13:42, davidgkinniburgh at yahoo dot co.uk <

[Bug fortran/67174] [6 regression] gfortran.dg/do_iterator.f90 FAILs

2015-08-31 Thread paul.richard.thomas at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67174 --- Comment #4 from paul.richard.thomas at gmail dot com --- Dear Rainer, I am not so sure that it is a kernel bug but, rather, it could be a gcc bug that is affected by differences in the kernel. It seems to me that this has crept in since

[Bug fortran/66762] ICE when compiling gfortran.dg/submodule_[16].f90 with -flto

2015-09-06 Thread paul.richard.thomas at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66762 --- Comment #6 from paul.richard.thomas at gmail dot com --- We need to get an lto expert to take a look. Cheers Paul On 6 September 2015 at 03:13, dominiq at lps dot ens.fr <gcc-bugzi...@gcc.gnu.org> wrote: > https://gcc.gnu.org

[Bug fortran/67567] resolve.c: gfc_error called with iface->module == NULL

2015-09-26 Thread paul.richard.thomas at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67567 --- Comment #9 from paul.richard.thomas at gmail dot com --- Fixed as 'obvious' in revision: 228169. Cheers Paul 2013-09-26 Paul Thomas <pa...@gcc.gnu.org> PR fortran/67567 * resolve.c (resolve_fl_procedure): For module proc

[Bug fortran/68676] ICE in gfc_match_formal_arglist when compiling gfortran.dg/submodule_10.f08

2015-12-04 Thread paul.richard.thomas at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68676 --- Comment #5 from paul.richard.thomas at gmail dot com --- As promised, I am working to fix this. Thanks for your contributions. Paul On 4 December 2015 at 10:59, ubizjak at gmail dot com <gcc-bugzi...@gcc.gnu.org> wrote: &

[Bug fortran/67779] Strange ordering with strings in extended object

2015-12-29 Thread paul.richard.thomas at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67779 --- Comment #18 from paul.richard.thomas at gmail dot com --- It works for me - a mystery for tomorrow :-) Paul On 29 December 2015 at 23:10, dominiq at lps dot ens.fr <gcc-bugzi...@gcc.gnu.org> wrote: > https://gcc.gnu.org

[Bug fortran/54070] [4.9/5/6 Regression] Wrong code with allocatable deferred-length (array) function results

2015-12-17 Thread paul.richard.thomas at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54070 --- Comment #27 from paul.richard.thomas at gmail dot com --- ...so ragged in fact that it fails at all levels of optimization I have not had time these last days to come back to it and understand why. Something for the holidays! Paul

[Bug fortran/68147] Potential incorrect code generation for string self-assignment

2016-06-22 Thread paul.richard.thomas at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68147 --- Comment #11 from paul.richard.thomas at gmail dot com --- When I have a moment, I intend to fix 5- and 6-branches. Cheers Paul On 22 June 2016 at 16:12, dominiq at lps dot ens.fr <gcc-bugzi...@gcc.gnu.org> wrote: > https://gc

[Bug fortran/44265] Link error with reference to parameter array in specification expression

2016-06-18 Thread paul.richard.thomas at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44265 --- Comment #15 from paul.richard.thomas at gmail dot com --- Dear Ian, Aaah, OK. I was rather impressed by what you had done with the first bug :-) For some reason, one of the symbols is not being committed. I will try and figure out why

[Bug fortran/69385] [6 regression] ICE on valid with -fcheck=mem

2016-01-21 Thread paul.richard.thomas at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69385 --- Comment #6 from paul.richard.thomas at gmail dot com --- Dear Janus, It's good to hear from you. As you will have seen, I have posted a fix for the first problem and have another fix in the pipeline for the problem in comment #5. I'll

[Bug fortran/69385] [6 regression] ICE on valid with -fcheck=mem

2016-01-25 Thread paul.richard.thomas at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69385 --- Comment #14 from paul.richard.thomas at gmail dot com --- Hi Janus, Would you be so good as to OK this patch to the list? Thanks Paul On 22 January 2016 at 12:50, janus at gcc dot gnu.org <gcc-bugzi...@gcc.gnu.org> wrote: &

[Bug fortran/69834] Collision in derived type hashes

2016-02-16 Thread paul.richard.thomas at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69834 --- Comment #2 from paul.richard.thomas at gmail dot com --- Thanks Thomas! Sorry that I missed your PR. I wonder what, if anything, we should do about it? Cheers Paul On 16 February 2016 at 11:54, tkoenig at gcc dot gnu.org <gcc-bu

[Bug fortran/63232] Deferred length character field of derived type looses its value when used in subroutine call

2016-02-21 Thread paul.richard.thomas at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63232 --- Comment #3 from paul.richard.thomas at gmail dot com --- Hi Dominiq, It works for me on 5-branch and trunk. Confirmed fixed :-) Cheers Paul On 21 February 2016 at 17:12, dominiq at lps dot ens.fr <gcc-bugzi...@gcc.gnu.org> wrote: &

[Bug fortran/71883] [5/6/7 Regression] ICE in identical_array_ref, at fortran/dependency.c:104

2016-07-22 Thread paul.richard.thomas at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71883 --- Comment #6 from paul.richard.thomas at gmail dot com --- Hi Steve, Thanks, you beat me to it! Cheers Paul PS Since I caused this regression, perhaps I should take it on :-) On 22 July 2016 at 16:45, kargl at gcc dot gnu.org <gcc-bu

[Bug fortran/68147] Potential incorrect code generation for string self-assignment

2016-07-30 Thread paul.richard.thomas at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68147 --- Comment #13 from paul.richard.thomas at gmail dot com --- Dear Dominique, With one thing and another, I completely forgot about the backport. Yes, please do. I am not able to do commits fo the next week. Thanks Paul On 30 July 2016 at 11

[Bug fortran/72699] [6/7 Regression] ICE in gfc_check_dependency, at fortran/dependency.c:1257

2016-08-05 Thread paul.richard.thomas at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72699 --- Comment #5 from paul.richard.thomas at gmail dot com --- Hi Dominique, You are quite right about the revision that fixes this PR, whose existence I hadn't noticed. Thanks for closing it. Cheers Paul On 5 August 2016 at 14:13, dominiq

[Bug fortran/79382] DTIO ICE

2017-02-06 Thread paul.richard.thomas at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79382 --- Comment #5 from paul.richard.thomas at gmail dot com --- Hi Walt, My reading of the situation is that since, in this version, the generic procedure is typebound in a public derived type, the PUBLIC attribute is already accorded it. I

[Bug fortran/71838] ICE with OpenCoarrays on submodule

2017-02-27 Thread paul.richard.thomas at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71838 --- Comment #14 from paul.richard.thomas at gmail dot com --- Hi Anton, Did you take on board that it is the procedure dummy argument that causes the problem? A viable workaround is to: s/procedure( cgca_clvgs_abstract ) :: sub/external :: sub

[Bug fortran/77390] generates INDIRECT_REF of void type

2016-10-01 Thread paul.richard.thomas at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77390 --- Comment #2 from paul.richard.thomas at gmail dot com --- Dear Dominique, I don't think that the problems are connected. I am having a problem with a vtable that gets generated in a submodule and so has an address different from

  1   2   >