public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/31551]  New: ice in fold_convert, at fold-const.c:2330
@ 2007-04-12 16:44 dfranke at gcc dot gnu dot org
  2007-04-12 16:46 ` [Bug fortran/31551] " dfranke at gcc dot gnu dot org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: dfranke at gcc dot gnu dot org @ 2007-04-12 16:44 UTC (permalink / raw)
  To: gcc-bugs

internal compiler error: in fold_convert, at fold-const.c:2330

$> gfortran-svn -v
gcc version 4.3.0 20070412 (experimental)

Backtrace:
#0  fancy_abort (file=0x86fb400 "../../../svn/gcc/gcc/fold-const.c", line=2330,
function=0x86fb326 "fold_convert")
    at ../../../svn/gcc/gcc/diagnostic.c:656
#1  0x082084ec in fold_convert (type=0xb7cfe1b0, arg=0xb7cf4ed8) at
../../../svn/gcc/gcc/fold-const.c:2330
#2  0x080c94d4 in gfc_trans_scalar_assign (lse=0xbfe037b4, rse=0xbfe0378c,
ts={type = BT_DERIVED, kind = 0, derived = 0x889da90, cl = 0x0},
    l_is_temp=0 '\0', r_is_var=1 '\001') at
../../../svn/gcc/gcc/fortran/trans-expr.c:3444
#3  0x080ce642 in gfc_trans_assignment (expr1=0x889e870, expr2=0x8897a68,
init_flag=0 '\0') at ../../../svn/gcc/gcc/fortran/trans-expr.c:3839
#4  0x080cee13 in gfc_trans_assign (code=0x8898ee0) at
../../../svn/gcc/gcc/fortran/trans-expr.c:3991
#5  0x080b075d in gfc_trans_code (code=0x8898ee0) at
../../../svn/gcc/gcc/fortran/trans.c:473
#6  0x080c7aba in gfc_generate_function_code (ns=0x8896a40) at
../../../svn/gcc/gcc/fortran/trans-decl.c:3208
#7  0x0808c4f4 in gfc_parse_file () at
../../../svn/gcc/gcc/fortran/parse.c:3264
#8  0x080ab600 in gfc_be_parse_file (set_yydebug=0) at
../../../svn/gcc/gcc/fortran/f95-lang.c:305
#9  0x08300ee8 in toplev_main (argc=4, argv=0xbfe03a64) at
../../../svn/gcc/gcc/toplev.c:1050
#10 0x080ed132 in main (argc=15, argv=0x0) at ../../../svn/gcc/gcc/main.c:35

I currently can not provide a testcase ordering seems to be important ...


-- 
           Summary: ice in fold_convert, at fold-const.c:2330
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dfranke at gcc dot gnu dot org


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


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

* [Bug fortran/31551] ice in fold_convert, at fold-const.c:2330
  2007-04-12 16:44 [Bug fortran/31551] New: ice in fold_convert, at fold-const.c:2330 dfranke at gcc dot gnu dot org
@ 2007-04-12 16:46 ` dfranke at gcc dot gnu dot org
  2007-04-13  4:13 ` pault at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: dfranke at gcc dot gnu dot org @ 2007-04-12 16:46 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from dfranke at gcc dot gnu dot org  2007-04-12 17:46 -------
Adding FX to CC as requested on the mailing list.


-- 

dfranke at gcc dot gnu dot org changed:

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


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


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

* [Bug fortran/31551] ice in fold_convert, at fold-const.c:2330
  2007-04-12 16:44 [Bug fortran/31551] New: ice in fold_convert, at fold-const.c:2330 dfranke at gcc dot gnu dot org
  2007-04-12 16:46 ` [Bug fortran/31551] " dfranke at gcc dot gnu dot org
@ 2007-04-13  4:13 ` pault at gcc dot gnu dot org
  2007-04-13  7:48 ` dfranke at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pault at gcc dot gnu dot org @ 2007-04-13  4:13 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pault at gcc dot gnu dot org  2007-04-13 05:13 -------
(In reply to comment #1)
> Adding FX to CC as requested on the mailing list.
> 
Daniel,

Does this also disappear, like 31550, with versions earlier than 20070318?

Paul


-- 


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


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

* [Bug fortran/31551] ice in fold_convert, at fold-const.c:2330
  2007-04-12 16:44 [Bug fortran/31551] New: ice in fold_convert, at fold-const.c:2330 dfranke at gcc dot gnu dot org
  2007-04-12 16:46 ` [Bug fortran/31551] " dfranke at gcc dot gnu dot org
  2007-04-13  4:13 ` pault at gcc dot gnu dot org
@ 2007-04-13  7:48 ` dfranke at gcc dot gnu dot org
  2007-04-13 10:34 ` dfranke at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: dfranke at gcc dot gnu dot org @ 2007-04-13  7:48 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from dfranke at gcc dot gnu dot org  2007-04-13 08:48 -------
Yes, I observed both crashes (PR31550, PR31331) after the update from 20070308
to 20070412. I can try intermediate versions if this would help?


-- 


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


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

* [Bug fortran/31551] ice in fold_convert, at fold-const.c:2330
  2007-04-12 16:44 [Bug fortran/31551] New: ice in fold_convert, at fold-const.c:2330 dfranke at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2007-04-13  7:48 ` dfranke at gcc dot gnu dot org
@ 2007-04-13 10:34 ` dfranke at gcc dot gnu dot org
  2007-04-13 16:05 ` pault at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: dfranke at gcc dot gnu dot org @ 2007-04-13 10:34 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from dfranke at gcc dot gnu dot org  2007-04-13 11:34 -------
On a different host, 20070316 works as well.


-- 


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


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

* [Bug fortran/31551] ice in fold_convert, at fold-const.c:2330
  2007-04-12 16:44 [Bug fortran/31551] New: ice in fold_convert, at fold-const.c:2330 dfranke at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2007-04-13 10:34 ` dfranke at gcc dot gnu dot org
@ 2007-04-13 16:05 ` pault at gcc dot gnu dot org
  2007-04-13 16:07 ` dfranke at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pault at gcc dot gnu dot org @ 2007-04-13 16:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from pault at gcc dot gnu dot org  2007-04-13 17:05 -------
Daniel reports that the patch for PR31550 has fixed this one too.

Thanks for the reports , Daniel.  As usual, they were testing.

Paul


-- 

pault at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED


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


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

* [Bug fortran/31551] ice in fold_convert, at fold-const.c:2330
  2007-04-12 16:44 [Bug fortran/31551] New: ice in fold_convert, at fold-const.c:2330 dfranke at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2007-04-13 16:05 ` pault at gcc dot gnu dot org
@ 2007-04-13 16:07 ` dfranke at gcc dot gnu dot org
  2007-04-17 20:33 ` zingale at gmail dot com
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: dfranke at gcc dot gnu dot org @ 2007-04-13 16:07 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from dfranke at gcc dot gnu dot org  2007-04-13 17:07 -------
This fix commited for PR31550 fixes this ICE as well. Closing as dupe.

*** This bug has been marked as a duplicate of 31550 ***

*** This bug has been marked as a duplicate of 31550 ***


-- 

dfranke at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|FIXED                       |DUPLICATE


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


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

* [Bug fortran/31551] ice in fold_convert, at fold-const.c:2330
  2007-04-12 16:44 [Bug fortran/31551] New: ice in fold_convert, at fold-const.c:2330 dfranke at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2007-04-13 16:07 ` dfranke at gcc dot gnu dot org
@ 2007-04-17 20:33 ` zingale at gmail dot com
  2007-04-17 20:55 ` fxcoudert at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: zingale at gmail dot com @ 2007-04-17 20:33 UTC (permalink / raw)
  To: gcc-bugs

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



------- Comment #7 from zingale at gmail dot com  2007-04-17 21:32 -------
I am seeing 

internal compiler error: in fold_convert, at fold-const.c:2330

using gcc version 4.3.0 20070417 (experimental)

If I follow the thread in this bug list, it seems that this version should have
the patch applied.  So I am not sure if I am not testing a patched version or
if there is still an ICE there.  FWIW, this code used to compile just fine with
gfortran up until a month ago.  

Sadly, I can't seem to distill this down into a simple test case.


gfortran  -Jt/Linux.gfortran.debug/m -I t/Linux.gfortran.debug/m -g
-fno-range-check   -I ../../extern/helmeos  -c -o
t/Linux.gfortran.debug/o/boxarray.o ../../boxlib/boxarray.f90
../../boxlib/boxarray.f90: In function ‘boxarray_build_l’:
../../boxlib/boxarray.f90:297: internal compiler error: in fold_convert, at
fold-const.c:2330
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
gmake: *** [t/Linux.gfortran.debug/o/boxarray.o] Error 1


-- 


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


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

* [Bug fortran/31551] ice in fold_convert, at fold-const.c:2330
  2007-04-12 16:44 [Bug fortran/31551] New: ice in fold_convert, at fold-const.c:2330 dfranke at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2007-04-17 20:33 ` zingale at gmail dot com
@ 2007-04-17 20:55 ` fxcoudert at gcc dot gnu dot org
  2007-04-17 21:22 ` dfranke at gcc dot gnu dot org
  2007-04-18 13:58 ` zingale at gmail dot com
  9 siblings, 0 replies; 11+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2007-04-17 20:55 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from fxcoudert at gcc dot gnu dot org  2007-04-17 21:55 -------
(In reply to comment #7)
> If I follow the thread in this bug list, it seems that this version should have
> the patch applied.

That's right. Daniel, could you confirm that your testcase is indeed fixed with
today's mainline?

> Sadly, I can't seem to distill this down into a simple test case.

Even if it's not that small, could you send it to my privately? (fxcoudert at
gcc dot gnu dot org)
Make a tarball of the source file and instructions on how to build it, and I'll
reduce it.


-- 

fxcoudert at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zingale at gmail dot com


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


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

* [Bug fortran/31551] ice in fold_convert, at fold-const.c:2330
  2007-04-12 16:44 [Bug fortran/31551] New: ice in fold_convert, at fold-const.c:2330 dfranke at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2007-04-17 20:55 ` fxcoudert at gcc dot gnu dot org
@ 2007-04-17 21:22 ` dfranke at gcc dot gnu dot org
  2007-04-18 13:58 ` zingale at gmail dot com
  9 siblings, 0 replies; 11+ messages in thread
From: dfranke at gcc dot gnu dot org @ 2007-04-17 21:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from dfranke at gcc dot gnu dot org  2007-04-17 22:22 -------
> That's right. Daniel, could you confirm that your testcase is indeed 
> fixed with today's mainline?

Confirmed, no more crashes in my code.

gcc version 4.3.0 20070417 (experimental)


-- 


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


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

* [Bug fortran/31551] ice in fold_convert, at fold-const.c:2330
  2007-04-12 16:44 [Bug fortran/31551] New: ice in fold_convert, at fold-const.c:2330 dfranke at gcc dot gnu dot org
                   ` (8 preceding siblings ...)
  2007-04-17 21:22 ` dfranke at gcc dot gnu dot org
@ 2007-04-18 13:58 ` zingale at gmail dot com
  9 siblings, 0 replies; 11+ messages in thread
From: zingale at gmail dot com @ 2007-04-18 13:58 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from zingale at gmail dot com  2007-04-18 14:58 -------
Thanks for the help.  I'll put together a tarball and pass it to you privately
as instructed.


-- 


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


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

end of thread, other threads:[~2007-04-18 13:58 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-12 16:44 [Bug fortran/31551] New: ice in fold_convert, at fold-const.c:2330 dfranke at gcc dot gnu dot org
2007-04-12 16:46 ` [Bug fortran/31551] " dfranke at gcc dot gnu dot org
2007-04-13  4:13 ` pault at gcc dot gnu dot org
2007-04-13  7:48 ` dfranke at gcc dot gnu dot org
2007-04-13 10:34 ` dfranke at gcc dot gnu dot org
2007-04-13 16:05 ` pault at gcc dot gnu dot org
2007-04-13 16:07 ` dfranke at gcc dot gnu dot org
2007-04-17 20:33 ` zingale at gmail dot com
2007-04-17 20:55 ` fxcoudert at gcc dot gnu dot org
2007-04-17 21:22 ` dfranke at gcc dot gnu dot org
2007-04-18 13:58 ` zingale 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).