With revision 132122, I got

bash-3.2$ 
/export/build/gnu/gcc/build-x86_64-linux/gcc/testsuite/gfortran/../../gfortran
-B/export/build/gnu/gcc/build-x86_64-linux/gcc/testsuite/gfortran/../../
/export/gnu/src/gcc/gcc/gcc/testsuite/gfortran.dg/data_constraints_1.f90   -O  
-pedantic-errors -S  -m32 -o  foo.s
/export/gnu/src/gcc/gcc/gcc/testsuite/gfortran.dg/data_constraints_1.f90:12.8:

  data n /0/            ! { dg-error "Cannot change attributes" }
       1
Error: Cannot change attributes of USE-associated symbol n at (1)
/export/gnu/src/gcc/gcc/gcc/testsuite/gfortran.dg/data_constraints_1.f90:20.8:

  data l /42/           ! { dg-error "conflicts with ALLOCATABLE" }
       1
Error: DATA attribute conflicts with ALLOCATABLE attribute in 'l' at (1)
/export/gnu/src/gcc/gcc/gcc/testsuite/gfortran.dg/data_constraints_1.f90:22.9:

  data q /1/            ! { dg-error "Host associated variable" }
        1
Error: Host associated variable 'q' may not be in the DATA statement at (1)
/export/gnu/src/gcc/gcc/gcc/testsuite/gfortran.dg/data_constraints_1.f90:23.8:

  data m /1/            ! { dg-error "conflicts with DUMMY attribute" }
       1
Error: DATA attribute conflicts with DUMMY attribute in 'm' at (1)
/export/gnu/src/gcc/gcc/gcc/testsuite/gfortran.dg/data_constraints_1.f90:24.10:

  data bar /99/         ! { dg-error "conflicts with RESULT" }
         1
Error: DATA attribute conflicts with RESULT attribute in 'bar' at (1)
/export/gnu/src/gcc/gcc/gcc/testsuite/gfortran.dg/data_constraints_1.f90:28.13:

  data foobar /0/       ! { dg-error "conflicts with FUNCTION" }
            1
Error: DATA attribute conflicts with FUNCTION attribute in 'foobar' at (1)
/export/gnu/src/gcc/gcc/gcc/testsuite/gfortran.dg/data_constraints_1.f90:21.8:

  data p(1) /1/         ! { dg-error "non-constant array in DATA" }
       1
Error: non-constant array in DATA statement (1)
*** glibc detected ***
/export/build/gnu/gcc/build-x86_64-linux/gcc/testsuite/gfortran/../../f951:
double free or corruption (fasttop): 0x0000000000eeb770 ***
======= Backtrace: =========
/lib64/libc.so.6[0x3472c70412]
/lib64/libc.so.6(cfree+0x8c)[0x3472c73b1c]
/export/build/gnu/gcc/build-x86_64-linux/gcc/testsuite/gfortran/../../f951[0x411cea]
/export/build/gnu/gcc/build-x86_64-linux/gcc/testsuite/gfortran/../../f951[0x45dd29]
/export/build/gnu/gcc/build-x86_64-linux/gcc/testsuite/gfortran/../../f951[0x45f72e]
/export/build/gnu/gcc/build-x86_64-linux/gcc/testsuite/gfortran/../../f951[0x45f5b8]
/export/build/gnu/gcc/build-x86_64-linux/gcc/testsuite/gfortran/../../f951[0x462d7d]
/export/build/gnu/gcc/build-x86_64-linux/gcc/testsuite/gfortran/../../f951[0x453cf0]
/export/build/gnu/gcc/build-x86_64-linux/gcc/testsuite/gfortran/../../f951[0x47e075]
/export/build/gnu/gcc/build-x86_64-linux/gcc/testsuite/gfortran/../../f951[0x63da75]
/lib64/libc.so.6(__libc_start_main+0xf4)[0x3472c1dab4]
/export/build/gnu/gcc/build-x86_64-linux/gcc/testsuite/gfortran/../../f951(calloc+0x1b9)[0x402d89]
======= Memory map: ========
00400000-00bd6000 r-xp 00000000 08:11 23330831                          
/export/build/gnu/gcc/build-x86_64-linux/gcc/f951
00dd5000-00e42000 rw-p 007d5000 08:11 23330831                          
/export/build/gnu/gcc/build-x86_64-linux/gcc/f951
00e42000-00efc000 rw-p 00e42000 00:00 0                                  [heap]
3472800000-347281a000 r-xp 00000000 08:05 11261190                      
/lib64/ld-2.6.so
3472a1a000-3472a1b000 r--p 0001a000 08:05 11261190                      
/lib64/ld-2.6.so
3472a1b000-3472a1c000 rw-p 0001b000 08:05 11261190                      
/lib64/ld-2.6.so
3472c00000-3472d48000 r-xp 00000000 08:05 11261498                      
/lib64/libc-2.6.so
3472d48000-3472f47000 ---p 00148000 08:05 11261498                      
/lib64/libc-2.6.so
3472f47000-3472f4b000 r--p 00147000 08:05 11261498                      
/lib64/libc-2.6.so
3472f4b000-3472f4c000 rw-p 0014b000 08:05 11261498                      
/lib64/libc-2.6.so
3472f4c000-3472f51000 rw-p 3472f4c000 00:00 0 
3473400000-3473402000 r-xp 00000000 08:05 11261508                      
/lib64/libdl-2.6.so
3473402000-3473602000 ---p 00002000 08:05 11261508                      
/lib64/libdl-2.6.so
3473602000-3473603000 r--p 00002000 08:05 11261508                      
/lib64/libdl-2.6.so
3473603000-3473604000 rw-p 00003000 08:05 11261508                      
/lib64/libdl-2.6.so
3480600000-348060d000 r-xp 00000000 08:05 11261321                      
/lib64/libgcc_s-4.1.2-20070925.so.1
348060d000-348080d000 ---p 0000d000 08:05 11261321                      
/lib64/libgcc_s-4.1.2-20070925.so.1
348080d000-348080e000 rw-p 0000d000 08:05 11261321                      
/lib64/libgcc_s-4.1.2-20070925.so.1
2aaaaaaab000-2aaaaaaad000 rw-p 2aaaaaaab000 00:00 0 
2aaaaaac9000-2aaaaaacb000 rw-p 2aaaaaac9000 00:00 0 
2aaaaaacb000-2aaaae8f5000 r--p 00000000 08:05 2817927                   
/usr/lib/locale/locale-archive
2aaaae8f5000-2aaaaea28000 rw-p 2aaaae8f5000 00:00 0 
2aaaaea28000-2aaaaea2f000 r--s 00000000 08:05 3994609                   
/usr/lib64/gconv/gconv-modules.cache
2aaab0000000-2aaab0021000 rw-p 2aaab0000000 00:00 0 
2aaab0021000-2aaab4000000 ---p 2aaab0021000 00:00 0 
7fff86e75000-7fff86e8a000 rw-p 7ffffffea000 00:00 0                     
[stack]
7fff86ffd000-7fff87000000 r-xp 7fff86ffd000 00:00 0                      [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                 
[vsyscall]
f951: internal compiler error: Aborted
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
bash-3.2$ 

Revision 132113 is bad and revision 132111 is OK.


-- 
           Summary: [4.3 Regression] gfortran.dg/data_constraints_1.f90
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hjl dot tools at gmail dot com


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

Reply via email to