public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/44857]  New: [4.6 Regression] ICE in output_constructor_regular_field, at varasm.c:4996
@ 2010-07-07 13:38 burnus at gcc dot gnu dot org
  2010-07-07 13:38 ` [Bug fortran/44857] " burnus at gcc dot gnu dot org
                   ` (17 more replies)
  0 siblings, 18 replies; 19+ messages in thread
From: burnus at gcc dot gnu dot org @ 2010-07-07 13:38 UTC (permalink / raw)
  To: gcc-bugs

Juan Rodriguez-Carvajal reported at
http://gcc.gnu.org/ml/fortran/2010-07/msg00057.html

that compiling the following program ICEs with:

f951.exe: internal compiler error: in output_constructor_regular_field, at
varasm.c:4996

It works with GCC 4.5 and might be due to the constructor reorganization.



Module CFML_String_Utilities
  implicit none
  private

  Type, Public :: Err_Text_Type
    integer :: nlines
    character (len=132), dimension(5) :: txt
  End Type Err_Text_Type

  Type (Err_Text_Type), public :: Mess_FindFMT =  &
                                Err_Text_Type(0, (/" "," "," "," "," "/))
End Module CFML_String_Utilities


-- 
           Summary: [4.6 Regression] ICE in
                    output_constructor_regular_field, at varasm.c:4996
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: burnus at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44857


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug fortran/44857] [4.6 Regression] ICE in output_constructor_regular_field, at varasm.c:4996
  2010-07-07 13:38 [Bug fortran/44857] New: [4.6 Regression] ICE in output_constructor_regular_field, at varasm.c:4996 burnus at gcc dot gnu dot org
@ 2010-07-07 13:38 ` burnus at gcc dot gnu dot org
  2010-07-07 16:24 ` jvdelisle at gcc dot gnu dot org
                   ` (16 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: burnus at gcc dot gnu dot org @ 2010-07-07 13:38 UTC (permalink / raw)
  To: gcc-bugs



-- 

burnus at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |4.6.0
      Known to work|                            |4.5.0
   Target Milestone|---                         |4.6.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44857


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug fortran/44857] [4.6 Regression] ICE in output_constructor_regular_field, at varasm.c:4996
  2010-07-07 13:38 [Bug fortran/44857] New: [4.6 Regression] ICE in output_constructor_regular_field, at varasm.c:4996 burnus at gcc dot gnu dot org
  2010-07-07 13:38 ` [Bug fortran/44857] " burnus at gcc dot gnu dot org
@ 2010-07-07 16:24 ` jvdelisle at gcc dot gnu dot org
  2010-07-07 21:29 ` burnus at gcc dot gnu dot org
                   ` (15 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2010-07-07 16:24 UTC (permalink / raw)
  To: gcc-bugs



------- 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


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug fortran/44857] [4.6 Regression] ICE in output_constructor_regular_field, at varasm.c:4996
  2010-07-07 13:38 [Bug fortran/44857] New: [4.6 Regression] ICE in output_constructor_regular_field, at varasm.c:4996 burnus at gcc dot gnu dot org
  2010-07-07 13:38 ` [Bug fortran/44857] " burnus at gcc dot gnu dot org
  2010-07-07 16:24 ` jvdelisle at gcc dot gnu dot org
@ 2010-07-07 21:29 ` burnus at gcc dot gnu dot org
  2010-07-08 16:47 ` dfranke at gcc dot gnu dot org
                   ` (14 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: burnus at gcc dot gnu dot org @ 2010-07-07 21:29 UTC (permalink / raw)
  To: gcc-bugs



------- 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 written, I
think it might be due to that check in:

http://gcc.gnu.org/viewcvs?view=rev&revision=158253

Thus, the proper way is probably to find out what goes wrong rather than
looking for the breaking patch ... By the way, I stumbled over PR 22210, which
seems to be vaguely related (or obsoleted).


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44857


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug fortran/44857] [4.6 Regression] ICE in output_constructor_regular_field, at varasm.c:4996
  2010-07-07 13:38 [Bug fortran/44857] New: [4.6 Regression] ICE in output_constructor_regular_field, at varasm.c:4996 burnus at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2010-07-07 21:29 ` burnus at gcc dot gnu dot org
@ 2010-07-08 16:47 ` dfranke at gcc dot gnu dot org
  2010-07-08 18:24 ` dfranke at gcc dot gnu dot org
                   ` (13 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: dfranke at gcc dot gnu dot org @ 2010-07-08 16:47 UTC (permalink / raw)
  To: gcc-bugs



------- 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
ICE
 * doing the same with INTEGER instead of CHARACTER works
 * explicitly assigning the txt component instead of using the structure
constructor works


-- 

dfranke at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2010-07-08 16:47:36
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44857


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug fortran/44857] [4.6 Regression] ICE in output_constructor_regular_field, at varasm.c:4996
  2010-07-07 13:38 [Bug fortran/44857] New: [4.6 Regression] ICE in output_constructor_regular_field, at varasm.c:4996 burnus at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2010-07-08 16:47 ` dfranke at gcc dot gnu dot org
@ 2010-07-08 18:24 ` dfranke at gcc dot gnu dot org
  2010-07-08 20:13 ` dfranke at gcc dot gnu dot org
                   ` (12 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: dfranke at gcc dot gnu dot org @ 2010-07-08 18:24 UTC (permalink / raw)
  To: gcc-bugs



------- 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 component instead of using the structure
>    constructor works

 * if the string lengths of component and constructor match, then the 
   compilation completes successfully as well

I'd hazard the guess that some string length is not properly copied somewhere.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44857


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug fortran/44857] [4.6 Regression] ICE in output_constructor_regular_field, at varasm.c:4996
  2010-07-07 13:38 [Bug fortran/44857] New: [4.6 Regression] ICE in output_constructor_regular_field, at varasm.c:4996 burnus at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2010-07-08 18:24 ` dfranke at gcc dot gnu dot org
@ 2010-07-08 20:13 ` dfranke at gcc dot gnu dot org
  2010-07-08 20:28 ` burnus at gcc dot gnu dot org
                   ` (11 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: dfranke at gcc dot gnu dot org @ 2010-07-08 20:13 UTC (permalink / raw)
  To: gcc-bugs



------- 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 *, tt
End

             compilation                       output
X=3, 4.5      ok, but no truncation warning    "123678"
X=3, trunk    ok, but no truncation warning    "1236"     <-- wrong

X=5, 4.5      ok                               "1234567890"
X=5, trunk    ok                               "1234567890"

X=7, 4.5      ok                               "1234567890" <-- wrong?
X=7, trunk    ICE

In the last case, I'd expect the output "12345  67890  " - is 4.5 wrong here?

Possibly related functions:
  resolve.c (resolve_structure_cons)
  array.c (gfc_resolve_character_array_constructor)
  decl.c (gfc_set_constant_character_len)

Possibly related PR:
  PR42526


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44857


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug fortran/44857] [4.6 Regression] ICE in output_constructor_regular_field, at varasm.c:4996
  2010-07-07 13:38 [Bug fortran/44857] New: [4.6 Regression] ICE in output_constructor_regular_field, at varasm.c:4996 burnus at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2010-07-08 20:13 ` dfranke at gcc dot gnu dot org
@ 2010-07-08 20:28 ` burnus at gcc dot gnu dot org
  2010-07-27 13:36 ` burnus at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: burnus at gcc dot gnu dot org @ 2010-07-08 20:28 UTC (permalink / raw)
  To: gcc-bugs



------- 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
default), but I agree a warning would be nice.

> X=7, 4.5      ok                               "1234567890" <-- wrong?

As one sees from the output - the last characters are still uninitialized (i.e.
'\0' as it is static variable):
0000000    3120    3332    3534    0000    3736    3938    0030    0a00
         sp   1   2   3   4   5 nul nul   6   7   8   9   0 nul nul  nl

The issue is that the initializer is not space padded, i.e. (od -h -a)
  static struct t tt = {.txt={"12345", "67890"}};
should be
  static struct t tt = {.txt={"12345  ", "67890  "}};

For non-static initialization this works (GCC 4.5 and 4.6).


> X=3, trunk    ok, but no truncation warning    "1236"     <-- wrong

Here, the dump looks as:
  static struct t tt = {.txt={"12345", "67890"}};

Thus, in case of 4.5 we forget to pad while for 4.6 we forget to pad and to
truncate.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44857


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug fortran/44857] [4.6 Regression] ICE in output_constructor_regular_field, at varasm.c:4996
  2010-07-07 13:38 [Bug fortran/44857] New: [4.6 Regression] ICE in output_constructor_regular_field, at varasm.c:4996 burnus at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2010-07-08 20:28 ` burnus at gcc dot gnu dot org
@ 2010-07-27 13:36 ` burnus at gcc dot gnu dot org
  2010-08-03 14:35 ` burnus at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: burnus at gcc dot gnu dot org @ 2010-07-27 13:36 UTC (permalink / raw)
  To: gcc-bugs



------- 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


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug fortran/44857] [4.6 Regression] ICE in output_constructor_regular_field, at varasm.c:4996
  2010-07-07 13:38 [Bug fortran/44857] New: [4.6 Regression] ICE in output_constructor_regular_field, at varasm.c:4996 burnus at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2010-07-27 13:36 ` burnus at gcc dot gnu dot org
@ 2010-08-03 14:35 ` burnus at gcc dot gnu dot org
  2010-08-03 15:34 ` burnus at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: burnus at gcc dot gnu dot org @ 2010-08-03 14:35 UTC (permalink / raw)
  To: gcc-bugs



------- 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
----------------------------------------------------------------------------
                 CC|                            |clerman at fuse dot net


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44857


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug fortran/44857] [4.6 Regression] ICE in output_constructor_regular_field, at varasm.c:4996
  2010-07-07 13:38 [Bug fortran/44857] New: [4.6 Regression] ICE in output_constructor_regular_field, at varasm.c:4996 burnus at gcc dot gnu dot org
                   ` (8 preceding siblings ...)
  2010-08-03 14:35 ` burnus at gcc dot gnu dot org
@ 2010-08-03 15:34 ` burnus at gcc dot gnu dot org
  2010-08-03 15:36 ` burnus at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: burnus at gcc dot gnu dot org @ 2010-08-03 15:34 UTC (permalink / raw)
  To: gcc-bugs



------- 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):

* The issue seems to be only initialization expressions (F2003 term; F2008:
constant expressions) - for normal assignments the value seems to be correctly
converted.

* Scalars seem to be OK as well.

* To handle are thus: Array constructors and array-valued PARAMETERs

a) The attached patch handles structure constructors - including those which
have elements which are PARAMETERs

b) TODO: Using the following is valid but gives the same ICE than constructors
with out the patch:
  character (len=5), parameter :: str(2) = [ "12345", "67890" ]
  Type (t) :: tt = t(str)

c) ICE/Invalid: The following invalid code segfaults in check_constructor as
"str" is not an initialization expression. (Not all constructors need to be,
this one does):

  character (len=5) :: str(2) = [ "12345", "67890" ]
  Type (t) :: tt = t((/ str /))

d) One could consider warning about truncation (with -Wcharacter-truncation) -
if the constructor contains literals which are too long - for parameters (also
for those in constructors) the warning becomes useful.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44857


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug fortran/44857] [4.6 Regression] ICE in output_constructor_regular_field, at varasm.c:4996
  2010-07-07 13:38 [Bug fortran/44857] New: [4.6 Regression] ICE in output_constructor_regular_field, at varasm.c:4996 burnus at gcc dot gnu dot org
                   ` (9 preceding siblings ...)
  2010-08-03 15:34 ` burnus at gcc dot gnu dot org
@ 2010-08-03 15:36 ` burnus at gcc dot gnu dot org
  2010-08-03 16:06 ` burnus at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: burnus at gcc dot gnu dot org @ 2010-08-03 15:36 UTC (permalink / raw)
  To: gcc-bugs



------- 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) -
> if the constructor contains literals which are too long - for parameters (also
> for those in constructors) the warning becomes useful.

s/useful/less useful/


-- 

burnus at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |burnus at gcc dot gnu dot
                   |                            |org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44857


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug fortran/44857] [4.6 Regression] ICE in output_constructor_regular_field, at varasm.c:4996
  2010-07-07 13:38 [Bug fortran/44857] New: [4.6 Regression] ICE in output_constructor_regular_field, at varasm.c:4996 burnus at gcc dot gnu dot org
                   ` (10 preceding siblings ...)
  2010-08-03 15:36 ` burnus at gcc dot gnu dot org
@ 2010-08-03 16:06 ` burnus at gcc dot gnu dot org
  2010-08-03 17:04 ` dominiq at lps dot ens dot fr
                   ` (5 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: burnus at gcc dot gnu dot org @ 2010-08-03 16:06 UTC (permalink / raw)
  To: gcc-bugs



------- 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 adding a NULL check.


-- 

burnus at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #21377|0                           |1
        is obsolete|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44857


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug fortran/44857] [4.6 Regression] ICE in output_constructor_regular_field, at varasm.c:4996
  2010-07-07 13:38 [Bug fortran/44857] New: [4.6 Regression] ICE in output_constructor_regular_field, at varasm.c:4996 burnus at gcc dot gnu dot org
                   ` (11 preceding siblings ...)
  2010-08-03 16:06 ` burnus at gcc dot gnu dot org
@ 2010-08-03 17:04 ` dominiq at lps dot ens dot fr
  2010-08-04 11:51 ` burnus at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: dominiq at lps dot ens dot fr @ 2010-08-03 17:04 UTC (permalink / raw)
  To: gcc-bugs



------- 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

+             gfc_constructor *p = gfc_constructor_first
(expr->value.constructor);
+             gcc_assert (cons->expr->ts.u.cl == p->expr->ts.u.cl);

Further testing in progress.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44857


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug fortran/44857] [4.6 Regression] ICE in output_constructor_regular_field, at varasm.c:4996
  2010-07-07 13:38 [Bug fortran/44857] New: [4.6 Regression] ICE in output_constructor_regular_field, at varasm.c:4996 burnus at gcc dot gnu dot org
                   ` (12 preceding siblings ...)
  2010-08-03 17:04 ` dominiq at lps dot ens dot fr
@ 2010-08-04 11:51 ` burnus at gcc dot gnu dot org
  2010-08-04 11:53 ` burnus at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: burnus at gcc dot gnu dot org @ 2010-08-04 11:51 UTC (permalink / raw)
  To: gcc-bugs



------- 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  <burnus@net-b.de>

        PR fortran/44857
        * resolve.c (resolve_structure_cons): Fix handling of
        initialization structcture constructors with character
        elements of the wrong length.
        * array.c (gfc_check_iter_variable): Add NULL check.
        (gfc_resolve_character_array_constructor): Also truncate
        character length.

2010-08-04  Tobias Burnus  <burnus@net-b.de>

        PR fortran/44857
        * gfortran.dg/derived_constructor_char_1.f90: New.
        * gfortran.dg/derived_constructor_char_2.f90: New.


Added:
    trunk/gcc/testsuite/gfortran.dg/derived_constructor_char_1.f90
    trunk/gcc/testsuite/gfortran.dg/derived_constructor_char_2.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/array.c
    trunk/gcc/fortran/resolve.c
    trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44857


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug fortran/44857] [4.6 Regression] ICE in output_constructor_regular_field, at varasm.c:4996
  2010-07-07 13:38 [Bug fortran/44857] New: [4.6 Regression] ICE in output_constructor_regular_field, at varasm.c:4996 burnus at gcc dot gnu dot org
                   ` (13 preceding siblings ...)
  2010-08-04 11:51 ` burnus at gcc dot gnu dot org
@ 2010-08-04 11:53 ` burnus at gcc dot gnu dot org
  2010-08-04 14:19 ` clerman at fuse dot net
                   ` (2 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: burnus at gcc dot gnu dot org @ 2010-08-04 11:53 UTC (permalink / raw)
  To: gcc-bugs



------- 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
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44857


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug fortran/44857] [4.6 Regression] ICE in output_constructor_regular_field, at varasm.c:4996
  2010-07-07 13:38 [Bug fortran/44857] New: [4.6 Regression] ICE in output_constructor_regular_field, at varasm.c:4996 burnus at gcc dot gnu dot org
                   ` (14 preceding siblings ...)
  2010-08-04 11:53 ` burnus at gcc dot gnu dot org
@ 2010-08-04 14:19 ` clerman at fuse dot net
  2010-08-04 18:50 ` burnus at gcc dot gnu dot org
  2010-08-05 13:03 ` clerman at fuse dot net
  17 siblings, 0 replies; 19+ messages in thread
From: clerman at fuse dot net @ 2010-08-04 14:19 UTC (permalink / raw)
  To: gcc-bugs



------- 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 <gcc-bugzilla@gcc.gnu.org> wrote: 

=============


------- 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
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44857

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44857


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug fortran/44857] [4.6 Regression] ICE in output_constructor_regular_field, at varasm.c:4996
  2010-07-07 13:38 [Bug fortran/44857] New: [4.6 Regression] ICE in output_constructor_regular_field, at varasm.c:4996 burnus at gcc dot gnu dot org
                   ` (15 preceding siblings ...)
  2010-08-04 14:19 ` clerman at fuse dot net
@ 2010-08-04 18:50 ` burnus at gcc dot gnu dot org
  2010-08-05 13:03 ` clerman at fuse dot net
  17 siblings, 0 replies; 19+ messages in thread
From: burnus at gcc dot gnu dot org @ 2010-08-04 18:50 UTC (permalink / raw)
  To: gcc-bugs



------- 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  <burnus@net-b.de>

        PR fortran/45183
        PR fortran/44857
        * resolve.c (resolve_structure_cons): Fix
        freeing of charlen.


Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/resolve.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44857


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug fortran/44857] [4.6 Regression] ICE in output_constructor_regular_field, at varasm.c:4996
  2010-07-07 13:38 [Bug fortran/44857] New: [4.6 Regression] ICE in output_constructor_regular_field, at varasm.c:4996 burnus at gcc dot gnu dot org
                   ` (16 preceding siblings ...)
  2010-08-04 18:50 ` burnus at gcc dot gnu dot org
@ 2010-08-05 13:03 ` clerman at fuse dot net
  17 siblings, 0 replies; 19+ messages in thread
From: clerman at fuse dot net @ 2010-08-05 13:03 UTC (permalink / raw)
  To: gcc-bugs



------- 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. Clerman
Consulting computer scientist

---- burnus at gcc dot gnu dot org <gcc-bugzilla@gcc.gnu.org> wrote: 

=============


------- 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
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44857

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44857


^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2010-08-05 13:03 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-07 13:38 [Bug fortran/44857] New: [4.6 Regression] ICE in output_constructor_regular_field, at varasm.c:4996 burnus at gcc dot gnu dot org
2010-07-07 13:38 ` [Bug fortran/44857] " burnus at gcc dot gnu dot org
2010-07-07 16:24 ` jvdelisle at gcc dot gnu dot org
2010-07-07 21:29 ` burnus at gcc dot gnu dot org
2010-07-08 16:47 ` dfranke at gcc dot gnu dot org
2010-07-08 18:24 ` dfranke at gcc dot gnu dot org
2010-07-08 20:13 ` dfranke at gcc dot gnu dot org
2010-07-08 20:28 ` burnus at gcc dot gnu dot org
2010-07-27 13:36 ` burnus at gcc dot gnu dot org
2010-08-03 14:35 ` burnus at gcc dot gnu dot org
2010-08-03 15:34 ` burnus at gcc dot gnu dot org
2010-08-03 15:36 ` burnus at gcc dot gnu dot org
2010-08-03 16:06 ` burnus at gcc dot gnu dot org
2010-08-03 17:04 ` dominiq at lps dot ens dot fr
2010-08-04 11:51 ` burnus at gcc dot gnu dot org
2010-08-04 11:53 ` burnus at gcc dot gnu dot org
2010-08-04 14:19 ` clerman at fuse dot net
2010-08-04 18:50 ` burnus at gcc dot gnu dot org
2010-08-05 13:03 ` clerman at fuse dot net

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).