public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/32459]  New: internal compiler error: in build2_stat, at tree.c:3074
@ 2007-06-22  7:33 jv244 at cam dot ac dot uk
  2007-06-22  9:24 ` [Bug middle-end/32459] " rguenth at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: jv244 at cam dot ac dot uk @ 2007-06-22  7:33 UTC (permalink / raw)
  To: gcc-bugs

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

As mentioned in the CP2K PR 29975, current gcc generates and ICE:

vondele@pcihopt1:/scratch/vondele/gcc_test/gfortran/test/src> gfortran -Os
all.f90
all.f90: In function ‘compute_screening_matrices’:
all.f90:305498: internal compiler error: in build2_stat, at tree.c:3074
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
vondele@pcihopt1:/scratch/vondele/gcc_test/gfortran/test/src> gfortran -v
Using built-in specs.
Target: x86_64-unknown-linux-gnu
Configured with: /scratch/vondele/gcc_trunk/gcc/configure
--prefix=/scratch/vondele/gcc_trunk/build
--with-mpfr_include=/scratch/vondele/mpfr-2.2.0/
--with-mpfr_lib=/scratch/vondele/mpfr-2.2.0/ --with-gmp=/users/vondele/
--enable-languages=c,fortran
Thread model: posix
gcc version 4.3.0 20070622 (experimental)

The source can be obtained as explained in comment 112 of PR 29975

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29975#c112


-- 
           Summary: internal compiler error: in build2_stat, at tree.c:3074
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jv244 at cam dot ac dot uk


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


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

* [Bug middle-end/32459] internal compiler error: in build2_stat, at tree.c:3074
  2007-06-22  7:33 [Bug middle-end/32459] New: internal compiler error: in build2_stat, at tree.c:3074 jv244 at cam dot ac dot uk
@ 2007-06-22  9:24 ` rguenth at gcc dot gnu dot org
  2007-06-22 10:13 ` jv244 at cam dot ac dot uk
  2007-06-22 19:48 ` rguenth at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-06-22  9:24 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from rguenth at gcc dot gnu dot org  2007-06-22 09:24 -------
Can you provide a backtrace?


-- 


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


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

* [Bug middle-end/32459] internal compiler error: in build2_stat, at tree.c:3074
  2007-06-22  7:33 [Bug middle-end/32459] New: internal compiler error: in build2_stat, at tree.c:3074 jv244 at cam dot ac dot uk
  2007-06-22  9:24 ` [Bug middle-end/32459] " rguenth at gcc dot gnu dot org
@ 2007-06-22 10:13 ` jv244 at cam dot ac dot uk
  2007-06-22 19:48 ` rguenth at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: jv244 at cam dot ac dot uk @ 2007-06-22 10:13 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from jv244 at cam dot ac dot uk  2007-06-22 10:13 -------
(In reply to comment #1)
> Can you provide a backtrace?
> 

1 compute_screening_matrices
Breakpoint 1, internal_error (gmsgid=0xae1dff "in %s, at %s:%d")
    at /scratch/vondele/gcc_trunk/gcc/gcc/diagnostic.c:596
596     {
(gdb) bt
#0  internal_error (gmsgid=0xae1dff "in %s, at %s:%d")
    at /scratch/vondele/gcc_trunk/gcc/gcc/diagnostic.c:596
#1  0x0000000000514a3c in fancy_abort (file=Variable "file" is not available.
) at /scratch/vondele/gcc_trunk/gcc/gcc/diagnostic.c:656
#2  0x00000000007f4818 in build2_stat (code=MULT_EXPR, tt=0x2a95a5c6c0,
arg0=0x2ac292cc00,
    arg1=0x2ab6eca810) at /scratch/vondele/gcc_trunk/gcc/gcc/tree.c:3074
#3  0x0000000000a2fa90 in aff_combination_add_elt (comb=0x7fbfffe9b0,
elt=0x2aebf44b40, scale=
      {low = 8, high = 0}) at
/scratch/vondele/gcc_trunk/gcc/gcc/tree-affine.c:175
#4  0x0000000000a2ff26 in aff_combination_add (comb1=0x7fbfffe9b0,
comb2=0x7fbfffe7d0)
    at /scratch/vondele/gcc_trunk/gcc/gcc/tree-affine.c:202
#5  0x0000000000764511 in get_computation_aff (loop=0x2ab16d95a0, use=Variable
"use" is not available.
)
    at /scratch/vondele/gcc_trunk/gcc/gcc/tree-ssa-loop-ivopts.c:2669
#6  0x0000000000765fd3 in rewrite_use_address (data=0x7fbfffedf0,
use=0x31199330, cand=0x20bc1650)
    at /scratch/vondele/gcc_trunk/gcc/gcc/tree-ssa-loop-ivopts.c:5086
#7  0x000000000076687e in rewrite_uses (data=0x7fbfffedf0)
    at /scratch/vondele/gcc_trunk/gcc/gcc/tree-ssa-loop-ivopts.c:5147
#8  0x0000000000768c93 in tree_ssa_iv_optimize_loop (data=0x7fbfffedf0,
loop=Variable "loop" is not availa                            ble.
)
    at /scratch/vondele/gcc_trunk/gcc/gcc/tree-ssa-loop-ivopts.c:5346
#9  0x00000000007691c0 in tree_ssa_iv_optimize ()
    at /scratch/vondele/gcc_trunk/gcc/gcc/tree-ssa-loop-ivopts.c:5379
#10 0x0000000000775d7d in tree_ssa_loop_ivopts ()
    at /scratch/vondele/gcc_trunk/gcc/gcc/tree-ssa-loop.c:514
#11 0x000000000062b709 in execute_one_pass (pass=0xd32b80)


-- 


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


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

* [Bug middle-end/32459] internal compiler error: in build2_stat, at tree.c:3074
  2007-06-22  7:33 [Bug middle-end/32459] New: internal compiler error: in build2_stat, at tree.c:3074 jv244 at cam dot ac dot uk
  2007-06-22  9:24 ` [Bug middle-end/32459] " rguenth at gcc dot gnu dot org
  2007-06-22 10:13 ` jv244 at cam dot ac dot uk
@ 2007-06-22 19:48 ` rguenth at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-06-22 19:48 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from rguenth at gcc dot gnu dot org  2007-06-22 19:48 -------
Then it's a dup of PR32417.

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


-- 

rguenth at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2007-06-22 19:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-22  7:33 [Bug middle-end/32459] New: internal compiler error: in build2_stat, at tree.c:3074 jv244 at cam dot ac dot uk
2007-06-22  9:24 ` [Bug middle-end/32459] " rguenth at gcc dot gnu dot org
2007-06-22 10:13 ` jv244 at cam dot ac dot uk
2007-06-22 19:48 ` rguenth 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).