public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/45081] [4.3/4.4/4.5/4.6 Regression] ICE in gfc_conv_array_initializer, at fortran/trans-array.c:4208
       [not found] <bug-45081-4@http.gcc.gnu.org/bugzilla/>
@ 2010-09-26 14:11 ` pault at gcc dot gnu.org
  2010-10-08  4:47 ` [Bug fortran/45081] [4.3/4.4 " pault at gcc dot gnu.org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 20+ messages in thread
From: pault at gcc dot gnu.org @ 2010-09-26 14:11 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #13 from Paul Thomas <pault at gcc dot gnu.org> 2010-09-26 09:04:38 UTC ---
I'll do 4.4 and 4.3 when I get back to Barcelona on Tuesday night.

Paul


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

* [Bug fortran/45081] [4.3/4.4 Regression] ICE in gfc_conv_array_initializer, at fortran/trans-array.c:4208
       [not found] <bug-45081-4@http.gcc.gnu.org/bugzilla/>
  2010-09-26 14:11 ` [Bug fortran/45081] [4.3/4.4/4.5/4.6 Regression] ICE in gfc_conv_array_initializer, at fortran/trans-array.c:4208 pault at gcc dot gnu.org
@ 2010-10-08  4:47 ` pault at gcc dot gnu.org
  2010-10-08  6:02 ` burnus at gcc dot gnu.org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 20+ messages in thread
From: pault at gcc dot gnu.org @ 2010-10-08  4:47 UTC (permalink / raw)
  To: gcc-bugs

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

Paul Thomas <pault at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |burnus at gcc dot gnu.org
            Summary|[4.3/4.4/4.5/4.6            |[4.3/4.4 Regression] ICE in
                   |Regression] ICE in          |gfc_conv_array_initializer,
                   |gfc_conv_array_initializer, |at
                   |at                          |fortran/trans-array.c:4208
                   |fortran/trans-array.c:4208  |

--- Comment #14 from Paul Thomas <pault at gcc dot gnu.org> 2010-10-08 04:46:57 UTC ---
(In reply to comment #13)
> I'll do 4.4 and 4.3 when I get back to Barcelona on Tuesday night.
> 
> Paul

I tried, produced a working patch (only one intrinsic affected in 4.4) but the
testcase fails with:

FAIL: gfortran.dg/derived_array_intrinisics_1.f90  -O  (test for excess errors)
FAIL: gfortran.dg/derived_array_intrinisics_1.f90  -O  scan-tree-dump-times
original "j = 10" 1: dump file does not exist

Why should the dump file not exist?  I am very loath to have an execute test
for this.

Paul


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

* [Bug fortran/45081] [4.3/4.4 Regression] ICE in gfc_conv_array_initializer, at fortran/trans-array.c:4208
       [not found] <bug-45081-4@http.gcc.gnu.org/bugzilla/>
  2010-09-26 14:11 ` [Bug fortran/45081] [4.3/4.4/4.5/4.6 Regression] ICE in gfc_conv_array_initializer, at fortran/trans-array.c:4208 pault at gcc dot gnu.org
  2010-10-08  4:47 ` [Bug fortran/45081] [4.3/4.4 " pault at gcc dot gnu.org
@ 2010-10-08  6:02 ` burnus at gcc dot gnu.org
  2010-12-09  8:10 ` burnus at gcc dot gnu.org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 20+ messages in thread
From: burnus at gcc dot gnu.org @ 2010-10-08  6:02 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #15 from Tobias Burnus <burnus at gcc dot gnu.org> 2010-10-08 06:01:44 UTC ---
(In reply to comment #14)
> FAIL: gfortran.dg/derived_array_intrinisics_1.f90  -O  (test for excess errors)
> FAIL: gfortran.dg/derived_array_intrinisics_1.f90  -O  scan-tree-dump-times
> original "j = 10" 1: dump file does not exist
> 
> Why should the dump file not exist?

Because of the first line: Seemingly, you get some (excess) error(s) and thus
the compiler aborts before it can dump the tree.

Run the test with
  cd $GCCBUILD/gcc
  make check-gfortran RUNTESTFLAGS='dg.exp=derived_array_intrinisics_1.f90'
and search for the "excess error" in testsuite/gfortran/gfortran.log.


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

* [Bug fortran/45081] [4.3/4.4 Regression] ICE in gfc_conv_array_initializer, at fortran/trans-array.c:4208
       [not found] <bug-45081-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2010-10-08  6:02 ` burnus at gcc dot gnu.org
@ 2010-12-09  8:10 ` burnus at gcc dot gnu.org
  2010-12-09  8:12 ` [Bug fortran/45081] [4.3 " burnus at gcc dot gnu.org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 20+ messages in thread
From: burnus at gcc dot gnu.org @ 2010-12-09  8:10 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #16 from Tobias Burnus <burnus at gcc dot gnu.org> 2010-12-09 08:09:59 UTC ---
Author: burnus
Date: Thu Dec  9 08:09:52 2010
New Revision: 167627

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=167627
Log:
2010-12-09  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/45081
        * simplify.c (is_constant_array_expr): Allow structure array
        elements as well as constants.
        (gfc_simplify_reshape): Copy the derived type of source to
        the result.

2010-12-09  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/45081
        * gfortran.dg/derived_array_intrinsics_1.f90 : New test.


Added:
   
branches/gcc-4_4-branch/gcc/testsuite/gfortran.dg/derived_array_intrinisics_1.f90
Modified:
    branches/gcc-4_4-branch/gcc/fortran/ChangeLog
    branches/gcc-4_4-branch/gcc/fortran/simplify.c
    branches/gcc-4_4-branch/gcc/testsuite/ChangeLog


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

* [Bug fortran/45081] [4.3 Regression] ICE in gfc_conv_array_initializer, at fortran/trans-array.c:4208
       [not found] <bug-45081-4@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2010-12-09  8:10 ` burnus at gcc dot gnu.org
@ 2010-12-09  8:12 ` burnus at gcc dot gnu.org
  2010-12-09 13:31 ` [Bug fortran/45081] [4.3/4.4/4.5/4.6 " burnus at gcc dot gnu.org
  2010-12-09 13:31 ` [Bug fortran/45081] [4.3 " burnus at gcc dot gnu.org
  6 siblings, 0 replies; 20+ messages in thread
From: burnus at gcc dot gnu.org @ 2010-12-09  8:12 UTC (permalink / raw)
  To: gcc-bugs

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

Tobias Burnus <burnus at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.5.2                       |4.3.6
            Summary|[4.3/4.4 Regression] ICE in |[4.3 Regression] ICE in
                   |gfc_conv_array_initializer, |gfc_conv_array_initializer,
                   |at                          |at
                   |fortran/trans-array.c:4208  |fortran/trans-array.c:4208

--- Comment #17 from Tobias Burnus <burnus at gcc dot gnu.org> 2010-12-09 08:11:58 UTC ---
Regarding the backport to 4.4: It only handles RESHAPE; as the simplification
for SPREAD, TRANSPOSE and (UN)PACK is not implemented in 4.4.

TODO: Backport to 4.3.


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

* [Bug fortran/45081] [4.3/4.4/4.5/4.6 Regression] ICE in gfc_conv_array_initializer, at fortran/trans-array.c:4208
       [not found] <bug-45081-4@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2010-12-09  8:12 ` [Bug fortran/45081] [4.3 " burnus at gcc dot gnu.org
@ 2010-12-09 13:31 ` burnus at gcc dot gnu.org
  2010-12-09 13:31 ` [Bug fortran/45081] [4.3 " burnus at gcc dot gnu.org
  6 siblings, 0 replies; 20+ messages in thread
From: burnus at gcc dot gnu.org @ 2010-12-09 13:31 UTC (permalink / raw)
  To: gcc-bugs

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

Tobias Burnus <burnus at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
            Summary|[4.3 Regression] ICE in     |[4.3/4.4/4.5/4.6
                   |gfc_conv_array_initializer, |Regression] ICE in
                   |at                          |gfc_conv_array_initializer,
                   |fortran/trans-array.c:4208  |at
                   |                            |fortran/trans-array.c:4208

--- Comment #19 from Tobias Burnus <burnus at gcc dot gnu.org> 2010-12-09 13:31:38 UTC ---
CLOSE as FIXED as the patch has been committed for 4.3, 4.4, 4.5 and 4.6.

Thanks Thorsten for the report - and thanks Paul for the patch!

(Note: For GCC 4.3 I get test suite failures for
gfortran.dg/elemental_subroutine_7.f90; those are unrelated to the patch and
are probably no regression. Here, they only show up either with GLIBC's
MALLOC_PERTURB_ or in valgrind. As the issue does not occur on 4.4 to 4.6, I
tacitly move on.)


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

* [Bug fortran/45081] [4.3 Regression] ICE in gfc_conv_array_initializer, at fortran/trans-array.c:4208
       [not found] <bug-45081-4@http.gcc.gnu.org/bugzilla/>
                   ` (5 preceding siblings ...)
  2010-12-09 13:31 ` [Bug fortran/45081] [4.3/4.4/4.5/4.6 " burnus at gcc dot gnu.org
@ 2010-12-09 13:31 ` burnus at gcc dot gnu.org
  6 siblings, 0 replies; 20+ messages in thread
From: burnus at gcc dot gnu.org @ 2010-12-09 13:31 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #18 from Tobias Burnus <burnus at gcc dot gnu.org> 2010-12-09 13:31:02 UTC ---
Author: burnus
Date: Thu Dec  9 13:30:59 2010
New Revision: 167637

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=167637
Log:
2010-12-09  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/45081
        * simplify.c (is_constant_array_expr): Allow structure array
        elements as well as constants.
        (gfc_simplify_reshape): Copy the derived type of source to
        the result.

2010-12-09  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/45081
        * gfortran.dg/derived_array_intrinsics_1.f90 : New test.


Added:
   
branches/gcc-4_3-branch/gcc/testsuite/gfortran.dg/derived_array_intrinisics_1.f90
Modified:
    branches/gcc-4_3-branch/gcc/fortran/ChangeLog
    branches/gcc-4_3-branch/gcc/fortran/simplify.c
    branches/gcc-4_3-branch/gcc/testsuite/ChangeLog


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

* [Bug fortran/45081] [4.3/4.4/4.5/4.6 Regression] ICE in gfc_conv_array_initializer, at fortran/trans-array.c:4208
  2010-07-26 15:13 [Bug fortran/45081] New: " ohl at physik dot uni-wuerzburg dot de
                   ` (11 preceding siblings ...)
  2010-09-20 18:55 ` pault at gcc dot gnu dot org
@ 2010-09-20 21:24 ` pault at gcc dot gnu dot org
  12 siblings, 0 replies; 20+ messages in thread
From: pault at gcc dot gnu dot org @ 2010-09-20 21:24 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #12 from pault at gcc dot gnu dot org  2010-09-20 21:23 -------
Subject: Bug 45081

Author: pault
Date: Mon Sep 20 21:23:38 2010
New Revision: 164457

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164457
Log:
2010-09-20  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/45081
        * simplify.c (is_constant_array_expr): Allow structure array
        elements as well as constants.
        (gfc_simplify_pack, gfc_simplify_reshape, gfc_simplify_spread,
        gfc_simplify_transpose, gfc_simplify_unpack): Copy the derived
        type of source to the result.

2010-09-20  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/45081
        * gfortran.dg/derived_array_intrinsics_1.f90 : New test.


Added:
   
branches/gcc-4_5-branch/gcc/testsuite/gfortran.dg/derived_array_intrinisics_1.f90
Modified:
    branches/gcc-4_5-branch/gcc/fortran/ChangeLog
    branches/gcc-4_5-branch/gcc/fortran/simplify.c
    branches/gcc-4_5-branch/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug fortran/45081] [4.3/4.4/4.5/4.6 Regression] ICE in gfc_conv_array_initializer, at fortran/trans-array.c:4208
  2010-07-26 15:13 [Bug fortran/45081] New: " ohl at physik dot uni-wuerzburg dot de
                   ` (10 preceding siblings ...)
  2010-09-16 13:14 ` dominiq at lps dot ens dot fr
@ 2010-09-20 18:55 ` pault at gcc dot gnu dot org
  2010-09-20 21:24 ` pault at gcc dot gnu dot org
  12 siblings, 0 replies; 20+ messages in thread
From: pault at gcc dot gnu dot org @ 2010-09-20 18:55 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from pault at gcc dot gnu dot org  2010-09-20 18:55 -------
Subject: Bug 45081

Author: pault
Date: Mon Sep 20 18:55:12 2010
New Revision: 164448

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164448
Log:
2010-09-20  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/45081
        * simplify.c (is_constant_array_expr): Allow structure array
        elements as well as constants.
        (gfc_simplify_pack, gfc_simplify_reshape, gfc_simplify_spread,
        gfc_simplify_transpose, gfc_simplify_unpack): Copy the derived
        type of source to the result.

2010-09-20  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/45081
        * gfortran.dg/derived_array_intrinsics_1.f90 : New test.


Added:
    trunk/gcc/testsuite/gfortran.dg/derived_array_intrinisics_1.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/simplify.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug fortran/45081] [4.3/4.4/4.5/4.6 Regression] ICE in gfc_conv_array_initializer, at fortran/trans-array.c:4208
  2010-07-26 15:13 [Bug fortran/45081] New: " ohl at physik dot uni-wuerzburg dot de
                   ` (9 preceding siblings ...)
  2010-09-16  9:43 ` paul dot richard dot thomas at gmail dot com
@ 2010-09-16 13:14 ` dominiq at lps dot ens dot fr
  2010-09-20 18:55 ` pault at gcc dot gnu dot org
  2010-09-20 21:24 ` pault at gcc dot gnu dot org
  12 siblings, 0 replies; 20+ messages in thread
From: dominiq at lps dot ens dot fr @ 2010-09-16 13:14 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from dominiq at lps dot ens dot fr  2010-09-16 13:14 -------
(1) The patch in comment #7 fixes this pr without regression.

(2) If I replace 

    type(t), dimension(1), parameter :: a1  = (/ t(1) /)
    type(t), dimension(1), parameter :: a = reshape ( (/ a1 /), (/ 1 /) )

with

    type(t), dimension(2), parameter :: a1  = (/ t(1), t(2) /)
    type(t), dimension(2), parameter :: c = spread ( a1(1), 1, 1 )

I still get the same ICE.

(3) I have opened pr45689 for transformational intrinsics I think are missing
for initializations.

(4) The only common point between this pr and those given in comment #8 is that
the ICEs come from the same source file.


-- 


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


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

* [Bug fortran/45081] [4.3/4.4/4.5/4.6 Regression] ICE in gfc_conv_array_initializer, at fortran/trans-array.c:4208
  2010-07-26 15:13 [Bug fortran/45081] New: " ohl at physik dot uni-wuerzburg dot de
                   ` (8 preceding siblings ...)
  2010-09-16  7:07 ` dominiq at lps dot ens dot fr
@ 2010-09-16  9:43 ` paul dot richard dot thomas at gmail dot com
  2010-09-16 13:14 ` dominiq at lps dot ens dot fr
                   ` (2 subsequent siblings)
  12 siblings, 0 replies; 20+ messages in thread
From: paul dot richard dot thomas at gmail dot com @ 2010-09-16  9:43 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1013 bytes --]



------- Comment #9 from paul dot richard dot thomas at gmail dot com  2010-09-16 09:43 -------
Subject: Re:  [4.3/4.4/4.5/4.6 Regression] ICE in
 gfc_conv_array_initializer, at fortran/trans-array.c:4208

Thanks! Paul

On Thu, Sep 16, 2010 at 9:06 AM, dominiq at lps dot ens dot fr
<gcc-bugzilla@gcc.gnu.org> wrote:
>
>
> ------- Comment #8 from dominiq at lps dot ens dot fr  2010-09-16 07:06 -------
>> I believe that there are related PRs that I have to find.
>
> pr40472 comment #21 for SPREAD:
>
> REAL, DIMENSION(720,360), PARAMETER :: ZLON_MASK = SPREAD( (/ (JLON ,
> JLON=1,720) /) , DIM=2, NCOPIES=360 )
> print *, size(ZLON_MASK), ZLON_MASK(720,360)
> end
>
> The tests in pr42359 also give ICE at fortran/trans-array.c, but at different
> locations.
>
>
> --
>
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45081
>
> ------- You are receiving this mail because: -------
> You are the assignee for the bug, or are watching the assignee.
>


-- 


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


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

* [Bug fortran/45081] [4.3/4.4/4.5/4.6 Regression] ICE in gfc_conv_array_initializer, at fortran/trans-array.c:4208
  2010-07-26 15:13 [Bug fortran/45081] New: " ohl at physik dot uni-wuerzburg dot de
                   ` (7 preceding siblings ...)
  2010-09-16  5:12 ` pault at gcc dot gnu dot org
@ 2010-09-16  7:07 ` dominiq at lps dot ens dot fr
  2010-09-16  9:43 ` paul dot richard dot thomas at gmail dot com
                   ` (3 subsequent siblings)
  12 siblings, 0 replies; 20+ messages in thread
From: dominiq at lps dot ens dot fr @ 2010-09-16  7:07 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from dominiq at lps dot ens dot fr  2010-09-16 07:06 -------
> I believe that there are related PRs that I have to find.

pr40472 comment #21 for SPREAD:

REAL, DIMENSION(720,360), PARAMETER :: ZLON_MASK = SPREAD( (/ (JLON ,
JLON=1,720) /) , DIM=2, NCOPIES=360 )
print *, size(ZLON_MASK), ZLON_MASK(720,360)
end

The tests in pr42359 also give ICE at fortran/trans-array.c, but at different
locations.


-- 


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


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

* [Bug fortran/45081] [4.3/4.4/4.5/4.6 Regression] ICE in gfc_conv_array_initializer, at fortran/trans-array.c:4208
  2010-07-26 15:13 [Bug fortran/45081] New: " ohl at physik dot uni-wuerzburg dot de
                   ` (6 preceding siblings ...)
  2010-08-30 15:52 ` rguenth at gcc dot gnu dot org
@ 2010-09-16  5:12 ` pault at gcc dot gnu dot org
  2010-09-16  7:07 ` dominiq at lps dot ens dot fr
                   ` (4 subsequent siblings)
  12 siblings, 0 replies; 20+ messages in thread
From: pault at gcc dot gnu dot org @ 2010-09-16  5:12 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from pault at gcc dot gnu dot org  2010-09-16 05:11 -------
Created an attachment (id=21808)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21808&action=view)
A fix for this PR

Bootstraps and regtests on FC9/x86_64.

It is clear that many other array intrinsics fail with derived type sources.  I
have verified this for (un)pack and applied it to the attached patch.  I
believe that there are related PRs that I have to find.

I am away until Monday. I will complete the job then and submit thereafter.

Cheers

Paul


-- 

pault at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |pault at gcc dot gnu dot org
                   |dot org                     |
             Status|NEW                         |ASSIGNED


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


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

* [Bug fortran/45081] [4.3/4.4/4.5/4.6 Regression] ICE in gfc_conv_array_initializer, at fortran/trans-array.c:4208
  2010-07-26 15:13 [Bug fortran/45081] New: " ohl at physik dot uni-wuerzburg dot de
                   ` (5 preceding siblings ...)
  2010-08-17 12:07 ` pault at gcc dot gnu dot org
@ 2010-08-30 15:52 ` rguenth at gcc dot gnu dot org
  2010-09-16  5:12 ` pault at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  12 siblings, 0 replies; 20+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-08-30 15:52 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P4


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


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

* [Bug fortran/45081] [4.3/4.4/4.5/4.6 Regression] ICE in gfc_conv_array_initializer, at fortran/trans-array.c:4208
  2010-07-26 15:13 [Bug fortran/45081] New: " ohl at physik dot uni-wuerzburg dot de
                   ` (4 preceding siblings ...)
  2010-07-31  9:35 ` rguenth at gcc dot gnu dot org
@ 2010-08-17 12:07 ` pault at gcc dot gnu dot org
  2010-08-30 15:52 ` rguenth at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  12 siblings, 0 replies; 20+ messages in thread
From: pault at gcc dot gnu dot org @ 2010-08-17 12:07 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from pault at gcc dot gnu dot org  2010-08-17 12:07 -------
(In reply to comment #1)
> Confirmed as a regression: it compiles with 4.2.4 (ppc-darwin), gives an ICE
> with 4.3.4, 4.4.2, 4.5.0 and trunk.
> 

You did not mark the PR as confirmed  :-)

Paul


-- 

pault 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-08-17 12:07:05
               date|                            |


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


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

* [Bug fortran/45081] [4.3/4.4/4.5/4.6 Regression] ICE in gfc_conv_array_initializer, at fortran/trans-array.c:4208
  2010-07-26 15:13 [Bug fortran/45081] New: " ohl at physik dot uni-wuerzburg dot de
                   ` (3 preceding siblings ...)
  2010-07-27  6:56 ` dominiq at lps dot ens dot fr
@ 2010-07-31  9:35 ` rguenth at gcc dot gnu dot org
  2010-08-17 12:07 ` pault at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  12 siblings, 0 replies; 20+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-07-31  9:35 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from rguenth at gcc dot gnu dot org  2010-07-31 09:30 -------
GCC 4.5.1 is being released, adjusting target milestone.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.5.1                       |4.5.2


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


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

* [Bug fortran/45081] [4.3/4.4/4.5/4.6 Regression] ICE in gfc_conv_array_initializer, at fortran/trans-array.c:4208
  2010-07-26 15:13 [Bug fortran/45081] New: " ohl at physik dot uni-wuerzburg dot de
                   ` (2 preceding siblings ...)
  2010-07-27  6:04 ` burnus at gcc dot gnu dot org
@ 2010-07-27  6:56 ` dominiq at lps dot ens dot fr
  2010-07-31  9:35 ` rguenth at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  12 siblings, 0 replies; 20+ messages in thread
From: dominiq at lps dot ens dot fr @ 2010-07-27  6:56 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from dominiq at lps dot ens dot fr  2010-07-27 06:56 -------
> It also regresses (diagnostics) in gfortran.dg/transfer_simplify_2.f90 /
> gfortran.dg/transfer_simplify_7.f90.

I also see a regression for gfortran.dg/parameter_array_section_1.f90

[macbook] f90/bug% gfc
/opt/gcc/work/gcc/testsuite/gfortran.dg/parameter_array_section_1.f90
/opt/gcc/work/gcc/testsuite/gfortran.dg/parameter_array_section_1.f90: In
function 'foo':
/opt/gcc/work/gcc/testsuite/gfortran.dg/parameter_array_section_1.f90:17:0:
internal compiler error: in gfc_typenode_for_spec, at fortran/trans-types.c:996

In addition the patch does not seems to fix this pr.


-- 


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


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

* [Bug fortran/45081] [4.3/4.4/4.5/4.6 Regression] ICE in gfc_conv_array_initializer, at fortran/trans-array.c:4208
  2010-07-26 15:13 [Bug fortran/45081] New: " ohl at physik dot uni-wuerzburg dot de
  2010-07-26 17:31 ` [Bug fortran/45081] [4.3/4.4/4.5/4.6 Regression] " burnus at gcc dot gnu dot org
  2010-07-26 20:20 ` burnus at gcc dot gnu dot org
@ 2010-07-27  6:04 ` burnus at gcc dot gnu dot org
  2010-07-27  6:56 ` dominiq at lps dot ens dot fr
                   ` (9 subsequent siblings)
  12 siblings, 0 replies; 20+ messages in thread
From: burnus at gcc dot gnu dot org @ 2010-07-27  6:04 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from burnus at gcc dot gnu dot org  2010-07-27 06:04 -------
(In reply to comment #2)
> Untested patch.
> +      return (e->symtree->n.sym->attr.flavour == FL_PARAMETER);

s/flavour/flavor/
It also regresses (diagnostics) in gfortran.dg/transfer_simplify_2.f90 /
gfortran.dg/transfer_simplify_7.f90.


-- 


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


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

* [Bug fortran/45081] [4.3/4.4/4.5/4.6 Regression] ICE in gfc_conv_array_initializer, at fortran/trans-array.c:4208
  2010-07-26 15:13 [Bug fortran/45081] New: " ohl at physik dot uni-wuerzburg dot de
  2010-07-26 17:31 ` [Bug fortran/45081] [4.3/4.4/4.5/4.6 Regression] " burnus at gcc dot gnu dot org
@ 2010-07-26 20:20 ` burnus at gcc dot gnu dot org
  2010-07-27  6:04 ` burnus at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  12 siblings, 0 replies; 20+ messages in thread
From: burnus at gcc dot gnu dot org @ 2010-07-26 20:20 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from burnus at gcc dot gnu dot org  2010-07-26 20:19 -------
Untested patch.

Index: expr.c
===================================================================
--- expr.c      (Revision 162542)
+++ expr.c
@@ -913,7 +913,7 @@ gfc_is_constant_expr (gfc_expr *e)
                  || gfc_is_constant_expr (e->value.op.op2)));

     case EXPR_VARIABLE:
-      return 0;
+      return (e->symtree->n.sym->attr.flavour == FL_PARAMETER);

     case EXPR_FUNCTION:
     case EXPR_PPC:


-- 


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


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

* [Bug fortran/45081] [4.3/4.4/4.5/4.6 Regression] ICE in gfc_conv_array_initializer, at fortran/trans-array.c:4208
  2010-07-26 15:13 [Bug fortran/45081] New: " ohl at physik dot uni-wuerzburg dot de
@ 2010-07-26 17:31 ` burnus at gcc dot gnu dot org
  2010-07-26 20:20 ` burnus at gcc dot gnu dot org
                   ` (11 subsequent siblings)
  12 siblings, 0 replies; 20+ messages in thread
From: burnus at gcc dot gnu dot org @ 2010-07-26 17:31 UTC (permalink / raw)
  To: gcc-bugs



-- 

burnus at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
            Summary|ICE in                      |[4.3/4.4/4.5/4.6 Regression]
                   |gfc_conv_array_initializer, |ICE in
                   |at fortran/trans-           |gfc_conv_array_initializer,
                   |array.c:4208                |at fortran/trans-
                   |                            |array.c:4208
   Target Milestone|---                         |4.5.1


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


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

end of thread, other threads:[~2010-12-09 13:31 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-45081-4@http.gcc.gnu.org/bugzilla/>
2010-09-26 14:11 ` [Bug fortran/45081] [4.3/4.4/4.5/4.6 Regression] ICE in gfc_conv_array_initializer, at fortran/trans-array.c:4208 pault at gcc dot gnu.org
2010-10-08  4:47 ` [Bug fortran/45081] [4.3/4.4 " pault at gcc dot gnu.org
2010-10-08  6:02 ` burnus at gcc dot gnu.org
2010-12-09  8:10 ` burnus at gcc dot gnu.org
2010-12-09  8:12 ` [Bug fortran/45081] [4.3 " burnus at gcc dot gnu.org
2010-12-09 13:31 ` [Bug fortran/45081] [4.3/4.4/4.5/4.6 " burnus at gcc dot gnu.org
2010-12-09 13:31 ` [Bug fortran/45081] [4.3 " burnus at gcc dot gnu.org
2010-07-26 15:13 [Bug fortran/45081] New: " ohl at physik dot uni-wuerzburg dot de
2010-07-26 17:31 ` [Bug fortran/45081] [4.3/4.4/4.5/4.6 Regression] " burnus at gcc dot gnu dot org
2010-07-26 20:20 ` burnus at gcc dot gnu dot org
2010-07-27  6:04 ` burnus at gcc dot gnu dot org
2010-07-27  6:56 ` dominiq at lps dot ens dot fr
2010-07-31  9:35 ` rguenth at gcc dot gnu dot org
2010-08-17 12:07 ` pault at gcc dot gnu dot org
2010-08-30 15:52 ` rguenth at gcc dot gnu dot org
2010-09-16  5:12 ` pault at gcc dot gnu dot org
2010-09-16  7:07 ` dominiq at lps dot ens dot fr
2010-09-16  9:43 ` paul dot richard dot thomas at gmail dot com
2010-09-16 13:14 ` dominiq at lps dot ens dot fr
2010-09-20 18:55 ` pault at gcc dot gnu dot org
2010-09-20 21:24 ` pault at gcc dot gnu dot org

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