--- Comment #17 from clerman at fuse dot net 2010-08-05 13:03 ---
Subject: Re: [4.6 Regression] ICE in
output_constructor_regular_field, at varasm.c:4996
Hello,
Your fix worked fine, and I am now again able to build my application. Thanks
again.
Yours truly,
Norm
Norman S. Clerm
--- Comment #16 from burnus at gcc dot gnu dot org 2010-08-04 18:49 ---
Subject: Bug 44857
Author: burnus
Date: Wed Aug 4 18:49:23 2010
New Revision: 162871
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162871
Log:
2010-08-04 Tobias Burnus
PR fortran/45183
--- Comment #15 from clerman at fuse dot net 2010-08-04 14:18 ---
Subject: Re: [4.6 Regression] ICE in
output_constructor_regular_field, at varasm.c:4996
You're welcome. Thanks for your help.
Norm
burnus at gcc dot gnu dot org wrote:
=
--- Comment #14 from
--- Comment #14 from burnus at gcc dot gnu dot org 2010-08-04 11:53 ---
FIXED on the trunk (4.6). Thanks for the report!
--
burnus at gcc dot gnu dot org changed:
What|Removed |Added
-
--- Comment #13 from burnus at gcc dot gnu dot org 2010-08-04 11:51 ---
Subject: Bug 44857
Author: burnus
Date: Wed Aug 4 11:51:32 2010
New Revision: 162863
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162863
Log:
2010-08-04 Tobias Burnus
PR fortran/44857
--- Comment #12 from dominiq at lps dot ens dot fr 2010-08-03 17:04 ---
With the patch in comment #11 I get for the first tests of pr44857 and pr45092:
f951: internal compiler error: in resolve_structure_cons, at
fortran/resolve.c:931
These ICEs go away if I remove the lines
+
--- Comment #11 from burnus at gcc dot gnu dot org 2010-08-03 16:06 ---
Created an attachment (id=21380)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21380&action=view)
Better patch
Fixed (b) by creating an array constructor - and fall through to the code for
(a); fix (c) by addi
--- Comment #10 from burnus at gcc dot gnu dot org 2010-08-03 15:35 ---
(In reply to comment #9)
b) TODO: Using the following is valid but gives the same ICE than constructors
> with out the patch:
s/than/as/
> d) One could consider warning about truncation (with -Wcharacter-truncation
--- Comment #9 from burnus at gcc dot gnu dot org 2010-08-03 15:33 ---
Created an attachment (id=21377)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21377&action=view)
Draft patch (for init-expr char constructors only)
Some notes (all the following is about character strings):
*
--- Comment #8 from burnus at gcc dot gnu dot org 2010-08-03 14:35 ---
*** Bug 45092 has been marked as a duplicate of this bug. ***
--
burnus at gcc dot gnu dot org changed:
What|Removed |Added
-
--- Comment #7 from burnus at gcc dot gnu dot org 2010-07-27 13:35 ---
Different report, same problem: PR 45092
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44857
--- Comment #6 from burnus at gcc dot gnu dot org 2010-07-08 20:28 ---
(In reply to comment #5)
> compilation output
> X=3, 4.5 ok, but no truncation warning"123678"
The warning should be only printed with -Wcharacter-truncation (i.e. not by
d
--- Comment #5 from dfranke at gcc dot gnu dot org 2010-07-08 20:13 ---
(In reply to comment #4)
> I'd hazard the guess that some string length is not properly copied somewhere.
Type :: t
character (len=X) :: txt(2)
End Type
Type (t) :: tt = t((/ "12345", "67890" /))
print *
--- Comment #4 from dfranke at gcc dot gnu dot org 2010-07-08 18:23 ---
(In reply to comment #3)
> Notes:
> * the vatiable 'tt' must be used, if not used only a warning is printed, no
>ICE
> * doing the same with INTEGER instead of CHARACTER works
> * explicitly assigning the txt
--- Comment #3 from dfranke at gcc dot gnu dot org 2010-07-08 16:47 ---
Reduced testcase:
Type :: t
character (len=32) :: txt(2)
End Type
Type (t) :: tt = t(/ " ", " " /))
print *, tt
End
Notes:
* the vatiable 'tt' must be used, if not used only a warning is printed, no
IC
--- Comment #2 from burnus at gcc dot gnu dot org 2010-07-07 21:28 ---
(In reply to comment #1)
> I won't be able to start a regression hunt until this week-end.
Working: 2010-04-10-r158177
Failing: 2010-04-13-r158277
The array constructor work was merged as Rev. 158253 - thus, as writ
--- Comment #1 from jvdelisle at gcc dot gnu dot org 2010-07-07 16:24
---
I won't be able to start a regression hunt until this week-end.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44857
--
burnus at gcc dot gnu dot org changed:
What|Removed |Added
Known to fail||4.6.0
Known to work||4.5.0
Target
18 matches
Mail list logo