public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/48456] New: [4.6/4.7 Regression] ICE in fold_binary_loc, at fold-const.c:9324
@ 2011-04-05 8:45 burnus at gcc dot gnu.org
2011-04-05 8:47 ` [Bug fortran/48456] " burnus at gcc dot gnu.org
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: burnus at gcc dot gnu.org @ 2011-04-05 8:45 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48456
Summary: [4.6/4.7 Regression] ICE in fold_binary_loc, at
fold-const.c:9324
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: burnus@gcc.gnu.org
Created attachment 23880
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23880
Test case
Reported by Douglas Foulds at
http://gcc.gnu.org/ml/fortran/2011-04/msg00033.html
Said to fail (on Windows/MinGW) with:
4.6.0 20110214 (experimental) [trunk revision 170140]
said to work with:
4.6.0 20101027 (experimental) [trunk revision 166022]
Fails also with the current 4.7 trunk (on x86-64-linux).
The attached program fails with:
test.f90: In function ‘print_after_transfer’:
test.f90:99:0: internal compiler error: in fold_binary_loc, at
fold-const.c:9324
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/48456] [4.6/4.7 Regression] ICE in fold_binary_loc, at fold-const.c:9324
2011-04-05 8:45 [Bug fortran/48456] New: [4.6/4.7 Regression] ICE in fold_binary_loc, at fold-const.c:9324 burnus at gcc dot gnu.org
@ 2011-04-05 8:47 ` burnus at gcc dot gnu.org
2011-04-05 8:53 ` [Bug fortran/48456] [4.6/4.7 Regression] Realloc on assignment: ICE in fold_binary_loc burnus at gcc dot gnu.org
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: burnus at gcc dot gnu.org @ 2011-04-05 8:47 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48456
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P4
Known to work| |4.1.2, 4.3.4, 4.4.0, 4.5.2
Target Milestone|--- |4.6.1
Known to fail| |4.6.0, 4.7.0
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/48456] [4.6/4.7 Regression] Realloc on assignment: ICE in fold_binary_loc
2011-04-05 8:45 [Bug fortran/48456] New: [4.6/4.7 Regression] ICE in fold_binary_loc, at fold-const.c:9324 burnus at gcc dot gnu.org
2011-04-05 8:47 ` [Bug fortran/48456] " burnus at gcc dot gnu.org
@ 2011-04-05 8:53 ` burnus at gcc dot gnu.org
2011-04-05 8:56 ` dominiq at lps dot ens.fr
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: burnus at gcc dot gnu.org @ 2011-04-05 8:53 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48456
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pault at gcc dot gnu.org
Depends on| |48360
Summary|[4.6/4.7 Regression] ICE in |[4.6/4.7 Regression]
|fold_binary_loc, at |Realloc on assignment: ICE
|fold-const.c:9324 |in fold_binary_loc
--- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-04-05 08:48:34 UTC ---
The test case works with -fno-realloc-lhs.
Thus, it might be related to PR 48360 (there one has a segfault and no ICE).
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/48456] [4.6/4.7 Regression] Realloc on assignment: ICE in fold_binary_loc
2011-04-05 8:45 [Bug fortran/48456] New: [4.6/4.7 Regression] ICE in fold_binary_loc, at fold-const.c:9324 burnus at gcc dot gnu.org
2011-04-05 8:47 ` [Bug fortran/48456] " burnus at gcc dot gnu.org
2011-04-05 8:53 ` [Bug fortran/48456] [4.6/4.7 Regression] Realloc on assignment: ICE in fold_binary_loc burnus at gcc dot gnu.org
@ 2011-04-05 8:56 ` dominiq at lps dot ens.fr
2011-04-08 4:33 ` pault at gcc dot gnu.org
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: dominiq at lps dot ens.fr @ 2011-04-05 8:56 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48456
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011.04.05 08:51:15
Ever Confirmed|0 |1
--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2011-04-05 08:51:15 UTC ---
Confirmed on x86_64-apple-darwin10.7.0. The breakage occurred between revisions
167173 and 167584.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/48456] [4.6/4.7 Regression] Realloc on assignment: ICE in fold_binary_loc
2011-04-05 8:45 [Bug fortran/48456] New: [4.6/4.7 Regression] ICE in fold_binary_loc, at fold-const.c:9324 burnus at gcc dot gnu.org
` (2 preceding siblings ...)
2011-04-05 8:56 ` dominiq at lps dot ens.fr
@ 2011-04-08 4:33 ` pault at gcc dot gnu.org
2011-04-12 19:15 ` pault at gcc dot gnu.org
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pault at gcc dot gnu.org @ 2011-04-08 4:33 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48456
Paul Thomas <pault at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot |pault at gcc dot gnu.org
|gnu.org |
--- Comment #3 from Paul Thomas <pault at gcc dot gnu.org> 2011-04-08 04:32:57 UTC ---
Obviously mine.
It seems to go away with my fix for PR48360, although I will have to verify
that this weekend.
Paul
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/48456] [4.6/4.7 Regression] Realloc on assignment: ICE in fold_binary_loc
2011-04-05 8:45 [Bug fortran/48456] New: [4.6/4.7 Regression] ICE in fold_binary_loc, at fold-const.c:9324 burnus at gcc dot gnu.org
` (3 preceding siblings ...)
2011-04-08 4:33 ` pault at gcc dot gnu.org
@ 2011-04-12 19:15 ` pault at gcc dot gnu.org
2011-04-13 18:38 ` pault at gcc dot gnu.org
2011-04-13 19:21 ` pault at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: pault at gcc dot gnu.org @ 2011-04-12 19:15 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48456
--- Comment #4 from Paul Thomas <pault at gcc dot gnu.org> 2011-04-12 19:14:53 UTC ---
Author: pault
Date: Tue Apr 12 19:14:49 2011
New Revision: 172339
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172339
Log:
2011-04-12 Paul Thomas <pault@gcc.gnu.org>
PR fortran/48360
PR fortran/48456
* trans-array.c (get_std_lbound): For derived type variables
return array valued component lbound.
2011-04-12 Paul Thomas <pault@gcc.gnu.org>
PR fortran/48360
PR fortran/48456
* gfortran.dg/realloc_on_assign_6.f03: New test.
Added:
trunk/gcc/testsuite/gfortran.dg/realloc_on_assign_6.f03
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/trans-array.c
trunk/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/48456] [4.6/4.7 Regression] Realloc on assignment: ICE in fold_binary_loc
2011-04-05 8:45 [Bug fortran/48456] New: [4.6/4.7 Regression] ICE in fold_binary_loc, at fold-const.c:9324 burnus at gcc dot gnu.org
` (4 preceding siblings ...)
2011-04-12 19:15 ` pault at gcc dot gnu.org
@ 2011-04-13 18:38 ` pault at gcc dot gnu.org
2011-04-13 19:21 ` pault at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: pault at gcc dot gnu.org @ 2011-04-13 18:38 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48456
--- Comment #5 from Paul Thomas <pault at gcc dot gnu.org> 2011-04-13 18:38:21 UTC ---
Author: pault
Date: Wed Apr 13 18:38:17 2011
New Revision: 172390
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172390
Log:
2011-04-13 Paul Thomas <pault@gcc.gnu.org>
PR fortran/48360
PR fortran/48456
* trans-array.c (get_std_lbound): For derived type variables
return array valued component lbound.
2011-04-13 Paul Thomas <pault@gcc.gnu.org>
PR fortran/48360
PR fortran/48456
* gfortran.dg/realloc_on_assign_6.f03: New test.
Added:
branches/gcc-4_6-branch/gcc/testsuite/gfortran.dg/realloc_on_assign_6.f03
Modified:
branches/gcc-4_6-branch/gcc/fortran/ChangeLog
branches/gcc-4_6-branch/gcc/fortran/trans-array.c
branches/gcc-4_6-branch/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/48456] [4.6/4.7 Regression] Realloc on assignment: ICE in fold_binary_loc
2011-04-05 8:45 [Bug fortran/48456] New: [4.6/4.7 Regression] ICE in fold_binary_loc, at fold-const.c:9324 burnus at gcc dot gnu.org
` (5 preceding siblings ...)
2011-04-13 18:38 ` pault at gcc dot gnu.org
@ 2011-04-13 19:21 ` pault at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: pault at gcc dot gnu.org @ 2011-04-13 19:21 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48456
Paul Thomas <pault at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #6 from Paul Thomas <pault at gcc dot gnu.org> 2011-04-13 19:21:01 UTC ---
Fixed on trunk and 4.6.
Thanks for the report
Paul
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2011-04-13 19:21 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-05 8:45 [Bug fortran/48456] New: [4.6/4.7 Regression] ICE in fold_binary_loc, at fold-const.c:9324 burnus at gcc dot gnu.org
2011-04-05 8:47 ` [Bug fortran/48456] " burnus at gcc dot gnu.org
2011-04-05 8:53 ` [Bug fortran/48456] [4.6/4.7 Regression] Realloc on assignment: ICE in fold_binary_loc burnus at gcc dot gnu.org
2011-04-05 8:56 ` dominiq at lps dot ens.fr
2011-04-08 4:33 ` pault at gcc dot gnu.org
2011-04-12 19:15 ` pault at gcc dot gnu.org
2011-04-13 18:38 ` pault at gcc dot gnu.org
2011-04-13 19:21 ` pault at gcc dot gnu.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).