public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug sanitizer/55480] New: gfortran.dg/allocate_alloc_opt_1{0,3}.f90 test cases ICE f91 with -fsanitize=address
@ 2012-11-27  0:55 howarth at nitro dot med.uc.edu
  2012-11-27  1:30 ` [Bug sanitizer/55480] gfortran.dg/allocate_alloc_opt_1{0,3}.f90 test cases ICE f951 " howarth at nitro dot med.uc.edu
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: howarth at nitro dot med.uc.edu @ 2012-11-27  0:55 UTC (permalink / raw)
  To: gcc-bugs


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

             Bug #: 55480
           Summary: gfortran.dg/allocate_alloc_opt_1{0,3}.f90 test cases
                    ICE f91 with -fsanitize=address
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: sanitizer
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: howarth@nitro.med.uc.edu
                CC: dodji@gcc.gnu.org, dvyukov@gcc.gnu.org,
                    jakub@gcc.gnu.org, kcc@gcc.gnu.org


Using...

make -k check-gfortran  RUNTESTFLAGS="--target_board=unix'{-sanitize=address}'"

on x86_64-apple-darwin12 reveals the following f951 ICEs...

FAIL: gfortran.dg/allocate_alloc_opt_10.f90  -O0  (internal compiler error)
FAIL: gfortran.dg/allocate_alloc_opt_10.f90  -O0  (test for excess errors)
FAIL: gfortran.dg/allocate_alloc_opt_10.f90  -O1  (internal compiler error)
FAIL: gfortran.dg/allocate_alloc_opt_10.f90  -O1  (test for excess errors)
FAIL: gfortran.dg/allocate_alloc_opt_10.f90  -O2  (internal compiler error)
FAIL: gfortran.dg/allocate_alloc_opt_10.f90  -O2  (test for excess errors)
FAIL: gfortran.dg/allocate_alloc_opt_10.f90  -O3 -fomit-frame-pointer 
(internal compiler error)
FAIL: gfortran.dg/allocate_alloc_opt_10.f90  -O3 -fomit-frame-pointer  (test
for excess errors)
FAIL: gfortran.dg/allocate_alloc_opt_10.f90  -O3 -fomit-frame-pointer
-funroll-loops  (internal compiler error)
FAIL: gfortran.dg/allocate_alloc_opt_10.f90  -O3 -fomit-frame-pointer
-funroll-loops  (test for excess errors)
FAIL: gfortran.dg/allocate_alloc_opt_10.f90  -O3 -fomit-frame-pointer
-funroll-all-loops -finline-functions  (internal compiler error)
FAIL: gfortran.dg/allocate_alloc_opt_10.f90  -O3 -fomit-frame-pointer
-funroll-all-loops -finline-functions  (test for excess errors)
FAIL: gfortran.dg/allocate_alloc_opt_10.f90  -O3 -g  (internal compiler error)
FAIL: gfortran.dg/allocate_alloc_opt_10.f90  -O3 -g  (test for excess errors)
FAIL: gfortran.dg/allocate_alloc_opt_10.f90  -Os  (internal compiler error)
FAIL: gfortran.dg/allocate_alloc_opt_10.f90  -Os  (test for excess errors)
FAIL: gfortran.dg/allocate_alloc_opt_13.f90  -O  (internal compiler error)
FAIL: gfortran.dg/allocate_alloc_opt_13.f90  -O  (test for excess errors)

These are of the form...

/sw/src/fink.build/gcc48-4.8.0-1000/darwin_objdir/gcc/testsuite/gfortran/../../gfortran
-B/sw/src/fink.build/gcc48-4.8.0-1000/darwin_objdir/gcc/testsuite/gfortran/../../
-B/sw/src/fink.build/gcc48-4.8.0-1000/darwin_objdir/x86_64-apple-darwin11.4.2/./libgfortran/
/sw/src/fink.build/gcc48-4.8.0-1000/gcc-4.8-20121124/gcc/testsuite/gfortran.dg/allocate_alloc_opt_10.f90
 -fno-diagnostics-show-caret   -O0   -pedantic-errors 
-B/sw/src/fink.build/gcc48-4.8.0-1000/darwin_objdir/x86_64-apple-darwin11.4.2/./libgfortran/.libs
-L/sw/src/fink.build/gcc48-4.8.0-1000/darwin_objdir/x86_64-apple-darwin11.4.2/./libgfortran/.libs
-L/sw/src/fink.build/gcc48-4.8.0-1000/darwin_objdir/x86_64-apple-darwin11.4.2/./libgfortran/.libs
-B/sw/src/fink.build/gcc48-4.8.0-1000/darwin_objdir/x86_64-apple-darwin11.4.2/./libquadmath/.libs
-L/sw/src/fink.build/gcc48-4.8.0-1000/darwin_objdir/x86_64-apple-darwin11.4.2/./libquadmath/.libs
-L/sw/src/fink.build/gcc48-4.8.0-1000/darwin_objdir/x86_64-apple-darwin11.4.2/./libquadmath/.libs
 -lm   -fsanitize=address -o ./allocate_alloc_opt_10.exe
/sw/src/fink.build/gcc48-4.8.0-1000/gcc-4.8-20121124/gcc/testsuite/gfortran.dg/allocate_alloc_opt_10.f90:
In function ‘MAIN__’:
/sw/src/fink.build/gcc48-4.8.0-1000/gcc-4.8-20121124/gcc/testsuite/gfortran.dg/allocate_alloc_opt_10.f90:7:0:
error: type mismatch in binary expression
unsigned long

integer(kind=4)

unsigned long

_322 = _321 - 1;

/sw/src/fink.build/gcc48-4.8.0-1000/gcc-4.8-20121124/gcc/testsuite/gfortran.dg/allocate_alloc_opt_10.f90:7:0:
internal compiler error: verify_gimple failed

/sw/src/fink.build/gcc48-4.8.0-1000/gcc-4.8-20121124/gcc/testsuite/gfortran.dg/allocate_alloc_opt_10.f90:7:0:
internal compiler error: Abort trap: 6
gfortran: internal compiler error: Abort trap: 6 (program f951)
Abort

which backtraces as...

# gdb
/sw/src/fink.build/gcc48-4.8.0-1000/darwin_objdir/gcc/testsuite/gfortran/../../f951
...
(gdb) r
/sw/src/fink.build/gcc48-4.8.0-1000/gcc-4.8-20121124/gcc/testsuite/gfortran.dg/allocate_alloc_opt_10.f90
-fPIC -quiet -dumpbase allocate_alloc_opt_10.f90 -mmacosx-version-min=10.7.4
-mtune=core2 -auxbase allocate_alloc_opt_10 -O0 -pedantic-errors -version
-fno-diagnostics-show-caret -fsanitize=address -fintrinsic-modules-path
finclude -o /var/tmp//ccurR53f.s
Starting program: /sw/src/fink.build/gcc48-4.8.0-1000/darwin_objdir/gcc/f951
/sw/src/fink.build/gcc48-4.8.0-1000/gcc-4.8-20121124/gcc/testsuite/gfortran.dg/allocate_alloc_opt_10.f90
-fPIC -quiet -dumpbase allocate_alloc_opt_10.f90 -mmacosx-version-min=10.7.4
-mtune=core2 -auxbase allocate_alloc_opt_10 -O0 -pedantic-errors -version
-fno-diagnostics-show-caret -fsanitize=address -fintrinsic-modules-path
finclude -o /var/tmp//ccurR53f.s
Reading symbols for shared libraries +++++++++................................
done
GNU Fortran (GCC) version 4.8.0 20121124 (experimental)
(x86_64-apple-darwin11.4.2)
    compiled by GNU C version 4.8.0 20121124 (experimental), GMP version 5.0.5,
MPFR version 3.1.1, MPC version 1.0.1
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
GNU Fortran (GCC) version 4.8.0 20121124 (experimental)
(x86_64-apple-darwin11.4.2)
    compiled by GNU C version 4.8.0 20121124 (experimental), GMP version 5.0.5,
MPFR version 3.1.1, MPC version 1.0.1
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
/sw/src/fink.build/gcc48-4.8.0-1000/gcc-4.8-20121124/gcc/testsuite/gfortran.dg/allocate_alloc_opt_10.f90:
In function ‘MAIN__’:
/sw/src/fink.build/gcc48-4.8.0-1000/gcc-4.8-20121124/gcc/testsuite/gfortran.dg/allocate_alloc_opt_10.f90:7:0:
error: type mismatch in binary expression
unsigned long

integer(kind=4)

unsigned long

_322 = _321 - 1;

/sw/src/fink.build/gcc48-4.8.0-1000/gcc-4.8-20121124/gcc/testsuite/gfortran.dg/allocate_alloc_opt_10.f90:7:0:
internal compiler error: verify_gimple failed

Program received signal SIGABRT, Aborted.
0x00007fff8d7b282a in __kill ()
(gdb) bt
#0  0x00007fff8d7b282a in __kill ()
#1  0x00007fff95876a9c in abort ()
#2  0x0000000100b3d354 in uw_init_context_1 (context=0x7fff5fbfee60,
outer_cfa=0x7fff5fbff110, outer_ra=0x100acb935) at
../../../gcc-4.8-20121124/libgcc/unwind-dw2.c:1502
(gdb)


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

* [Bug sanitizer/55480] gfortran.dg/allocate_alloc_opt_1{0,3}.f90 test cases ICE f951 with -fsanitize=address
  2012-11-27  0:55 [Bug sanitizer/55480] New: gfortran.dg/allocate_alloc_opt_1{0,3}.f90 test cases ICE f91 with -fsanitize=address howarth at nitro dot med.uc.edu
@ 2012-11-27  1:30 ` howarth at nitro dot med.uc.edu
  2012-11-27  1:34 ` howarth at nitro dot med.uc.edu
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: howarth at nitro dot med.uc.edu @ 2012-11-27  1:30 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #1 from Jack Howarth <howarth at nitro dot med.uc.edu> 2012-11-27 01:30:31 UTC ---
This same ICE in f951 with -fsanitize=address also occurs in the testcases...

FAIL: gfortran.dg/class_allocate_1.f03  -O0  (internal compiler error)
FAIL: gfortran.dg/class_allocate_1.f03  -O0  (test for excess errors)
FAIL: gfortran.dg/class_allocate_1.f03  -O1  (internal compiler error)
FAIL: gfortran.dg/class_allocate_1.f03  -O1  (test for excess errors)
FAIL: gfortran.dg/class_allocate_1.f03  -O2  (internal compiler error)
FAIL: gfortran.dg/class_allocate_1.f03  -O2  (test for excess errors)
FAIL: gfortran.dg/class_allocate_1.f03  -O3 -fomit-frame-pointer  (internal
compiler error)
FAIL: gfortran.dg/class_allocate_1.f03  -O3 -fomit-frame-pointer  (test for
excess errors)
FAIL: gfortran.dg/class_allocate_1.f03  -O3 -fomit-frame-pointer -funroll-loops
 (internal compiler error)
FAIL: gfortran.dg/class_allocate_1.f03  -O3 -fomit-frame-pointer -funroll-loops
 (test for excess errors)
FAIL: gfortran.dg/class_allocate_1.f03  -O3 -fomit-frame-pointer
-funroll-all-loops -finline-functions  (internal compiler error)
FAIL: gfortran.dg/class_allocate_1.f03  -O3 -fomit-frame-pointer
-funroll-all-loops -finline-functions  (test for excess errors)
FAIL: gfortran.dg/class_allocate_1.f03  -O3 -g  (internal compiler error)
FAIL: gfortran.dg/class_allocate_1.f03  -O3 -g  (test for excess errors)
FAIL: gfortran.dg/class_allocate_1.f03  -Os  (internal compiler error)
FAIL: gfortran.dg/class_allocate_1.f03  -Os  (test for excess errors)
FAIL: gfortran.dg/class_allocate_12.f90  -O0  (internal compiler error)
FAIL: gfortran.dg/class_allocate_12.f90  -O0  (test for excess errors)
FAIL: gfortran.dg/class_allocate_12.f90  -O1  (internal compiler error)
FAIL: gfortran.dg/class_allocate_12.f90  -O1  (test for excess errors)
FAIL: gfortran.dg/class_allocate_12.f90  -O2  (internal compiler error)
FAIL: gfortran.dg/class_allocate_12.f90  -O2  (test for excess errors)
FAIL: gfortran.dg/class_allocate_12.f90  -O3 -fomit-frame-pointer  (internal
compiler error)
FAIL: gfortran.dg/class_allocate_12.f90  -O3 -fomit-frame-pointer  (test for
excess errors)
FAIL: gfortran.dg/class_allocate_12.f90  -O3 -fomit-frame-pointer
-funroll-loops  (internal compiler error)
FAIL: gfortran.dg/class_allocate_12.f90  -O3 -fomit-frame-pointer
-funroll-loops  (test for excess errors)
FAIL: gfortran.dg/class_allocate_12.f90  -O3 -fomit-frame-pointer
-funroll-all-loops -finline-functions  (internal compiler error)
FAIL: gfortran.dg/class_allocate_12.f90  -O3 -fomit-frame-pointer
-funroll-all-loops -finline-functions  (test for excess errors)
FAIL: gfortran.dg/class_allocate_12.f90  -O3 -g  (internal compiler error)
FAIL: gfortran.dg/class_allocate_12.f90  -O3 -g  (test for excess errors)
FAIL: gfortran.dg/class_allocate_12.f90  -Os  (internal compiler error)
FAIL: gfortran.dg/class_allocate_12.f90  -Os  (test for excess errors)
FAIL: gfortran.dg/class_allocate_3.f03  -O0  (internal compiler error)
FAIL: gfortran.dg/class_allocate_3.f03  -O0  (test for excess errors)
FAIL: gfortran.dg/class_allocate_3.f03  -O1  (internal compiler error)
FAIL: gfortran.dg/class_allocate_3.f03  -O1  (test for excess errors)
FAIL: gfortran.dg/class_allocate_3.f03  -O2  (internal compiler error)
FAIL: gfortran.dg/class_allocate_3.f03  -O2  (test for excess errors)
FAIL: gfortran.dg/class_allocate_3.f03  -O3 -fomit-frame-pointer  (internal
compiler error)
FAIL: gfortran.dg/class_allocate_3.f03  -O3 -fomit-frame-pointer  (test for
excess errors)
FAIL: gfortran.dg/class_allocate_3.f03  -O3 -fomit-frame-pointer -funroll-loops
 (internal compiler error)
FAIL: gfortran.dg/class_allocate_3.f03  -O3 -fomit-frame-pointer -funroll-loops
 (test for excess errors)
FAIL: gfortran.dg/class_allocate_3.f03  -O3 -fomit-frame-pointer
-funroll-all-loops -finline-functions  (internal compiler error)
FAIL: gfortran.dg/class_allocate_3.f03  -O3 -fomit-frame-pointer
-funroll-all-loops -finline-functions  (test for excess errors)
FAIL: gfortran.dg/class_allocate_3.f03  -O3 -g  (internal compiler error)
FAIL: gfortran.dg/class_allocate_3.f03  -O3 -g  (test for excess errors)
FAIL: gfortran.dg/class_allocate_3.f03  -Os  (internal compiler error)
FAIL: gfortran.dg/class_allocate_3.f03  -Os  (test for excess errors)
FAIL: gfortran.dg/class_allocate_6.f03  -O0  (internal compiler error)
FAIL: gfortran.dg/class_allocate_6.f03  -O0  (test for excess errors)
FAIL: gfortran.dg/class_allocate_6.f03  -O1  (internal compiler error)
FAIL: gfortran.dg/class_allocate_6.f03  -O1  (test for excess errors)
FAIL: gfortran.dg/class_allocate_6.f03  -O2  (internal compiler error)
FAIL: gfortran.dg/class_allocate_6.f03  -O2  (test for excess errors)
FAIL: gfortran.dg/class_allocate_6.f03  -O3 -fomit-frame-pointer  (internal
compiler error)
FAIL: gfortran.dg/class_allocate_6.f03  -O3 -fomit-frame-pointer  (test for
excess errors)
FAIL: gfortran.dg/class_allocate_6.f03  -O3 -fomit-frame-pointer -funroll-loops
 (internal compiler error)
FAIL: gfortran.dg/class_allocate_6.f03  -O3 -fomit-frame-pointer -funroll-loops
 (test for excess errors)
FAIL: gfortran.dg/class_allocate_6.f03  -O3 -fomit-frame-pointer
-funroll-all-loops -finline-functions  (internal compiler error)
FAIL: gfortran.dg/class_allocate_6.f03  -O3 -fomit-frame-pointer
-funroll-all-loops -finline-functions  (test for excess errors)
FAIL: gfortran.dg/class_allocate_6.f03  -O3 -g  (internal compiler error)
FAIL: gfortran.dg/class_allocate_6.f03  -O3 -g  (test for excess errors)
FAIL: gfortran.dg/class_allocate_6.f03  -Os  (internal compiler error)
FAIL: gfortran.dg/class_allocate_6.f03  -Os  (test for excess errors)
FAIL: gfortran.dg/class_array_3.f03  -O0  (internal compiler error)
FAIL: gfortran.dg/class_array_3.f03  -O0  (test for excess errors)
FAIL: gfortran.dg/class_array_3.f03  -O1  (internal compiler error)
FAIL: gfortran.dg/class_array_3.f03  -O1  (test for excess errors)
FAIL: gfortran.dg/class_array_3.f03  -O2  (internal compiler error)
FAIL: gfortran.dg/class_array_3.f03  -O2  (test for excess errors)
FAIL: gfortran.dg/class_array_3.f03  -O3 -fomit-frame-pointer  (internal
compiler error)
FAIL: gfortran.dg/class_array_3.f03  -O3 -fomit-frame-pointer  (test for excess
errors)
FAIL: gfortran.dg/class_array_3.f03  -O3 -fomit-frame-pointer -funroll-loops 
(internal compiler error)
FAIL: gfortran.dg/class_array_3.f03  -O3 -fomit-frame-pointer -funroll-loops 
(test for excess errors)
FAIL: gfortran.dg/class_array_3.f03  -O3 -fomit-frame-pointer
-funroll-all-loops -finline-functions  (internal compiler error)
FAIL: gfortran.dg/class_array_3.f03  -O3 -fomit-frame-pointer
-funroll-all-loops -finline-functions  (test for excess errors)
FAIL: gfortran.dg/class_array_3.f03  -O3 -g  (internal compiler error)
FAIL: gfortran.dg/class_array_3.f03  -O3 -g  (test for excess errors)
FAIL: gfortran.dg/class_array_3.f03  -Os  (internal compiler error)
FAIL: gfortran.dg/class_array_3.f03  -Os  (test for excess errors)
FAIL: gfortran.dg/class_defined_operator_1.f03  -O0  (internal compiler error)
FAIL: gfortran.dg/class_defined_operator_1.f03  -O0  (test for excess errors)
FAIL: gfortran.dg/class_defined_operator_1.f03  -O1  (internal compiler error)
FAIL: gfortran.dg/class_defined_operator_1.f03  -O1  (test for excess errors)
FAIL: gfortran.dg/class_defined_operator_1.f03  -O2  (internal compiler error)
FAIL: gfortran.dg/class_defined_operator_1.f03  -O2  (test for excess errors)
FAIL: gfortran.dg/class_defined_operator_1.f03  -O3 -fomit-frame-pointer 
(internal compiler error)
FAIL: gfortran.dg/class_defined_operator_1.f03  -O3 -fomit-frame-pointer  (test
for excess errors)
FAIL: gfortran.dg/class_defined_operator_1.f03  -O3 -fomit-frame-pointer
-funroll-loops  (internal compiler error)
FAIL: gfortran.dg/class_defined_operator_1.f03  -O3 -fomit-frame-pointer
-funroll-loops  (test for excess errors)
FAIL: gfortran.dg/class_defined_operator_1.f03  -O3 -fomit-frame-pointer
-funroll-all-loops -finline-functions  (internal compiler error)
FAIL: gfortran.dg/class_defined_operator_1.f03  -O3 -fomit-frame-pointer
-funroll-all-loops -finline-functions  (test for excess errors)
FAIL: gfortran.dg/class_defined_operator_1.f03  -O3 -g  (internal compiler
error)
FAIL: gfortran.dg/class_defined_operator_1.f03  -O3 -g  (test for excess
errors)
FAIL: gfortran.dg/class_defined_operator_1.f03  -Os  (internal compiler error)
FAIL: gfortran.dg/class_defined_operator_1.f03  -Os  (test for excess errors)


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

* [Bug sanitizer/55480] gfortran.dg/allocate_alloc_opt_1{0,3}.f90 test cases ICE f951 with -fsanitize=address
  2012-11-27  0:55 [Bug sanitizer/55480] New: gfortran.dg/allocate_alloc_opt_1{0,3}.f90 test cases ICE f91 with -fsanitize=address howarth at nitro dot med.uc.edu
  2012-11-27  1:30 ` [Bug sanitizer/55480] gfortran.dg/allocate_alloc_opt_1{0,3}.f90 test cases ICE f951 " howarth at nitro dot med.uc.edu
@ 2012-11-27  1:34 ` howarth at nitro dot med.uc.edu
  2012-11-27  3:56 ` howarth at nitro dot med.uc.edu
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: howarth at nitro dot med.uc.edu @ 2012-11-27  1:34 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #2 from Jack Howarth <howarth at nitro dot med.uc.edu> 2012-11-27 01:34:28 UTC ---
Also in...

FAIL: gfortran.dg/c_char_tests.f03  -O2  (internal compiler error)
FAIL: gfortran.dg/c_char_tests.f03  -O2  (test for excess errors)
FAIL: gfortran.dg/c_char_tests.f03  -O3 -fomit-frame-pointer  (internal
compiler error)
FAIL: gfortran.dg/c_char_tests.f03  -O3 -fomit-frame-pointer  (test for excess
errors)
FAIL: gfortran.dg/c_char_tests.f03  -O3 -fomit-frame-pointer -funroll-loops 
(internal compiler error)
FAIL: gfortran.dg/c_char_tests.f03  -O3 -fomit-frame-pointer -funroll-loops 
(test for excess errors)
FAIL: gfortran.dg/c_char_tests.f03  -O3 -fomit-frame-pointer -funroll-all-loops
-finline-functions  (internal compiler error)
FAIL: gfortran.dg/c_char_tests.f03  -O3 -fomit-frame-pointer -funroll-all-loops
-finline-functions  (test for excess errors)
FAIL: gfortran.dg/c_char_tests.f03  -O3 -g  (internal compiler error)
FAIL: gfortran.dg/c_char_tests.f03  -O3 -g  (test for excess errors)


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

* [Bug sanitizer/55480] gfortran.dg/allocate_alloc_opt_1{0,3}.f90 test cases ICE f951 with -fsanitize=address
  2012-11-27  0:55 [Bug sanitizer/55480] New: gfortran.dg/allocate_alloc_opt_1{0,3}.f90 test cases ICE f91 with -fsanitize=address howarth at nitro dot med.uc.edu
  2012-11-27  1:30 ` [Bug sanitizer/55480] gfortran.dg/allocate_alloc_opt_1{0,3}.f90 test cases ICE f951 " howarth at nitro dot med.uc.edu
  2012-11-27  1:34 ` howarth at nitro dot med.uc.edu
@ 2012-11-27  3:56 ` howarth at nitro dot med.uc.edu
  2012-11-27 14:09 ` howarth at nitro dot med.uc.edu
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: howarth at nitro dot med.uc.edu @ 2012-11-27  3:56 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #3 from Jack Howarth <howarth at nitro dot med.uc.edu> 2012-11-27 03:55:45 UTC ---
Also causes...

FAIL: gfortran.dg/typebound_operator_9.f03  -O0  (internal compiler error)
FAIL: gfortran.dg/typebound_operator_9.f03  -O0  (test for excess errors)
FAIL: gfortran.dg/typebound_operator_9.f03  -O1  (internal compiler error)
FAIL: gfortran.dg/typebound_operator_9.f03  -O1  (test for excess errors)
FAIL: gfortran.dg/typebound_operator_9.f03  -O2  (internal compiler error)
FAIL: gfortran.dg/typebound_operator_9.f03  -O2  (test for excess errors)
FAIL: gfortran.dg/typebound_operator_9.f03  -O3 -fomit-frame-pointer  (internal
compiler error)
FAIL: gfortran.dg/typebound_operator_9.f03  -O3 -fomit-frame-pointer  (test for
excess errors)
FAIL: gfortran.dg/typebound_operator_9.f03  -O3 -fomit-frame-pointer
-funroll-loops  (internal compiler error)
FAIL: gfortran.dg/typebound_operator_9.f03  -O3 -fomit-frame-pointer
-funroll-loops  (test for excess errors)
FAIL: gfortran.dg/typebound_operator_9.f03  -O3 -fomit-frame-pointer
-funroll-all-loops -finline-functions  (internal compiler error)
FAIL: gfortran.dg/typebound_operator_9.f03  -O3 -fomit-frame-pointer
-funroll-all-loops -finline-functions  (test for excess errors)
FAIL: gfortran.dg/typebound_operator_9.f03  -O3 -g  (internal compiler error)
FAIL: gfortran.dg/typebound_operator_9.f03  -O3 -g  (test for excess errors)
FAIL: gfortran.dg/typebound_operator_9.f03  -Os  (internal compiler error)
FAIL: gfortran.dg/typebound_operator_9.f03  -Os  (test for excess errors)


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

* [Bug sanitizer/55480] gfortran.dg/allocate_alloc_opt_1{0,3}.f90 test cases ICE f951 with -fsanitize=address
  2012-11-27  0:55 [Bug sanitizer/55480] New: gfortran.dg/allocate_alloc_opt_1{0,3}.f90 test cases ICE f91 with -fsanitize=address howarth at nitro dot med.uc.edu
                   ` (2 preceding siblings ...)
  2012-11-27  3:56 ` howarth at nitro dot med.uc.edu
@ 2012-11-27 14:09 ` howarth at nitro dot med.uc.edu
  2012-11-27 14:48 ` [Bug sanitizer/55480] many test cases fail using -fsanitize=address with internal compiler error: verify_gimple failed howarth at nitro dot med.uc.edu
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: howarth at nitro dot med.uc.edu @ 2012-11-27 14:09 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #4 from Jack Howarth <howarth at nitro dot med.uc.edu> 2012-11-27 14:08:41 UTC ---
Also seen in...


FAIL: gcc.c-torture/compile/20010525-1.c  -O0  (internal compiler error)
FAIL: gcc.c-torture/compile/20010525-1.c  -O0  (test for excess errors)
FAIL: gcc.c-torture/compile/20021015-2.c  -O0  (internal compiler error)
FAIL: gcc.c-torture/compile/20021015-2.c  -O0  (test for excess errors)
FAIL: gcc.c-torture/compile/20021015-2.c  -O1  (internal compiler error)
FAIL: gcc.c-torture/compile/20021015-2.c  -O1  (test for excess errors)
FAIL: gcc.c-torture/compile/20021015-2.c  -O2  (internal compiler error)
FAIL: gcc.c-torture/compile/20021015-2.c  -O2  (test for excess errors)
FAIL: gcc.c-torture/compile/20021015-2.c  -O3 -fomit-frame-pointer  (internal
compiler error)
FAIL: gcc.c-torture/compile/20021015-2.c  -O3 -fomit-frame-pointer  (test for
excess errors)
FAIL: gcc.c-torture/compile/20021015-2.c  -O3 -g  (internal compiler error)
FAIL: gcc.c-torture/compile/20021015-2.c  -O3 -g  (test for excess errors)
FAIL: gcc.c-torture/compile/20021015-2.c  -Os  (internal compiler error)
FAIL: gcc.c-torture/compile/20021015-2.c  -Os  (test for excess errors)
FAIL: gcc.c-torture/compile/20021015-2.c  -O2 -flto -flto-partition=none 
(internal compiler error)
FAIL: gcc.c-torture/compile/20021015-2.c  -O2 -flto -flto-partition=none  (test
for excess errors)
FAIL: gcc.c-torture/compile/20021015-2.c  -O2 -flto  (internal compiler error)
FAIL: gcc.c-torture/compile/20021015-2.c  -O2 -flto  (test for excess errors)
FAIL: gcc.c-torture/compile/930529-1.c  -O0  (internal compiler error)
FAIL: gcc.c-torture/compile/930529-1.c  -O0  (test for excess errors)
FAIL: gcc.c-torture/compile/930529-1.c  -O1  (internal compiler error)
FAIL: gcc.c-torture/compile/930529-1.c  -O1  (test for excess errors)
FAIL: gcc.c-torture/compile/930529-1.c  -O2  (internal compiler error)
FAIL: gcc.c-torture/compile/930529-1.c  -O2  (test for excess errors)
FAIL: gcc.c-torture/compile/930529-1.c  -O3 -fomit-frame-pointer  (internal
compiler error)
FAIL: gcc.c-torture/compile/930529-1.c  -O3 -fomit-frame-pointer  (test for
excess errors)
FAIL: gcc.c-torture/compile/930529-1.c  -O3 -fomit-frame-pointer -funroll-loops
 (internal compiler error)
FAIL: gcc.c-torture/compile/930529-1.c  -O3 -fomit-frame-pointer -funroll-loops
 (test for excess errors)
FAIL: gcc.c-torture/compile/930529-1.c  -O3 -fomit-frame-pointer
-funroll-all-loops -finline-functions  (internal compiler error)
FAIL: gcc.c-torture/compile/930529-1.c  -O3 -fomit-frame-pointer
-funroll-all-loops -finline-functions  (test for excess errors)
FAIL: gcc.c-torture/compile/930529-1.c  -O3 -g  (internal compiler error)
FAIL: gcc.c-torture/compile/930529-1.c  -O3 -g  (test for excess errors)
FAIL: gcc.c-torture/compile/930529-1.c  -Os  (internal compiler error)
FAIL: gcc.c-torture/compile/930529-1.c  -Os  (test for excess errors)
FAIL: gcc.c-torture/compile/930529-1.c  -O2 -flto -flto-partition=none 
(internal compiler error)
FAIL: gcc.c-torture/compile/930529-1.c  -O2 -flto -flto-partition=none  (test
for excess errors)
FAIL: gcc.c-torture/compile/930529-1.c  -O2 -flto  (internal compiler error)
FAIL: gcc.c-torture/compile/930529-1.c  -O2 -flto  (test for excess errors)

and is reproducible under x86_64 Fedora 15 linux as well.


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

* [Bug sanitizer/55480] many test cases fail using -fsanitize=address with internal compiler error: verify_gimple failed
  2012-11-27  0:55 [Bug sanitizer/55480] New: gfortran.dg/allocate_alloc_opt_1{0,3}.f90 test cases ICE f91 with -fsanitize=address howarth at nitro dot med.uc.edu
                   ` (3 preceding siblings ...)
  2012-11-27 14:09 ` howarth at nitro dot med.uc.edu
@ 2012-11-27 14:48 ` howarth at nitro dot med.uc.edu
  2012-11-27 23:26 ` howarth at nitro dot med.uc.edu
  2012-12-09  0:32 ` howarth at nitro dot med.uc.edu
  6 siblings, 0 replies; 8+ messages in thread
From: howarth at nitro dot med.uc.edu @ 2012-11-27 14:48 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #5 from Jack Howarth <howarth at nitro dot med.uc.edu> 2012-11-27 14:48:24 UTC ---
On x86_64 Fedora 15, these failure back trace as...

$ gdb /home/howarth/work-gcc/gcc/cc1
...
(gdb) r -quiet -v -iprefix
/home/howarth/work-gcc/gcc/../lib/gcc/x86_64-unknown-linux-gnu/4.8.0/ -isystem
/home/howarth/work-gcc/gcc/include -isystem
/home/howarth/work-gcc/gcc/include-fixed
/home/howarth/gcc/gcc/testsuite/gcc.c-torture/compile/20010525-1.c -quiet
-dumpbase 20010525-1.c -mtune=generic -march=x86-64 -auxbase-strip 20010525-1.o
-O0 -w -version -fno-diagnostics-show-caret -fsanitize=address -o
/tmp/cc3cqyrC.s
...
/home/howarth/gcc/gcc/testsuite/gcc.c-torture/compile/20010525-1.c:1:12:
internal compiler error: verify_gimple failed
0x8fcc9b verify_gimple_in_cfg(function*)
    ../../gcc/gcc/tree-cfg.c:4721
0x834554 execute_function_todo
    ../../gcc/gcc/passes.c:1971
0x83515c execute_todo
    ../../gcc/gcc/passes.c:2000

which at the breakpoint tree-cfg.c:4721 backtraces as...

Breakpoint 1, verify_gimple_in_cfg (fn=0x7ffff172b140) at
../../gcc/gcc/tree-cfg.c:4721
4721        internal_error ("verify_gimple failed");
(gdb) bt
#0  verify_gimple_in_cfg (fn=0x7ffff172b140) at ../../gcc/gcc/tree-cfg.c:4721
#1  0x0000000000834555 in execute_function_todo (data=<optimized out>) at
../../gcc/gcc/passes.c:1971
#2  0x000000000083515d in execute_todo (flags=2072) at
../../gcc/gcc/passes.c:2000
#3  0x00000000008387ed in execute_one_pass (pass=0x13e5c40) at
../../gcc/gcc/passes.c:2350
#4  0x0000000000838ba5 in execute_pass_list (pass=0x13e5c40) at
../../gcc/gcc/passes.c:2384
#5  0x000000000060d85c in expand_function (node=0x7ffff17296f0) at
../../gcc/gcc/cgraphunit.c:1641
#6  0x000000000060f805 in output_in_order () at ../../gcc/gcc/cgraphunit.c:1834
#7  compile () at ../../gcc/gcc/cgraphunit.c:2038
#8  0x000000000060fca5 in finalize_compilation_unit () at
../../gcc/gcc/cgraphunit.c:2120
#9  0x00000000004f8b93 in c_write_global_declarations () at
../../gcc/gcc/c/c-decl.c:10120
#10 0x00000000008dc395 in compile_file () at ../../gcc/gcc/toplev.c:559
#11 0x00000000008de042 in do_compile () at ../../gcc/gcc/toplev.c:1884
#12 toplev_main (argc=24, argv=0x7fffffffdcc8) at ../../gcc/gcc/toplev.c:1960
#13 0x00000035e962135d in __libc_start_main (main=0x4dce60 <main(int, char**)>,
argc=24, ubp_av=0x7fffffffdcc8, init=<optimized out>, 
    fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffdcb8)
at libc-start.c:226
#14 0x00000000004dce91 in _start ()
(gdb)


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

* [Bug sanitizer/55480] many test cases fail using -fsanitize=address with internal compiler error: verify_gimple failed
  2012-11-27  0:55 [Bug sanitizer/55480] New: gfortran.dg/allocate_alloc_opt_1{0,3}.f90 test cases ICE f91 with -fsanitize=address howarth at nitro dot med.uc.edu
                   ` (4 preceding siblings ...)
  2012-11-27 14:48 ` [Bug sanitizer/55480] many test cases fail using -fsanitize=address with internal compiler error: verify_gimple failed howarth at nitro dot med.uc.edu
@ 2012-11-27 23:26 ` howarth at nitro dot med.uc.edu
  2012-12-09  0:32 ` howarth at nitro dot med.uc.edu
  6 siblings, 0 replies; 8+ messages in thread
From: howarth at nitro dot med.uc.edu @ 2012-11-27 23:26 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #6 from Jack Howarth <howarth at nitro dot med.uc.edu> 2012-11-27 23:26:13 UTC ---
The addition of the proposed patches from...

http://gcc.gnu.org/ml/gcc-patches/2012-11/msg02254.html
http://gcc.gnu.org/ml/gcc-patches/2012-11/msg02256.html

eliminate all of the ICEs listed in this PR on x86_64 darwin12. Still need to
do a full regression test with...

make -k check-gfortran  RUNTESTFLAGS="--target_board=unix'{-sanitize=address}'"

to check for stray corner cases.


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

* [Bug sanitizer/55480] many test cases fail using -fsanitize=address with internal compiler error: verify_gimple failed
  2012-11-27  0:55 [Bug sanitizer/55480] New: gfortran.dg/allocate_alloc_opt_1{0,3}.f90 test cases ICE f91 with -fsanitize=address howarth at nitro dot med.uc.edu
                   ` (5 preceding siblings ...)
  2012-11-27 23:26 ` howarth at nitro dot med.uc.edu
@ 2012-12-09  0:32 ` howarth at nitro dot med.uc.edu
  6 siblings, 0 replies; 8+ messages in thread
From: howarth at nitro dot med.uc.edu @ 2012-12-09  0:32 UTC (permalink / raw)
  To: gcc-bugs


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

Jack Howarth <howarth at nitro dot med.uc.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED

--- Comment #7 from Jack Howarth <howarth at nitro dot med.uc.edu> 2012-12-09 00:32:19 UTC ---
Comfirmed with...

make -k check-gfortran RUNTESTFLAGS="--target_board=unix'{-fsanitize=address}'"

that these failures are all eliminated in current gcc trunk.


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

end of thread, other threads:[~2012-12-09  0:32 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-27  0:55 [Bug sanitizer/55480] New: gfortran.dg/allocate_alloc_opt_1{0,3}.f90 test cases ICE f91 with -fsanitize=address howarth at nitro dot med.uc.edu
2012-11-27  1:30 ` [Bug sanitizer/55480] gfortran.dg/allocate_alloc_opt_1{0,3}.f90 test cases ICE f951 " howarth at nitro dot med.uc.edu
2012-11-27  1:34 ` howarth at nitro dot med.uc.edu
2012-11-27  3:56 ` howarth at nitro dot med.uc.edu
2012-11-27 14:09 ` howarth at nitro dot med.uc.edu
2012-11-27 14:48 ` [Bug sanitizer/55480] many test cases fail using -fsanitize=address with internal compiler error: verify_gimple failed howarth at nitro dot med.uc.edu
2012-11-27 23:26 ` howarth at nitro dot med.uc.edu
2012-12-09  0:32 ` howarth at nitro dot med.uc.edu

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).