public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/24966]  New: Internal compiler error: Bus error
@ 2005-11-21  1:51 schnetter at aei dot mpg dot de
  2005-11-21  1:52 ` [Bug fortran/24966] " schnetter at aei dot mpg dot de
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: schnetter at aei dot mpg dot de @ 2005-11-21  1:51 UTC (permalink / raw)
  To: gcc-bugs

I use

$ ~/gcc/bin/gfortran --version
GNU Fortran 95 (GCC) 4.2.0 20051119 (experimental)

and receive for the attached source file, after several warnings, the error

/Users/eschnett/Cvanilla/arrangements/AEIDevelopment/Weyl/src/w_extract_multipoles.F90:370:
internal compiler error: Bus error

I also attach the complete screen output.


-- 
           Summary: Internal compiler error: Bus error
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: schnetter at aei dot mpg dot de
 GCC build triplet: powerpc-apple-darwin8.3.0
  GCC host triplet: powerpc-apple-darwin8.3.0
GCC target triplet: powerpc-apple-darwin8.3.0


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


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

* [Bug fortran/24966] Internal compiler error: Bus error
  2005-11-21  1:51 [Bug fortran/24966] New: Internal compiler error: Bus error schnetter at aei dot mpg dot de
@ 2005-11-21  1:52 ` schnetter at aei dot mpg dot de
  2005-11-21  1:53 ` schnetter at aei dot mpg dot de
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: schnetter at aei dot mpg dot de @ 2005-11-21  1:52 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from schnetter at aei dot mpg dot de  2005-11-21 01:52 -------
Created an attachment (id=10304)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10304&action=view)
Failing source code


-- 


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


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

* [Bug fortran/24966] Internal compiler error: Bus error
  2005-11-21  1:51 [Bug fortran/24966] New: Internal compiler error: Bus error schnetter at aei dot mpg dot de
  2005-11-21  1:52 ` [Bug fortran/24966] " schnetter at aei dot mpg dot de
@ 2005-11-21  1:53 ` schnetter at aei dot mpg dot de
  2005-11-21  1:54 ` schnetter at aei dot mpg dot de
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: schnetter at aei dot mpg dot de @ 2005-11-21  1:53 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from schnetter at aei dot mpg dot de  2005-11-21 01:53 -------
I forgot to mention my command line arguments:

/Users/eschnett/gcc/bin/gfortran -mlongcall -ftrapv -fwrapv -g3 -Wall -Wshadow
-Wsurprising -c -o $current_wd/w_extract_multipoles.F90.o
$current_wd/w_extract_multipoles.f90


-- 


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


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

* [Bug fortran/24966] Internal compiler error: Bus error
  2005-11-21  1:51 [Bug fortran/24966] New: Internal compiler error: Bus error schnetter at aei dot mpg dot de
  2005-11-21  1:52 ` [Bug fortran/24966] " schnetter at aei dot mpg dot de
  2005-11-21  1:53 ` schnetter at aei dot mpg dot de
@ 2005-11-21  1:54 ` schnetter at aei dot mpg dot de
  2005-11-21  2:27 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: schnetter at aei dot mpg dot de @ 2005-11-21  1:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from schnetter at aei dot mpg dot de  2005-11-21 01:54 -------
Created an attachment (id=10305)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10305&action=view)
Complete screen output, i.e., all warnings before the error


-- 


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


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

* [Bug fortran/24966] Internal compiler error: Bus error
  2005-11-21  1:51 [Bug fortran/24966] New: Internal compiler error: Bus error schnetter at aei dot mpg dot de
                   ` (2 preceding siblings ...)
  2005-11-21  1:54 ` schnetter at aei dot mpg dot de
@ 2005-11-21  2:27 ` pinskia at gcc dot gnu dot org
  2005-11-21  2:35 ` pinskia at gcc dot gnu dot org
  2005-11-22 12:40 ` eedelman at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-11-21  2:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pinskia at gcc dot gnu dot org  2005-11-21 02:27 -------
Backtrace:
#0  0x0000000000467551 in gfc_conv_function_call (se=0x7fffffc3b3b0,
sym=0xc84ec0, arg=0xc855e0)
    at /home/pinskia/src/checkin/trunk/gcc/fortran/trans-expr.c:1607
#1  0x0000000000477289 in gfc_trans_call (code=0xc86150) at
/home/pinskia/src/checkin/trunk/gcc/fortran/trans-stmt.c:222
#2  0x000000000045466b in gfc_trans_code (code=0xc86150) at
/home/pinskia/src/checkin/trunk/gcc/fortran/trans.c:533
#3  0x0000000000476d67 in gfc_trans_do (code=0xc857d0) at
/home/pinskia/src/checkin/trunk/gcc/fortran/trans-stmt.c:585
#4  0x00000000004544a9 in gfc_trans_code (code=0xc857d0) at
/home/pinskia/src/checkin/trunk/gcc/fortran/trans.c:549
#5  0x0000000000463505 in gfc_generate_function_code (ns=0xc1d120) at
/home/pinskia/src/checkin/trunk/gcc/fortran/trans-decl.c:2621
#6  0x0000000000439e8c in gfc_parse_file () at
/home/pinskia/src/checkin/trunk/gcc/fortran/parse.c:2680
#7  0x000000000045380e in gfc_be_parse_file (set_yydebug=Variable "set_yydebug"
is not available.
) at /home/pinskia/src/checkin/trunk/gcc/fortran/f95-lang.c:286
#8  0x000000000071cb28 in toplev_main (argc=Variable "argc" is not available.
) at /home/pinskia/src/checkin/trunk/gcc/toplev.c:990
#9  0x00002aaaaad1847b in __libc_start_main () from /lib/libc.so.6
#10 0x0000000000403eaa in _start () at ../sysdeps/x86_64/elf/start.S:113


-- 


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


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

* [Bug fortran/24966] Internal compiler error: Bus error
  2005-11-21  1:51 [Bug fortran/24966] New: Internal compiler error: Bus error schnetter at aei dot mpg dot de
                   ` (3 preceding siblings ...)
  2005-11-21  2:27 ` pinskia at gcc dot gnu dot org
@ 2005-11-21  2:35 ` pinskia at gcc dot gnu dot org
  2005-11-22 12:40 ` eedelman at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-11-21  2:35 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from pinskia at gcc dot gnu dot org  2005-11-21 02:35 -------
Reduced testcase:
subroutine w_combine_multipoles (cctk_dim, cctk_gsh, cctk_lsh, cctk_lbnd,      
                   cctk_ubnd, cctk_lssh, cctk_from,&
 
&tetrad_mask,X0tetrad_n,X0weyl_invariants,X0weyl_scalars,X0weyl_scalars_multipoles,X1ricci_scalars,X1tetrad_l,X1tetrad_m,X1tetrad&
 
&ts,X2weyl_scalars,weyl_scalars_multipoles_length,w_i,w_i_p,w_i_p_p,w_j,w_j_p,w_j_p_p,w_l0,w_l1,w_l2,w_l3,w_lambda,w_lambda_p,w_l&
  &sixx,psixy,psixz,psiy,psiyy,psiyz,psiz,psizz,r,shift_state,space_mask,x,y,z)
  INTEGER X0weyl_scalars_multipoles
  INTEGER weyl_scalars_multipoles_length
  COMPLEX*16 w_one_mp(X0weyl_scalars_multipoles,weyl_scalars_multipoles_length)
  interface
  integer function CCTK_IsThornActive (name)
  end function CCTK_IsThornActive
  end interface
  COMPLEX*16, allocatable :: factor(:)
   call cscale (w_one_mp (:num_modes, n), factor(:))
contains
  elemental subroutine cscale (var, sc)
    COMPLEX*16, intent(inout) :: var
    COMPLEX*16, intent(in)    :: sc
  end subroutine cscale
end subroutine w_combine_multipoles


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-11-21 02:35:45
               date|                            |


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


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

* [Bug fortran/24966] Internal compiler error: Bus error
  2005-11-21  1:51 [Bug fortran/24966] New: Internal compiler error: Bus error schnetter at aei dot mpg dot de
                   ` (4 preceding siblings ...)
  2005-11-21  2:35 ` pinskia at gcc dot gnu dot org
@ 2005-11-22 12:40 ` eedelman at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: eedelman at gcc dot gnu dot org @ 2005-11-22 12:40 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from eedelman at gcc dot gnu dot org  2005-11-22 12:40 -------


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


-- 

eedelman at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2005-11-22 12:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-21  1:51 [Bug fortran/24966] New: Internal compiler error: Bus error schnetter at aei dot mpg dot de
2005-11-21  1:52 ` [Bug fortran/24966] " schnetter at aei dot mpg dot de
2005-11-21  1:53 ` schnetter at aei dot mpg dot de
2005-11-21  1:54 ` schnetter at aei dot mpg dot de
2005-11-21  2:27 ` pinskia at gcc dot gnu dot org
2005-11-21  2:35 ` pinskia at gcc dot gnu dot org
2005-11-22 12:40 ` eedelman 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).