public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/46088] New: [4.6 Regression] ICE: SIGSEGV in ix86_binary_operator_ok (i386.c:15025) with -Os -fnon-call-exceptions -fpeel-loops
@ 2010-10-19 23:36 zsojka at seznam dot cz
  2010-10-20  3:22 ` [Bug rtl-optimization/46088] " hjl.tools at gmail dot com
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: zsojka at seznam dot cz @ 2010-10-19 23:36 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: [4.6 Regression] ICE: SIGSEGV in
                    ix86_binary_operator_ok (i386.c:15025) with -Os
                    -fnon-call-exceptions -fpeel-loops
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: zsojka@seznam.cz


Created attachment 22088
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22088
reduced testcase

Command line:
$ gcc -Os -fnon-call-exceptions -fpeel-loops pr46088.c

Related valgrind output:
$ valgrind -q --trace-children=yes gcc -Os -fnon-call-exceptions -fpeel-loops
pr46088.c
==14275== Invalid read of size 2
==14275==    at 0xA7C8EC: ix86_binary_operator_ok (i386.c:15025)
==14275==    by 0xDF3063: recog (i386.md:10038)
==14275==    by 0xEE9313: recog_for_combine (combine.c:10480)
==14275==    by 0xF16107: try_combine (combine.c:3220)
==14275==    by 0xF2141D: rest_of_handle_combine (combine.c:1187)
==14275==    by 0x79613E: execute_one_pass (passes.c:1562)
==14275==    by 0x7963D4: execute_pass_list (passes.c:1617)
==14275==    by 0x7963E6: execute_pass_list (passes.c:1618)
==14275==    by 0x8E30F5: tree_rest_of_compilation (tree-optimize.c:419)
==14275==    by 0xAAC341: cgraph_expand_function (cgraphunit.c:1494)
==14275==    by 0xAAE909: cgraph_optimize (cgraphunit.c:1553)
==14275==    by 0xAAEE69: cgraph_finalize_compilation_unit (cgraphunit.c:1016)
==14275==  Address 0xabababababababab is not stack'd, malloc'd or (recently)
free'd
==14275== 
pr46088.c: In function 'foo':
pr46088.c:7:1: 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:
r165699 - crash
r159696 - crash
r158095 - OK
4.5 r163761 - OK


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

end of thread, other threads:[~2010-11-11 23:53 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-19 23:36 [Bug rtl-optimization/46088] New: [4.6 Regression] ICE: SIGSEGV in ix86_binary_operator_ok (i386.c:15025) with -Os -fnon-call-exceptions -fpeel-loops zsojka at seznam dot cz
2010-10-20  3:22 ` [Bug rtl-optimization/46088] " hjl.tools at gmail dot com
2010-10-20  8:16 ` jakub at gcc dot gnu.org
2010-11-04 13:23 ` [Bug target/46088] " rguenth at gcc dot gnu.org
2010-11-04 16:19 ` ubizjak at gmail dot com
2010-11-04 16:33 ` ubizjak at gmail dot com
2010-11-11 11:00 ` [Bug rtl-optimization/46088] " jakub at gcc dot gnu.org
2010-11-11 11:27 ` [Bug target/46088] " ebotcazou at gcc dot gnu.org
2010-11-11 11:30 ` jakub at gcc dot gnu.org
2010-11-11 11:33 ` jakub at gcc dot gnu.org
2010-11-11 23:52 ` jakub at gcc dot gnu.org
2010-11-11 23:53 ` jakub 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).