public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/46917] New: ICE
@ 2010-12-13  1:27 vivekrao4 at yahoo dot com
  2010-12-13  7:44 ` [Bug fortran/46917] ICE burnus at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: vivekrao4 at yahoo dot com @ 2010-12-13  1:27 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: ICE
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: vivekrao4@yahoo.com


For the code 

module random_integer_mod
implicit none
contains
function vec_block(ivec,block_size) result(jvec)
integer, intent(in) :: ivec(:)
integer, intent(in) :: block_size
integer             :: jvec(size(ivec)*block_size)
jvec = 1
end function vec_block
!
function permute_blocks(nitems,block_size) result(ivec)
integer, intent(in)  :: block_size,nitems
integer              :: ivec(nitems)
integer              :: nblocks
integer, allocatable :: jvec(:)
nblocks = 1
allocate (jvec(nblocks*block_size))
jvec = vec_block(permutation(nblocks),block_size)
ivec = 1
end function permute_blocks
!
function permutation(n) result(ivec)
integer, intent(in) :: n
integer             :: ivec(n)
ivec = 1
end function permutation
end module random_integer_mod

Compiling gives

gfortran -c -v random_integer_gf_ice.f90
Built by Equation Solution <http://www.Equation.com>.
Using built-in specs.
COLLECT_GCC=gfortran
COLLECT_LTO_WRAPPER=c:/fsf/bin/../libexec/gcc/i686-pc-mingw32/4.6.0/lto-wrapper.exe
Target: i686-pc-mingw32
Thread model: win32
gcc version 4.6.0 20101211 (experimental) (GCC) 
COLLECT_GCC_OPTIONS='-c' '-v' '-mtune=generic' '-march=pentiumpro'
 c:/fsf/bin/../libexec/gcc/i686-pc-mingw32/4.6.0/f951.exe
random_integer_gf_ice.f90 -quiet -dumpbase random_integer_gf_ice.f90
-mtune=generic -march=pentiumpro -auxbase random_integer_gf_ice -version
-fintrinsic-modules-path c:/fsf/bin/../lib/gcc/i686-pc-mingw32/4.6.0/finclude
-o C:\DOCUME~1\Vivek\LOCALS~1\Temp\ccZNOJh6.s
GNU Fortran (GCC) version 4.6.0 20101211 (experimental) (i686-pc-mingw32)
    compiled by GNU C version 4.6.0 20101211 (experimental), GMP version 5.0.1,
MPFR version 3.0.0, MPC version 0.8.2
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
GNU Fortran (GCC) version 4.6.0 20101211 (experimental) (i686-pc-mingw32)
    compiled by GNU C version 4.6.0 20101211 (experimental), GMP version 5.0.1,
MPFR version 3.0.0, MPC version 0.8.2
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
random_integer_gf_ice.f90: In function 'permute_blocks':
random_integer_gf_ice.f90:18:0: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


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

* [Bug fortran/46917] ICE
  2010-12-13  1:27 [Bug fortran/46917] New: ICE vivekrao4 at yahoo dot com
@ 2010-12-13  7:44 ` burnus at gcc dot gnu.org
  2010-12-21 15:15 ` ktietz at gcc dot gnu.org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: burnus at gcc dot gnu.org @ 2010-12-13  7:44 UTC (permalink / raw)
  To: gcc-bugs

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

Tobias Burnus <burnus at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |burnus at gcc dot gnu.org

--- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> 2010-12-13 07:44:36 UTC ---
Works here with 4.6.0 20101211 on x86-64-linux (also under valgrind).


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

* [Bug fortran/46917] ICE
  2010-12-13  1:27 [Bug fortran/46917] New: ICE vivekrao4 at yahoo dot com
  2010-12-13  7:44 ` [Bug fortran/46917] ICE burnus at gcc dot gnu.org
@ 2010-12-21 15:15 ` ktietz at gcc dot gnu.org
  2010-12-21 15:32 ` burnus at gcc dot gnu.org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: ktietz at gcc dot gnu.org @ 2010-12-21 15:15 UTC (permalink / raw)
  To: gcc-bugs

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

Kai Tietz <ktietz at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ktietz at gcc dot gnu.org

--- Comment #2 from Kai Tietz <ktietz at gcc dot gnu.org> 2010-12-21 15:15:23 UTC ---
I can't confirm this ICE. My gcc is 4.6.0 20101215. Maybe this issue was
already fixed.


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

* [Bug fortran/46917] ICE
  2010-12-13  1:27 [Bug fortran/46917] New: ICE vivekrao4 at yahoo dot com
  2010-12-13  7:44 ` [Bug fortran/46917] ICE burnus at gcc dot gnu.org
  2010-12-21 15:15 ` ktietz at gcc dot gnu.org
@ 2010-12-21 15:32 ` burnus at gcc dot gnu.org
  2010-12-21 18:00 ` burnus at gcc dot gnu.org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: burnus at gcc dot gnu.org @ 2010-12-21 15:32 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Tobias Burnus <burnus at gcc dot gnu.org> 2010-12-21 15:32:26 UTC ---
Works also with GCC 4.6.0 20101129 (experimental) [trunk revision 167231] on
x86_64-unknown-linux-gnu


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

* [Bug fortran/46917] ICE
  2010-12-13  1:27 [Bug fortran/46917] New: ICE vivekrao4 at yahoo dot com
                   ` (2 preceding siblings ...)
  2010-12-21 15:32 ` burnus at gcc dot gnu.org
@ 2010-12-21 18:00 ` burnus at gcc dot gnu.org
  2010-12-27  0:06 ` dfranke at gcc dot gnu.org
  2010-12-27  0:10 ` dfranke at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: burnus at gcc dot gnu.org @ 2010-12-21 18:00 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Tobias Burnus <burnus at gcc dot gnu.org> 2010-12-21 18:00:18 UTC ---
Related: PR 46825

All (that PR, this PR and the thread) are with www.Equation.com builds - and
according the following thread they only occur with the 32bit version:
http://groups.google.com/group/comp.lang.fortran/browse_thread/thread/05c3648efda0dc9b


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

* [Bug fortran/46917] ICE
  2010-12-13  1:27 [Bug fortran/46917] New: ICE vivekrao4 at yahoo dot com
                   ` (3 preceding siblings ...)
  2010-12-21 18:00 ` burnus at gcc dot gnu.org
@ 2010-12-27  0:06 ` dfranke at gcc dot gnu.org
  2010-12-27  0:10 ` dfranke at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: dfranke at gcc dot gnu.org @ 2010-12-27  0:06 UTC (permalink / raw)
  To: gcc-bugs

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

Daniel Franke <dfranke at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |dfranke at gcc dot gnu.org
         Resolution|                            |INVALID

--- Comment #5 from Daniel Franke <dfranke at gcc dot gnu.org> 2010-12-27 00:05:53 UTC ---
Closing as INVALID due to comments #1 to #4.
Please reopen if you feel that this PR should live on.


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

* [Bug fortran/46917] ICE
  2010-12-13  1:27 [Bug fortran/46917] New: ICE vivekrao4 at yahoo dot com
                   ` (4 preceding siblings ...)
  2010-12-27  0:06 ` dfranke at gcc dot gnu.org
@ 2010-12-27  0:10 ` dfranke at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: dfranke at gcc dot gnu.org @ 2010-12-27  0:10 UTC (permalink / raw)
  To: gcc-bugs

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

Daniel Franke <dfranke at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |michael.a.richmond at nasa
                   |                            |dot gov

--- Comment #6 from Daniel Franke <dfranke at gcc dot gnu.org> 2010-12-27 00:09:46 UTC ---
*** Bug 46825 has been marked as a duplicate of this bug. ***


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

end of thread, other threads:[~2010-12-27  0:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-13  1:27 [Bug fortran/46917] New: ICE vivekrao4 at yahoo dot com
2010-12-13  7:44 ` [Bug fortran/46917] ICE burnus at gcc dot gnu.org
2010-12-21 15:15 ` ktietz at gcc dot gnu.org
2010-12-21 15:32 ` burnus at gcc dot gnu.org
2010-12-21 18:00 ` burnus at gcc dot gnu.org
2010-12-27  0:06 ` dfranke at gcc dot gnu.org
2010-12-27  0:10 ` dfranke 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).