public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/47516] New: ICE with reallocate on assignment w/ --disable-bootstrap
@ 2011-01-28 15:14 burnus at gcc dot gnu.org
2011-01-28 15:26 ` [Bug fortran/47516] " paul.richard.thomas at gmail dot com
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: burnus at gcc dot gnu.org @ 2011-01-28 15:14 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47516
Summary: ICE with reallocate on assignment w/
--disable-bootstrap
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: burnus@gcc.gnu.org
CC: pault@gcc.gnu.org, janus@gcc.gnu.org
Moved from bug 35810 comment 12. Janus wrote there the following; I have not
tried to confirm it.
-------- Bug 35810 Comment 12 janus 2010-12-30 13:18:14 CET ---------
Note: realloc_on_assign_2.f03 fails on current trunk when building with
--disable-bootstrap (system compiler: gcc version 4.5.0 20100604
[gcc-4_5-branch revision 160292]):
realloc_on_assign_2.f03: In function ‘test5’:
realloc_on_assign_2.f03:101:0: internal compiler error: in fold_convert_loc, at
fold-const.c:1906
Reduced test case:
program test5
real, allocatable, dimension (:,:) :: xwrkt
xwrkt = trs2a2 ()
contains
function trs2a2 ()
real, dimension (1:2,1:2) :: trs2a2
trs2a2 = 0.0
end function
end
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/47516] ICE with reallocate on assignment w/ --disable-bootstrap
2011-01-28 15:14 [Bug fortran/47516] New: ICE with reallocate on assignment w/ --disable-bootstrap burnus at gcc dot gnu.org
@ 2011-01-28 15:26 ` paul.richard.thomas at gmail dot com
2011-01-30 15:25 ` [Bug fortran/47516] testsuite failure: realloc_on_assign_2.f03 (with --disable-bootstrap) janus at gcc dot gnu.org
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: paul.richard.thomas at gmail dot com @ 2011-01-28 15:26 UTC (permalink / raw)
To: gcc-bugs
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
<gcc-bugzilla@gcc.gnu.org> wrote:
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47516
>
> Summary: ICE with reallocate on assignment w/
> --disable-bootstrap
> Product: gcc
> Version: 4.6.0
> Status: UNCONFIRMED
> Keywords: ice-on-valid-code
> Severity: normal
> Priority: P3
> Component: fortran
> AssignedTo: unassigned@gcc.gnu.org
> ReportedBy: burnus@gcc.gnu.org
> CC: pault@gcc.gnu.org, janus@gcc.gnu.org
>
>
> Moved from bug 35810 comment 12. Janus wrote there the following; I have not
> tried to confirm it.
>
> -------- Bug 35810 Comment 12 janus 2010-12-30 13:18:14 CET ---------
>
> Note: realloc_on_assign_2.f03 fails on current trunk when building with
> --disable-bootstrap (system compiler: gcc version 4.5.0 20100604
> [gcc-4_5-branch revision 160292]):
>
> realloc_on_assign_2.f03: In function ‘test5’:
> realloc_on_assign_2.f03:101:0: internal compiler error: in fold_convert_loc, at
> fold-const.c:1906
>
>
> Reduced test case:
>
> program test5
> real, allocatable, dimension (:,:) :: xwrkt
> xwrkt = trs2a2 ()
> contains
> function trs2a2 ()
> real, dimension (1:2,1:2) :: trs2a2
> trs2a2 = 0.0
> end function
> end
>
> --
> Configure bugmail: http://gcc.gnu.org/bugzilla/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You are on the CC list for the bug.
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/47516] testsuite failure: realloc_on_assign_2.f03 (with --disable-bootstrap)
2011-01-28 15:14 [Bug fortran/47516] New: ICE with reallocate on assignment w/ --disable-bootstrap burnus at gcc dot gnu.org
2011-01-28 15:26 ` [Bug fortran/47516] " paul.richard.thomas at gmail dot com
@ 2011-01-30 15:25 ` janus at gcc dot gnu.org
2011-01-30 15:32 ` burnus at gcc dot gnu.org
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: janus at gcc dot gnu.org @ 2011-01-30 15:25 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47516
janus at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|ICE with reallocate on |testsuite failure:
|assignment w/ |realloc_on_assign_2.f03
|--disable-bootstrap |(with --disable-bootstrap)
--- Comment #2 from janus at gcc dot gnu.org 2011-01-30 13:34:08 UTC ---
(In reply to comment #1)
> gcc version 4.5.0 20100604??? version is marked as 4.6.0
4.5.0 is the system compiler which I use to build the GCC trunk. Since the
failure only appears with --disable-bootstrap that might be relevant.
I still see this problem at r169406.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/47516] testsuite failure: realloc_on_assign_2.f03 (with --disable-bootstrap)
2011-01-28 15:14 [Bug fortran/47516] New: ICE with reallocate on assignment w/ --disable-bootstrap burnus at gcc dot gnu.org
2011-01-28 15:26 ` [Bug fortran/47516] " paul.richard.thomas at gmail dot com
2011-01-30 15:25 ` [Bug fortran/47516] testsuite failure: realloc_on_assign_2.f03 (with --disable-bootstrap) janus at gcc dot gnu.org
@ 2011-01-30 15:32 ` burnus at gcc dot gnu.org
2011-01-30 16:03 ` burnus at gcc dot gnu.org
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: burnus at gcc dot gnu.org @ 2011-01-30 15:32 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47516
--- Comment #3 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-01-30 14:17:59 UTC ---
(In reply to comment #2)
> 4.5.0 is the system compiler which I use to build the GCC trunk. Since the
> failure only appears with --disable-bootstrap that might be relevant.
>
> I still see this problem at r169406.
Can you try again using GCC 4.6.0 r169406 as compiler? (I.e. setting the PATH
and LD_LIBRARY_PATH such that 4.6.0 is used.)
For curiosity, I will try to compile without bootstrapping with
4.5.1 20101208 [gcc-4_5-branch revision 167585]
However, it looks as if GCC 4.5.0 miscompiles f951; except for not
bootstrapping, there should be no difference between --disable-bootstrap and
not. (Contrary to --enable-checking=release.)
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/47516] testsuite failure: realloc_on_assign_2.f03 (with --disable-bootstrap)
2011-01-28 15:14 [Bug fortran/47516] New: ICE with reallocate on assignment w/ --disable-bootstrap burnus at gcc dot gnu.org
` (2 preceding siblings ...)
2011-01-30 15:32 ` burnus at gcc dot gnu.org
@ 2011-01-30 16:03 ` burnus at gcc dot gnu.org
2011-03-30 17:59 ` matz at gcc dot gnu.org
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: burnus at gcc dot gnu.org @ 2011-01-30 16:03 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47516
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2011.01.30 15:11:25
Ever Confirmed|0 |1
--- Comment #4 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-01-30 15:11:25 UTC ---
(In reply to comment #3)
> For curiosity, I will try to compile without bootstrapping with
> 4.5.1 20101208 [gcc-4_5-branch revision 167585]
Compiling finished - and works (x86-64-linux); I run f951 under valgrind and it
also did not show any problems.
> Can you try again using GCC 4.6.0 r169406 as compiler? (I.e. setting the PATH
> and LD_LIBRARY_PATH such that 4.6.0 is used.)
Setting status to waiting.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/47516] testsuite failure: realloc_on_assign_2.f03 (with --disable-bootstrap)
2011-01-28 15:14 [Bug fortran/47516] New: ICE with reallocate on assignment w/ --disable-bootstrap burnus at gcc dot gnu.org
` (3 preceding siblings ...)
2011-01-30 16:03 ` burnus at gcc dot gnu.org
@ 2011-03-30 17:59 ` matz at gcc dot gnu.org
2011-06-17 9:00 ` burnus at gcc dot gnu.org
2011-06-18 8:46 ` paul.richard.thomas at gmail dot com
6 siblings, 0 replies; 8+ messages in thread
From: matz at gcc dot gnu.org @ 2011-03-30 17:59 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47516
--- Comment #5 from Michael Matz <matz at gcc dot gnu.org> 2011-03-30 17:31:58 UTC ---
Author: matz
Date: Wed Mar 30 17:31:54 2011
New Revision: 171736
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=171736
Log:
PR fortran/47516
* trans-expr.c (realloc_lhs_loop_for_fcn_call): Take loop as parameter,
don't use local variable.
(gfc_trans_arrayfunc_assign): Adjust caller.
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/trans-expr.c
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/47516] testsuite failure: realloc_on_assign_2.f03 (with --disable-bootstrap)
2011-01-28 15:14 [Bug fortran/47516] New: ICE with reallocate on assignment w/ --disable-bootstrap burnus at gcc dot gnu.org
` (4 preceding siblings ...)
2011-03-30 17:59 ` matz at gcc dot gnu.org
@ 2011-06-17 9:00 ` burnus at gcc dot gnu.org
2011-06-18 8:46 ` paul.richard.thomas at gmail dot com
6 siblings, 0 replies; 8+ messages in thread
From: burnus at gcc dot gnu.org @ 2011-06-17 9:00 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47516
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |FIXED
--- Comment #6 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-06-17 08:59:44 UTC ---
Close as fixed as a patch has been committed. I assume, no one can reproduce it
any more?
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/47516] testsuite failure: realloc_on_assign_2.f03 (with --disable-bootstrap)
2011-01-28 15:14 [Bug fortran/47516] New: ICE with reallocate on assignment w/ --disable-bootstrap burnus at gcc dot gnu.org
` (5 preceding siblings ...)
2011-06-17 9:00 ` burnus at gcc dot gnu.org
@ 2011-06-18 8:46 ` paul.richard.thomas at gmail dot com
6 siblings, 0 replies; 8+ messages in thread
From: paul.richard.thomas at gmail dot com @ 2011-06-18 8:46 UTC (permalink / raw)
To: gcc-bugs
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-bugzilla@gcc.gnu.org> wrote:
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47516
>
> Tobias Burnus <burnus at gcc dot gnu.org> changed:
>
> What |Removed |Added
> ----------------------------------------------------------------------------
> Status|WAITING |RESOLVED
> Resolution| |FIXED
>
> --- Comment #6 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-06-17
> 08:59:44 UTC ---
> Close as fixed as a patch has been committed. I assume, no one can reproduce
> it
> any more?
>
> --
> Configure bugmail: http://gcc.gnu.org/bugzilla/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You are on the CC list for the bug.
>
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2011-06-18 8:46 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-28 15:14 [Bug fortran/47516] New: ICE with reallocate on assignment w/ --disable-bootstrap burnus at gcc dot gnu.org
2011-01-28 15:26 ` [Bug fortran/47516] " paul.richard.thomas at gmail dot com
2011-01-30 15:25 ` [Bug fortran/47516] testsuite failure: realloc_on_assign_2.f03 (with --disable-bootstrap) janus at gcc dot gnu.org
2011-01-30 15:32 ` burnus at gcc dot gnu.org
2011-01-30 16:03 ` burnus at gcc dot gnu.org
2011-03-30 17:59 ` matz at gcc dot gnu.org
2011-06-17 9:00 ` burnus at gcc dot gnu.org
2011-06-18 8:46 ` paul.richard.thomas at gmail dot com
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).