From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15098 invoked by alias); 6 Feb 2014 03:56:12 -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 774 invoked by uid 55); 6 Feb 2014 03:46:15 -0000 From: "sgk at troutmask dot apl.washington.edu" 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 03:56: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: sgk at troutmask dot apl.washington.edu 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: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-02/txt/msg00528.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60088 --- Comment #5 from Steve Kargl --- On Thu, Feb 06, 2014 at 02:25:27AM +0000, thatcadguy at gmail dot com wrote: > > If you bothered to look at the gcc output file, you'd see that I tested it on > Linux as well. This is a GCC and MinGW problem. The code segfaults on both > platforms with both compilers. > What output file? gcc_flags.txt does not show a segfault or a debugger backtrace. I've now tested your code on x86_64-*-freebsd with 4.7, 4.8, and trunk. The code does not segfault. The code runs fine under valgrind. % valgrind ./z ==60969== Memcheck, a memory error detector ==60969== Copyright (C) 2002-2012, and GNU GPL'd, by Julian Seward et al. ==60969== Using Valgrind-3.8.1 and LibVEX; rerun with -h for copyright info ==60969== Command: ./z ==60969== 1 1.167898E+02 2 3.604828E+00 3 1.307785E-01 4 8.716767E-03 5 7.426061E-04 6 7.142144E-05 7 7.658771E-06 8 8.214756E-07 9 9.465642E-08 10 1.078958E-08 11 1.283740E-09 12 1.517027E-10 13 1.834825E-11 Max. Error: 4.480767E-13 Avg. Error: 1.225708E-14 Tot. Error: 1.961134E-11 ==60969== ==60969== HEAP SUMMARY: ==60969== in use at exit: 0 bytes in 0 blocks ==60969== total heap usage: 31 allocs, 31 frees, 215,965 bytes allocated ==60969== ==60969== All heap blocks were freed -- no leaks are possible ==60969== ==60969== For counts of detected and suppressed errors, rerun with: -v ==60969== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)