------- Comment #4 from paul dot richard dot thomas at gmail dot com 2010-03-03 16:15 ------- Subject: Re: [4.5 Regression] Wrong-code due to missing array temp for DT with pointer component
Tobias, Don't worry, I got it:-) The patch fixes both problems. Cheers Paul On Wed, Mar 3, 2010 at 4:53 PM, burnus at gcc dot gnu dot org <gcc-bugzi...@gcc.gnu.org> wrote: > > > ------- Comment #3 from burnus at gcc dot gnu dot org 2010-03-03 15:53 > ------- > As it might have not been completely clear from comment 0: > > type t > [...] > integer, pointer :: b(:) > end type > type(t) :: y > y%b => z(::2) > call bar(y%b) ! <<< WRONG-CODE: Here a temporary is missing > > Without the temporary, [1,2,3] instead of [1,3,5] is passed to "bar" and thus > the example fails with a call to ABORT. (The rest of example illustrates a > missed optimization, which is not a regression.) > > > -- > > burnus at gcc dot gnu dot org changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > Known to fail| |4.5.0 > Known to work| |4.3.5 4.4.3 > Priority|P3 |P4 > Summary|[4.5 Regression] Missing |[4.5 Regression] Wrong-code > |array temp for DT with |due to missing array temp > |pointer component |for DT with pointer > | |component > > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43243 > > ------- 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=43243