Test compile/actual.f90 passes at -O0 and -O1 but fails with higher optimization with CVS of 2004-06-11. The error is Executing on host: /disk4/billingd/obj/gcc-f/gcc/testsuite/../gfortran - B/disk4/billingd/obj/gcc-f/gcc/testsuite/../ -w -O2 -c - o /disk4/billingd/obj/gcc- f/gcc/testsuite/actual.o /disk4/billingd/src/gcc/gcc/testsuite/gfortran.fortran -torture/compile/actual.f90 (timeout = 300) /disk4/billingd/src/gcc/gcc/testsuite/gfortran.fortran- torture/compile/actual.f90: In function `MAIN__': /disk4/billingd/src/gcc/gcc/testsuite/gfortran.fortran- torture/compile/actual.f90:8: error: Missing callgraph edge for call expr: <call_expr 40194d0 type <real_type 401d080 real4 SF size <integer_cst 40760c0 constant invariant 32> unit size <integer_cst 40760e0 constant invariant 4> align 32 symtab 0 alias set 2 precision 32 pointer_to_this <pointer_type 401d200> reference_to_this <reference_type 4073200>> side-effects arg 0 <addr_expr 4075ee0 type <pointer_type 4073b80 type <function_type 4073280> unsigned SI size <integer_cst 4013aa0 constant invariant 32> unit size <integer_cst 4013b20 constant invariant 4> align 32 symtab 0 alias set -1> constant invariant arg 0 <function_decl 407c400 fun type <function_type 4073280> addressable public external SI file /disk4/billingd/src/gcc/gcc/testsuite/gfortran.fortran- torture/compile/actual.f90 line 21 chain <function_decl 4073800 MAIN__>>> arg 1 <tree_list 4075f00 value <var_decl 407d680 a type <reference_type 4073200> readonly used unsigned SI file /disk4/billingd/src/gcc/gcc/testsuite/gfortran.fortran- torture/compile/actual.f90 line 21 size <integer_cst 4013aa0 32> unit size <integer_cst 4013b20 4> align 32 context <function_decl 4073800 MAIN__> abstract_origin <parm_decl 4073e00 a> chain <var_decl 407d780>>> /disk4/billingd/src/gcc/gcc/testsuite/gfortran.fortran- torture/compile/actual.f90:35> MAIN__/2: 21 insns (33 after inlining) needed tree called by: calls: /disk4/billingd/src/gcc/gcc/testsuite/gfortran.fortran- torture/compile/actual.f90:8: internal compiler error: verify_cgraph_node failed. Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. compiler exited with status 1
Confirmed, known fails everywhere, this is caused by unit-at-a-time.
*** Bug 16050 has been marked as a duplicate of this bug. ***
Is this still true? If yes, what architecture are you on?
This is fixed for now, but waiting to see if this was caused by Kenner's patch which should be reverted soon unless he fixes a performance problem.
Confirm now OK on mips-sgi-irix6.5
Confirmed now OK for x86_64-unknown-linux-gnu and sparc-sun-solaris2.8.