Bug 34698 - [4.3 regression] common_6.f90 gives internal compiler error
Summary: [4.3 regression] common_6.f90 gives internal compiler error
Status: RESOLVED DUPLICATE of bug 33375
Alias: None
Product: gcc
Classification: Unclassified
Component: fortran (show other bugs)
Version: unknown
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-07 01:30 UTC by İsmail Dönmez
Modified: 2008-01-07 07:48 UTC (History)
5 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed: 2008-01-07 01:46:35


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description İsmail Dönmez 2008-01-07 01:30:05 UTC
This is introduced in last 24 hours because 2007-01-06 snapshot was ok,

Executing on host: /var/pisi/gcc-4.3_pre20080107-32/work/gcc-4.3-20080107/build/gcc/testsuite/gfortran/../../gfortran -B/var/pisi/gcc-4.3_pre20080107-32/work
/gcc-4.3-20080107/build/gcc/testsuite/gfortran/../../ /var/pisi/gcc-4.3_pre20080107-32/work/gcc-4.3-20080107/gcc/testsuite/gfortran.dg/common_6.f90   -O   -p
edantic-errors -fno-show-error-count -S  -o common_6.s    (timeout = 300)
/var/pisi/gcc-4.3_pre20080107-32/work/gcc-4.3-20080107/gcc/testsuite/gfortran.dg/common_6.f90:3.6:

common          ! { dg-error "Syntax error" }
     1
Error: Syntax error in COMMON statement at (1)
/var/pisi/gcc-4.3_pre20080107-32/work/gcc-4.3-20080107/gcc/testsuite/gfortran.dg/common_6.f90:4.9:

common //       ! { dg-error "Syntax error" }
        1
Error: Syntax error in COMMON statement at (1)
/var/pisi/gcc-4.3_pre20080107-32/work/gcc-4.3-20080107/gcc/testsuite/gfortran.dg/common_6.f90:5.10:

common /a/      ! { dg-error "Syntax error" }
         1
Error: Syntax error in COMMON statement at (1)
/var/pisi/gcc-4.3_pre20080107-32/work/gcc-4.3-20080107/gcc/testsuite/gfortran.dg/common_6.f90:6.14:

common /b/x/c/  ! { dg-error "Syntax error" }
             1
Error: Syntax error in COMMON statement at (1)
/var/pisi/gcc-4.3_pre20080107-32/work/gcc-4.3-20080107/gcc/testsuite/gfortran.dg/common_6.f90:7.11:

common y/d/     ! { dg-error "Syntax error" }
          1
Error: Syntax error in COMMON statement at (1)
/var/pisi/gcc-4.3_pre20080107-32/work/gcc-4.3-20080107/gcc/testsuite/gfortran.dg/common_6.f90:8.10:

common /e//f/   ! { dg-error "Syntax error" }
         1
Error: Syntax error in COMMON statement at (1)
/var/pisi/gcc-4.3_pre20080107-32/work/gcc-4.3-20080107/gcc/testsuite/gfortran.dg/common_6.f90:9.9:
common ///g/    ! { dg-error "Syntax error" }
        1
Error: Syntax error in COMMON statement at (1)
f951: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.pardus.org.tr> for instructions.
compiler exited with status 1


[~]> /var/pisi/gcc-4.3_pre20080107-32/work/gcc-4.3-20080107/build/gcc/testsuite/gfortran/../../gfortran -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../configure --prefix=/usr --bindir=/usr/bin --libdir=/usr/lib --libexecdir=/usr/lib --includedir=/usr/include --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++ --disable-libgcj --disable-multilib --disable-nls --disable-werror --disable-mudflap --disable-libmudflap --enable-checking=release --enable-clocale=gnu --enable-__cxa_atexit --enable-languages=c,c++,fortran,objc --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-shared --enable-ssp --disable-libssp --enable-threads=posix --without-included-gettext --without-system-libunwind --with-system-zlib --with-cpu=generic --with-pkgversion='Pardus Linux' --with-bugurl=http://bugs.pardus.org.tr
Thread model: posix
gcc version 4.3.0 20080107 [trunk revision 131370] (Pardus Linux)
Comment 1 İsmail Dönmez 2008-01-07 01:32:16 UTC
I mean 2008-01-06 snapshot of course, duh.
Comment 2 Jerry DeLisle 2008-01-07 01:46:35 UTC
I can confirm this bug.  We know where this was introduced.  It is probably a latent bug and occurs only with invalid code.  It is being worked.
Comment 3 Tobias Burnus 2008-01-07 07:48:48 UTC

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