public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/55852] New: internal compiler error: in gfc_build_intrinsic_call, at fortran/expr.c:4647
@ 2013-01-03  1:08 latlon90180+gcc_bugzilla at gmail dot com
  2013-01-03  9:39 ` [Bug fortran/55852] " janus at gcc dot gnu.org
                   ` (17 more replies)
  0 siblings, 18 replies; 19+ messages in thread
From: latlon90180+gcc_bugzilla at gmail dot com @ 2013-01-03  1:08 UTC (permalink / raw)
  To: gcc-bugs


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

             Bug #: 55852
           Summary: internal compiler error: in gfc_build_intrinsic_call,
                    at fortran/expr.c:4647
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: latlon90180+gcc_bugzilla@gmail.com


Compilation of the following program causes internal compiler error:

!-----------------------------------
program bug
  implicit none

  Real, allocatable:: a(:)

  allocate(a(1:3))

  print*, ubound((a), 1) ! Bad
! print*, ubound(a, 1)   ! OK
! print*, lbound((a), 1) ! OK
! print*, lbound(a, 1)   ! OK

  stop
end program bug
!------------------------------------

$ gfortran-mp-4.8 -Wall -Wextra bug.F90
f951: internal compiler error: in gfc_build_intrinsic_call, at
fortran/expr.c:4647

f951: internal compiler error: Abort trap
gfortran-mp-4.8: internal compiler error: Abort trap (program f951)
Abort trap

$ gfortran-mp-4.8 -v
Using built-in specs.
COLLECT_GCC=gfortran-mp-4.8
COLLECT_LTO_WRAPPER=/opt/local/libexec/gcc/x86_64-apple-darwin10/4.8.0/lto-wrapper
Target: x86_64-apple-darwin10
Configured with: ../gcc-4.8-20121223/configure --prefix=/opt/local
--build=x86_64-apple-darwin10
--enable-languages=c,c++,objc,obj-c++,fortran,java
--libdir=/opt/local/lib/gcc48 --includedir=/opt/local/include/gcc48
--infodir=/opt/local/share/info --mandir=/opt/local/share/man
--datarootdir=/opt/local/share/gcc-4.8 --with-local-prefix=/opt/local
--with-system-zlib --disable-nls --program-suffix=-mp-4.8
--with-gxx-include-dir=/opt/local/include/gcc48/c++/ --with-gmp=/opt/local
--with-mpfr=/opt/local --with-mpc=/opt/local --with-ppl=/opt/local
--with-cloog=/opt/local --enable-cloog-backend=isl
--disable-cloog-version-check --enable-stage1-checking --disable-multilib
--enable-lto --enable-libstdcxx-time --with-as=/opt/local/bin/as
--with-ld=/opt/local/bin/ld --with-ar=/opt/local/bin/ar
--with-bugurl=https://trac.macports.org/newticket --with-pkgversion='MacPorts
gcc48 4.8-20121223_0'
Thread model: posix
gcc version 4.8.0 20121223 (experimental) (MacPorts gcc48 4.8-20121223_0)


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

end of thread, other threads:[~2013-02-13 19:21 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-03  1:08 [Bug fortran/55852] New: internal compiler error: in gfc_build_intrinsic_call, at fortran/expr.c:4647 latlon90180+gcc_bugzilla at gmail dot com
2013-01-03  9:39 ` [Bug fortran/55852] " janus at gcc dot gnu.org
2013-01-03  9:43 ` [Bug fortran/55852] [4.6/4.7/4.8 regression] " janus at gcc dot gnu.org
2013-01-03 11:01 ` dominiq at lps dot ens.fr
2013-01-03 11:10 ` burnus at gcc dot gnu.org
2013-01-03 11:13 ` dominiq at lps dot ens.fr
2013-01-04 17:27 ` jakub at gcc dot gnu.org
2013-01-06 20:56 ` tkoenig at gcc dot gnu.org
2013-01-06 21:59 ` tkoenig at gcc dot gnu.org
2013-01-07 11:11 ` burnus at gcc dot gnu.org
2013-01-07 15:24 ` burnus at gcc dot gnu.org
2013-01-07 19:11 ` burnus at gcc dot gnu.org
2013-01-08 16:56 ` schwab@linux-m68k.org
2013-02-13 14:39 ` burnus at gcc dot gnu.org
2013-02-13 14:44 ` janus at gcc dot gnu.org
2013-02-13 15:09 ` burnus at gcc dot gnu.org
2013-02-13 17:51 ` burnus at gcc dot gnu.org
2013-02-13 17:52 ` burnus at gcc dot gnu.org
2013-02-13 19:21 ` latlon90180+gcc_bugzilla 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).