public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/45141]  New: lto1 ICEs when linking cns_solve again
@ 2010-07-30 10:42 howarth at nitro dot med dot uc dot edu
  2010-07-30 10:43 ` [Bug lto/45141] " howarth at nitro dot med dot uc dot edu
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2010-07-30 10:42 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1927 bytes --]

Current gcc trunk (but not gcc 4.5.1) ICEs when linking cns_solve using -O2
-fwhopr -fwholeprogram. The reduced test case is attached and crashes as...

[MacPro:~/badlinkdir2] howarth% more README
[MacPro:~/badlinkdir2] howarth% gfortran -c -fdefault-integer-8 -w -O2 -fwhopr
-fwhole-program --save-temps array_reduced.f
[MacPro:~/badlinkdir2] howarth% gfortran -c -fdefault-integer-8 -w -O2 -fwhopr
-fwhole-program --save-temps cns_reduced.f
[MacPro:~/badlinkdir2] howarth% gfortran -c -fdefault-integer-8 -w -O2 -fwhopr
-fwhole-program --save-temps genic_reduced.f
[MacPro:~/badlinkdir2] howarth% gfortran -r -nostdlib -o
cns_solve-1007222053.exe array_reduced.o cns_reduced.o genic_reduced.o
-DINTEGER='long int' -DCNS_ARCH_TYPE_LINUX -fdefault-integer-8 -O2 -fwhopr
-fwhole-program -w
In file included from genic_reduced.f:602:0,
                 from genic_reduced.f:602,
                 from :3:
array_reduced.f: In function ‘find52_.constprop.0’:
array_reduced.f:34:0: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
lto-wrapper: gfortran returned 1 exit status
collect2: lto-wrapper returned 1 exit status

The lto1 ICE doesn't occur if the optimization is reduced to -O1 or if the
-fwhole-program flag is omitted.

This crash is distinct from the the resolved one from PR45037.


-- 
           Summary: lto1 ICEs when linking cns_solve again
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: howarth at nitro dot med dot uc dot edu
 GCC build triplet: x86_64-apple-darwin10
  GCC host triplet: x86_64-apple-darwin10
GCC target triplet: x86_64-apple-darwin10


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


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

end of thread, other threads:[~2010-07-30 11:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-30 10:42 [Bug lto/45141] New: lto1 ICEs when linking cns_solve again howarth at nitro dot med dot uc dot edu
2010-07-30 10:43 ` [Bug lto/45141] " howarth at nitro dot med dot uc dot edu
2010-07-30 10:47 ` howarth at nitro dot med dot uc dot edu
2010-07-30 11:01 ` rguenth at gcc dot gnu dot org
2010-07-30 11:02 ` rguenth at gcc dot gnu dot 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).