* [Bug target/57736] [4.8/4.9 Regression] ICE in emit_move_insn with __builtin_ia32_rdtsc
2013-06-27 17:11 [Bug target/57736] New: [4.8/4.9 Regression] ICE in emit_move_insn with __builtin_ia32_rdtsc amonakov at gcc dot gnu.org
@ 2013-06-27 17:13 ` amonakov at gcc dot gnu.org
2013-06-27 19:20 ` jakub at gcc dot gnu.org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: amonakov at gcc dot gnu.org @ 2013-06-27 17:13 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="UTF-8", Size: 6999 bytes --]
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57736
--- Comment #1 from Alexander Monakov <amonakov at gcc dot gnu.org> ---
Oops, submitted too soon.
echo 'f(){__builtin_ia32_rdtsc();}' | gcc -xc - -S -o-
<stdin>: In function âfâ:
<stdin>:1:25: internal compiler error: in emit_move_insn, at expr.c:3486
0x6d9c63 emit_move_insn(rtx_def*, rtx_def*)
gcc/expr.c:3485
0xb8063c ix86_expand_builtin
gcc/config/i386/i386.c:31916
0x5ef5ec expand_builtin(tree_node*, rtx_def*, rtx_def*, machine_mode, int)
gcc/builtins.c:5807
0x6d420e expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**)
gcc/expr.c:10207
0x60e5ab expand_call_stmt
gcc/cfgexpand.c:2119
0x60e5ab expand_gimple_stmt_1
gcc/cfgexpand.c:2157
0x60e5ab expand_gimple_stmt
gcc/cfgexpand.c:2309
0x60f3b3 expand_gimple_basic_block
gcc/cfgexpand.c:4143
0x610f84 gimple_expand_cfg
gcc/cfgexpand.c:4662
>From gcc-bugs-return-425316-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 27 17:27:20 2013
Return-Path: <gcc-bugs-return-425316-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 28240 invoked by alias); 27 Jun 2013 17:27:20 -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 28202 invoked by uid 48); 27 Jun 2013 17:27:14 -0000
From: "evgeny.gavrin at hotmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libgomp/57737] New: -fopenmp + -femit-struct-debug-reduced/baseonly = internal compiler error: Segmentation fault
Date: Thu, 27 Jun 2013 17:27:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libgomp
X-Bugzilla-Version: 4.7.2
X-Bugzilla-Keywords:
X-Bugzilla-Severity: critical
X-Bugzilla-Who: evgeny.gavrin at hotmail dot com
X-Bugzilla-Status: UNCONFIRMED
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_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc attachments.created
Message-ID: <bug-57737-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2013-06/txt/msg01695.txt.bz2
Content-length: 2105
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57737
Bug ID: 57737
Summary: -fopenmp + -femit-struct-debug-reduced/baseonly =
internal compiler error: Segmentation fault
Product: gcc
Version: 4.7.2
Status: UNCONFIRMED
Severity: critical
Priority: P3
Component: libgomp
Assignee: unassigned at gcc dot gnu.org
Reporter: evgeny.gavrin at hotmail dot com
CC: jakub at gcc dot gnu.org
Created attachment 30392
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30392&action=edit
File to reproduce bug
Compilation of debug-1.c file from ./libgomp/testsuite with the following
options: -g -fopenmp -O0 -gdwarf-2 -femit-struct-debug-reduced - causes
segfault in the compiler.
The described bug is actual for GCC versions 4.4, 4.6, 4.7.
Works for -femit-struct-debug-reduced and -femit-struct-debug-baseonly
I've attached both problem example and preprocessed file to the report.
Console logs:
egavrin@debian:~/dev/vd-issues/report-omp-failtest$ gcc-4.7 -g -fopenmp -O0
-gdwarf-2 -femit-struct-debug-baseonly ./debug-1.c
./debug-1.c: In function âf7._omp_fn.0â:
./debug-1.c:136:11: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.7/README.Bugs> for instructions.
Preprocessed source stored into /tmp/ccWoFu5C.out file, please attach this to
your bugreport.
egavrin@debian:~/dev/vd-issues/report-omp-failtest$ gcc-4.7 -g -fopenmp -O0
-gdwarf-2 -femit-struct-debug-reduced ./debug-1.c
./debug-1.c: In function âf7._omp_fn.0â:
./debug-1.c:136:11: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.7/README.Bugs> for instructions.
Preprocessed source stored into /tmp/ccw1Cilr.out file, please attach this to
your bugreport.
Host system info:
Linux debian 3.2.0-4-amd64 #1 SMP Debian 3.2.41-2+deb7u2 x86_64 GNU/Linux
>From gcc-bugs-return-425317-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 27 17:28:57 2013
Return-Path: <gcc-bugs-return-425317-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 30168 invoked by alias); 27 Jun 2013 17:28:56 -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 30141 invoked by uid 48); 27 Jun 2013 17:28:54 -0000
From: "evgeny.gavrin at hotmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libgomp/57737] -fopenmp + -femit-struct-debug-reduced/baseonly = internal compiler error: Segmentation fault
Date: Thu, 27 Jun 2013 17:28:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libgomp
X-Bugzilla-Version: 4.7.2
X-Bugzilla-Keywords:
X-Bugzilla-Severity: critical
X-Bugzilla-Who: evgeny.gavrin at hotmail dot com
X-Bugzilla-Status: UNCONFIRMED
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: attachments.created
Message-ID: <bug-57737-4-To92NrltSH@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-57737-4@http.gcc.gnu.org/bugzilla/>
References: <bug-57737-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: 2013-06/txt/msg01696.txt.bz2
Content-length: 238
http://gcc.gnu.org/bugzilla/show_bug.cgi?idW737
--- Comment #1 from Evgeny Gavrin <evgeny.gavrin at hotmail dot com> ---
Created attachment 30393
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id0393&actioníit
preprocessed file
^ permalink raw reply [flat|nested] 5+ messages in thread