public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/60088] New: Segfault when using quad precision and -march=native on  gfortran
@ 2014-02-06  1:41 thatcadguy at gmail dot com
  2014-02-06  1:42 ` [Bug fortran/60088] " thatcadguy at gmail dot com
                   ` (19 more replies)
  0 siblings, 20 replies; 21+ messages in thread
From: thatcadguy at gmail dot com @ 2014-02-06  1:41 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 60088
           Summary: Segfault when using quad precision and -march=native
                    on  gfortran
           Product: gcc
           Version: 4.7.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: thatcadguy at gmail dot com

Created attachment 32061
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32061&action=edit
zip file of the code, makefile, and gcc output

I went to test the attached code with quad precision by changing
SELECTED_REAL_KIND to 33 digits in precision.f90; I got a segfault when trying
to run the compiled sip_test executable. Everything runs fine with double
precision (SELECTED_REAL_KIND @ 15 digits).

This same behavior also occurs with MinGW gfortran 4.8.1 on Windows 7 64-bit.

I noticed that if I take away '-march=native' that the segfault goes away. My
laptop at work with MinGW is a Core i7, this laptop with linux is a Core Duo.

I've attached the code and the gcc -v output as well as the -march=native
flags.


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

end of thread, other threads:[~2014-02-07 16:34 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-06  1:41 [Bug fortran/60088] New: Segfault when using quad precision and -march=native on gfortran thatcadguy at gmail dot com
2014-02-06  1:42 ` [Bug fortran/60088] " thatcadguy at gmail dot com
2014-02-06  2:23 ` [Bug target/60088] [MingW] " kargl at gcc dot gnu.org
2014-02-06  2:25 ` thatcadguy at gmail dot com
2014-02-06  3:44 ` [Bug target/60088] " jvdelisle at gcc dot gnu.org
2014-02-06  3:56 ` sgk at troutmask dot apl.washington.edu
2014-02-06  4:42 ` thatcadguy at gmail dot com
2014-02-06  5:47 ` kargl at gcc dot gnu.org
2014-02-06 11:12 ` dominiq at lps dot ens.fr
2014-02-06 19:34 ` dominiq at lps dot ens.fr
2014-02-06 21:56 ` thatcadguy at gmail dot com
2014-02-06 22:02 ` thatcadguy at gmail dot com
2014-02-06 22:09 ` kargl at gcc dot gnu.org
2014-02-06 22:47 ` jouko.orava at iki dot fi
2014-02-06 22:59 ` thatcadguy at gmail dot com
2014-02-07  3:04 ` jouko.orava at iki dot fi
2014-02-07  3:35 ` jouko.orava at iki dot fi
2014-02-07  4:22 ` thatcadguy at gmail dot com
2014-02-07  4:59 ` jouko.orava at iki dot fi
2014-02-07  6:14 ` jouko.orava at iki dot fi
2014-02-07 16:34 ` thatcadguy at gmail dot com

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