From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18406 invoked by alias); 27 Jun 2013 17:13:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 18344 invoked by uid 48); 27 Jun 2013 17:13:32 -0000 From: "amonakov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/57736] [4.8/4.9 Regression] ICE in emit_move_insn with __builtin_ia32_rdtsc Date: Thu, 27 Jun 2013 17:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 4.8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: amonakov at gcc dot gnu.org 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: Message-ID: In-Reply-To: References: 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/msg01694.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D57736 --- Comment #1 from Alexander Monakov --- Oops, submitted too soon. echo 'f(){__builtin_ia32_rdtsc();}' | gcc -xc - -S -o- : In function =E2=80=98f=E2=80=99: :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: 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: List-Archive: List-Post: List-Help: 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" 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: 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=3D57737 Bug ID: 57737 Summary: -fopenmp + -femit-struct-debug-reduced/baseonly =3D 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=3D30392&action=3Dedit 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:=20 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 =E2=80=98f7._omp_fn.0=E2=80=99: ./debug-1.c:136:11: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See 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 =E2=80=98f7._omp_fn.0=E2=80=99: ./debug-1.c:136:11: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See 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: 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: List-Archive: List-Post: List-Help: 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" 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: In-Reply-To: References: 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?id=57737 --- Comment #1 from Evgeny Gavrin --- Created attachment 30393 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30393&action=edit preprocessed file