public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/60102] New: powerpc fp-bit ices at dwf_regno
@ 2014-02-06 21:08 paulo@matos-sorge.com
  2014-04-23  6:54 ` [Bug middle-end/60102] " sebastian.huber@embedded-brains.de
                   ` (21 more replies)
  0 siblings, 22 replies; 23+ messages in thread
From: paulo@matos-sorge.com @ 2014-02-06 21:08 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 60102
           Summary: powerpc fp-bit ices at dwf_regno
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: paulo@matos-sorge.com

Created attachment 32073
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32073&action=edit
Testcase

This might be a dup of PR52372 or PR57933 but since I am not sure I am opening
a new bug.

When trying to compile powerpc libgcc fp-bit I get an ICE using trunk:

$ /home/pmatos/projects/EXTERNAL/GCC/builds/gcc-trunk_powerpc/./gcc/cc1
-fpreprocessed fp-bit.i -quiet -dumpbase fp-bit.c -msoft-float -mcpu=8540
-auxbase-strip _addsub_df.o -g -g -g -O2 -O2 -O2 -Wextra -Wall -Wno-narrowing
-Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition -version -fbuilding-libgcc -fno-stack-protector
-fvisibility=hidden -o fp-bit.s
GNU C (GCC) version 4.9.0 20140205 (experimental) (powerpc-eabispe)
        compiled by GNU C version 4.8.1, GMP version 5.1.2, MPFR version
3.1.1-p2, MPC version 1.0.1
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
GNU C (GCC) version 4.9.0 20140205 (experimental) (powerpc-eabispe)
        compiled by GNU C version 4.8.1, GMP version 5.1.2, MPFR version
3.1.1-p2, MPC version 1.0.1
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: 52229a64c376a95d997a16c551e2c79f
fp-bit.i: In function ‘fn3’:
fp-bit.i:27:1: internal compiler error: in dwf_regno, at dwarf2cfi.c:909
 }
 ^
0x786749 dwf_regno
        ../../../gcc-trunk/gcc/dwarf2cfi.c:909
0x78696b dwarf2out_flush_queued_reg_saves
        ../../../gcc-trunk/gcc/dwarf2cfi.c:988
0x789981 scan_trace
        ../../../gcc-trunk/gcc/dwarf2cfi.c:2522
0x789ab2 create_cfi_notes
        ../../../gcc-trunk/gcc/dwarf2cfi.c:2565
0x78a553 execute_dwarf2_frame
        ../../../gcc-trunk/gcc/dwarf2cfi.c:2925
0x78b402 execute
        ../../../gcc-trunk/gcc/dwarf2cfi.c:3421
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.



I will attach the fp-bit.i reduced version.
>From gcc-bugs-return-442902-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 06 21:17:05 2014
Return-Path: <gcc-bugs-return-442902-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 10515 invoked by alias); 6 Feb 2014 21:17: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 10467 invoked by uid 48); 6 Feb 2014 21:17:01 -0000
From: "thatcadguy at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/60088] Segfault when using quad precision and -march=native on  gfortran
Date: Thu, 06 Feb 2014 21:17: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.7.3
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: thatcadguy at gmail dot com
X-Bugzilla-Status: WAITING
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: <bug-60088-4-PPzLQDQVyW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-60088-4@http.gcc.gnu.org/bugzilla/>
References: <bug-60088-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: 2014-02/txt/msg00659.txt.bz2
Content-length: 340

http://gcc.gnu.org/bugzilla/show_bug.cgi?id`088

--- Comment #11 from Jacob Abel <thatcadguy at gmail dot com> ---
The culprit that -march=native activates on my Core i7 laptop is -mavx.
Compiling with -mavx causes the segfault, without is fine. Unfortunately, that
flag was not set on my other laptop, so might be multiple issues here.


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

end of thread, other threads:[~2014-11-24 16:55 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-06 21:08 [Bug middle-end/60102] New: powerpc fp-bit ices at dwf_regno paulo@matos-sorge.com
2014-04-23  6:54 ` [Bug middle-end/60102] " sebastian.huber@embedded-brains.de
2014-04-23  9:02 ` sebastian.huber@embedded-brains.de
2014-04-23 23:15 ` pinskia at gcc dot gnu.org
2014-04-24 11:31 ` sebastian.huber@embedded-brains.de
2014-05-01 15:22 ` cesar at codesourcery dot com
2014-05-01 16:51 ` sandra at codesourcery dot com
2014-05-04  6:26 ` raj.khem at gmail dot com
2014-05-21 23:35 ` sandra at codesourcery dot com
2014-05-27  7:27 ` [Bug middle-end/60102] [4.9/4.10 Regression] " rguenth at gcc dot gnu.org
2014-05-27  7:44 ` sebastian.huber@embedded-brains.de
2014-06-03 17:35 ` uweigand at gcc dot gnu.org
2014-06-12 14:20 ` ams at gcc dot gnu.org
2014-07-08 14:19 ` rohitarulraj at gmail dot com
2014-07-16 13:26 ` jakub at gcc dot gnu.org
2014-08-04 16:35 ` edmarwjr at gcc dot gnu.org
2014-08-04 16:49 ` edmarwjr at gcc dot gnu.org
2014-08-04 16:55 ` edmarwjr at gcc dot gnu.org
2014-10-30 10:36 ` [Bug middle-end/60102] [4.9/5 " jakub at gcc dot gnu.org
2014-11-23 17:45 ` fxcoudert at gcc dot gnu.org
2014-11-24 13:14 ` fxcoudert at gmail dot com
2014-11-24 16:43 ` rguenth at gcc dot gnu.org
2014-11-24 16:55 ` fxcoudert 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).