public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/44964]  New: [4.6 Regression] ICE: SIGSEGV in gimple_default_def (tree-dfa.c:539) with -fkeep-inline-functions
@ 2010-07-16 13:36 zsojka at seznam dot cz
  2010-07-16 13:37 ` [Bug tree-optimization/44964] " zsojka at seznam dot cz
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: zsojka at seznam dot cz @ 2010-07-16 13:36 UTC (permalink / raw)
  To: gcc-bugs

Command line:
$ gcc -fkeep-inline-functions -O[123s] testcase.c

Valgrind output:
$ valgrind -q --trace-children=yes
/mnt/svn/gcc-trunk/binary-162056-lto-fortran-checking-yes-rtl-df/bin/gcc
-fkeep-inline-functions -O1 testcase.c
==20756== Invalid read of size 8
==20756==    at 0x8CD66D: gimple_default_def (tree-dfa.c:539)
==20756==    by 0xADB938: setup_one_parameter (tree-inline.c:2527)
==20756==    by 0xAE140D: optimize_inline_calls (tree-inline.c:2690)
==20756==    by 0xAB9129: cgraph_early_inlining (ipa-inline.c:1783)
==20756==    by 0x7B813D: execute_one_pass (passes.c:1565)
==20756==    by 0x7B83D4: execute_pass_list (passes.c:1620)
==20756==    by 0x7B763B: do_per_function_toporder (passes.c:1158)
==20756==    by 0x7B87F5: execute_ipa_pass_list (passes.c:1920)
==20756==    by 0xAB0350: cgraph_optimize (cgraphunit.c:1851)
==20756==    by 0xAB05AA: cgraph_finalize_compilation_unit (cgraphunit.c:1171)
==20756==    by 0x4DF2D2: c_write_global_declarations (c-decl.c:9698)
==20756==    by 0x8A41E5: toplev_main (toplev.c:997)
==20756==  Address 0x40 is not stack'd, malloc'd or (recently) free'd
==20756== 
testcase.c: In function 'bar':
testcase.c:11:7: 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.

Tested revisions:
r162056 - crash
r159696 - crash
r158969 - crash
r158095 - OK
4.5 r160526 - OK


-- 
           Summary: [4.6 Regression] ICE: SIGSEGV in gimple_default_def
                    (tree-dfa.c:539) with -fkeep-inline-functions
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: zsojka at seznam dot cz
  GCC host triplet: x86_64-pc-linux-gnu
GCC target triplet: x86_64-pc-linux-gnu


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


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

end of thread, other threads:[~2010-11-10 16:05 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-44964-4@http.gcc.gnu.org/bugzilla/>
2010-11-03 15:57 ` [Bug tree-optimization/44964] [4.6 Regression] ICE: SIGSEGV in gimple_default_def (tree-dfa.c:539) with -fkeep-inline-functions rguenth at gcc dot gnu.org
2010-11-10 13:53 ` rguenth at gcc dot gnu.org
2010-11-10 14:06 ` rguenth at gcc dot gnu.org
2010-11-10 16:05 ` rguenth at gcc dot gnu.org
2010-11-10 16:05 ` rguenth at gcc dot gnu.org
2010-07-16 13:36 [Bug tree-optimization/44964] New: " zsojka at seznam dot cz
2010-07-16 13:37 ` [Bug tree-optimization/44964] " zsojka at seznam dot cz
2010-07-16 15:31 ` hjl dot tools at gmail dot com
2010-07-23 12:50 ` rguenth at gcc dot gnu dot org
2010-09-02 10:54 ` 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).