This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/67271] New: ICE with -O1,2,3 on darwin14.5 x86_64
- From: "tarasevich at cs dot uni-saarland.de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 19 Aug 2015 09:40:51 +0000
- Subject: [Bug c/67271] New: ICE with -O1,2,3 on darwin14.5 x86_64
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67271
Bug ID: 67271
Summary: ICE with -O1,2,3 on darwin14.5 x86_64
Product: gcc
Version: 6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: tarasevich at cs dot uni-saarland.de
Target Milestone: ---
Created attachment 36212
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36212&action=edit
preprocessed test case
Although test case has out of bounds read, it still yield ICE.
GCC was compiled from SVN trunk revision 226781
gcc -v -save-temps -O1 test_case_38.c
Using built-in specs.
COLLECT_GCC=/Users/sevich/work/build_normal/bin/gcc
COLLECT_LTO_WRAPPER=/Users/sevich/work/build_normal/libexec/gcc/x86_64-apple-darwin14.5.0/6.0.0/lto-wrapper
Target: x86_64-apple-darwin14.5.0
Configured with: /Users/sevich/work/source/gcc_trunk_git/configure
--disable-bootstrap --enable-languages=c,c++
--prefix=/Users/sevich/work/build_normal/
Thread model: posix
gcc version 6.0.0 20150811 (experimental) (GCC)
COLLECT_GCC_OPTIONS='-mmacosx-version-min=10.10.5' '-v' '-save-temps' '-O1'
'-mtune=core2'
/Users/sevich/work/build_normal/libexec/gcc/x86_64-apple-darwin14.5.0/6.0.0/cc1
-E -quiet -v -D__DYNAMIC__ test_case_38.c -fPIC -mmacosx-version-min=10.10.5
-mtune=core2 -O1 -fpch-preprocess -o test_case_38.i
ignoring nonexistent directory
"/Users/sevich/work/build_normal/lib/gcc/x86_64-apple-darwin14.5.0/6.0.0/../../../../x86_64-apple-darwin14.5.0/include"
#include "..." search starts here:
#include <...> search starts here:
/Users/sevich/work/build_normal/lib/gcc/x86_64-apple-darwin14.5.0/6.0.0/include
/usr/local/include
/Users/sevich/work/build_normal/include
/Users/sevich/work/build_normal/lib/gcc/x86_64-apple-darwin14.5.0/6.0.0/include-fixed
/usr/include
/System/Library/Frameworks
/Library/Frameworks
End of search list.
COLLECT_GCC_OPTIONS='-mmacosx-version-min=10.10.5' '-v' '-save-temps' '-O1'
'-mtune=core2'
/Users/sevich/work/build_normal/libexec/gcc/x86_64-apple-darwin14.5.0/6.0.0/cc1
-fpreprocessed test_case_38.i -fPIC -quiet -dumpbase test_case_38.c
-mmacosx-version-min=10.10.5 -mtune=core2 -auxbase test_case_38 -O1 -version -o
test_case_38.s
GNU C11 (GCC) version 6.0.0 20150811 (experimental) (x86_64-apple-darwin14.5.0)
compiled by GNU C version 4.2.1 Compatible Apple LLVM 6.1.0
(clang-602.0.53), GMP version 6.0.0, MPFR version 3.1.2, MPC version 1.0.3
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
GNU C11 (GCC) version 6.0.0 20150811 (experimental) (x86_64-apple-darwin14.5.0)
compiled by GNU C version 4.2.1 Compatible Apple LLVM 6.1.0
(clang-602.0.53), GMP version 6.0.0, MPFR version 3.1.2, MPC version 1.0.3
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: 700dea0ce5ef3b798edb9c9160a43b26
test_case_38.c: In function âmainâ:
test_case_38.c:5:15: warning: initialization from incompatible pointer type
[-Wincompatible-pointer-types]
long *a = "empty";
^
test_case_38.c:7:12: warning: implicit declaration of function âlabsâ
[-Wimplicit-function-declaration]
a[i] = labs(a[i]);
^
test_case_38.c:7:12: warning: incompatible implicit declaration of built-in
function âlabsâ
test_case_38.c:7:12: note: include â<stdlib.h>â or provide a declaration of
âlabsâ
test_case_38.c:9:1: internal compiler error: Segmentation fault: 11
}
^
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
- Follow-Ups:
- [Bug middle-end/67271] [5/6 Regression] ICE with -O1,2,3 on darwin14.5 x86_64
- From: mpolacek at gcc dot gnu.org
- [Bug middle-end/67271] [5/6 Regression] ICE with -O1,2,3 on darwin14.5 x86_64
- From: mpolacek at gcc dot gnu.org
- [Bug middle-end/67271] [5/6 Regression] ICE with -O1,2,3 on darwin14.5 x86_64
- From: mpolacek at gcc dot gnu.org
- [Bug middle-end/67271] [5/6 Regression] ICE with -O1,2,3 on darwin14.5 x86_64
- From: mpolacek at gcc dot gnu.org
- [Bug middle-end/67271] [5/6 Regression] ICE with -O1,2,3 on darwin14.5 x86_64
- From: rguenth at gcc dot gnu.org