public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/67271] New: ICE with -O1,2,3 on darwin14.5 x86_64
@ 2015-08-19  9:40 tarasevich at cs dot uni-saarland.de
  2015-08-19  9:51 ` [Bug middle-end/67271] [5/6 Regression] " mpolacek at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: tarasevich at cs dot uni-saarland.de @ 2015-08-19  9:40 UTC (permalink / raw)
  To: gcc-bugs

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.
>From gcc-bugs-return-495168-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Aug 19 09:43:05 2015
Return-Path: <gcc-bugs-return-495168-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 22599 invoked by alias); 19 Aug 2015 09:43:05 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 22499 invoked by uid 48); 19 Aug 2015 09:43:00 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/67050] [C++14] ICE when calling a template member function from a lambda with implicit "this" capture
Date: Wed, 19 Aug 2015 09:43:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 6.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed
Message-ID: <bug-67050-4-JOEVqkwszY@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-67050-4@http.gcc.gnu.org/bugzilla/>
References: <bug-67050-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-08/txt/msg01310.txt.bz2
Content-length: 594

https://gcc.gnu.org/bugzilla/show_bug.cgi?idg050

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-08-19
                 CC|                            |mpolacek at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
With -std=c++1y an ICE started with r200948.


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

end of thread, other threads:[~2015-09-21  9:58 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-19  9:40 [Bug c/67271] New: ICE with -O1,2,3 on darwin14.5 x86_64 tarasevich at cs dot uni-saarland.de
2015-08-19  9:51 ` [Bug middle-end/67271] [5/6 Regression] " mpolacek at gcc dot gnu.org
2015-08-19  9:51 ` mpolacek at gcc dot gnu.org
2015-08-19  9:54 ` mpolacek at gcc dot gnu.org
2015-08-19 10:29 ` mpolacek at gcc dot gnu.org
2015-08-19 14:33 ` rguenth at gcc dot gnu.org
2015-09-16 14:29 ` [Bug middle-end/67271] [5 " rguenth at gcc dot gnu.org
2015-09-21  9:57 ` rguenth at gcc dot gnu.org
2015-09-21  9:58 ` rguenth at gcc dot gnu.org

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