public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/53682] New: [4.7/4.8 Regression] ICE in cselib_lookup (SEGV) on i586-linux-gnu
@ 2012-06-15 10:45 doko at gcc dot gnu.org
  2012-06-15 11:41 ` [Bug target/53682] " jakub at gcc dot gnu.org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: doko at gcc dot gnu.org @ 2012-06-15 10:45 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 53682
           Summary: [4.7/4.8 Regression] ICE in cselib_lookup (SEGV) on
                    i586-linux-gnu
    Classification: Unclassified
           Product: gcc
           Version: 4.7.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: doko@gcc.gnu.org


Created attachment 27625
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27625
test case

works with 4.6 branch, fails with 4.7.1 on i586-linux-gnu, works on
x86_64-linux-gnu.

omitting one of the -fPIC, -fvisibility=hidden, -funroll-loops options avoids
the ice.

$ gcc -c -g -O2 -fPIC -fvisibility=hidden -funroll-loops  mini_q_math.c 
mini_q_math.c: In function 'ByteToDir':
mini_q_math.c:124:1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.


Program received signal SIGSEGV, Segmentation fault.
0x081e657b in cselib_lookup(rtx_def*, machine_mode, int, machine_mode) ()
(gdb) bt
#0  0x081e657b in cselib_lookup(rtx_def*, machine_mode, int, machine_mode) ()
#1  0x081e7034 in ?? ()
#2  0x08590da2 in ?? ()
#3  0x085a8680 in ?? ()
#4  0x08189983 in find_base_term(rtx_def*) ()
#5  0x08189a28 in find_base_term(rtx_def*) ()
#6  0x08189b69 in find_base_term(rtx_def*) ()
#7  0x0818b3e8 in ?? ()
#8  0x081e7820 in ?? ()
#9  0x081e88f7 in ?? ()
#10 0x081e9183 in cselib_process_insn(rtx_def*) ()
#11 0x0856c723 in ?? ()
#12 0x0857323c in variable_tracking_main() ()
#13 0x0836e2bc in execute_one_pass(opt_pass*) ()
#14 0x0836e615 in execute_pass_list(opt_pass*) ()
#15 0x0836e628 in execute_pass_list(opt_pass*) ()
#16 0x0836e628 in execute_pass_list(opt_pass*) ()
#17 0x0844d434 in tree_rest_of_compilation(tree_node*) ()
#18 0x081dd654 in ?? ()
#19 0x081deeb5 in cgraph_optimize() ()
#20 0x081df3ef in cgraph_finalize_compilation_unit() ()
#21 0x081185fc in c_write_global_declarations() ()
#22 0x0840661a in toplev_main(int, char**) ()
#23 0x0810712b in main ()


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

end of thread, other threads:[~2012-06-26 20:25 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-15 10:45 [Bug target/53682] New: [4.7/4.8 Regression] ICE in cselib_lookup (SEGV) on i586-linux-gnu doko at gcc dot gnu.org
2012-06-15 11:41 ` [Bug target/53682] " jakub at gcc dot gnu.org
2012-06-15 12:00 ` jakub at gcc dot gnu.org
2012-06-18 10:31 ` aoliva at gcc dot gnu.org
2012-06-18 10:32 ` aoliva at gcc dot gnu.org
2012-06-22  1:29 ` aoliva at gcc dot gnu.org
2012-06-22 16:17 ` aoliva at gcc dot gnu.org
2012-06-24 13:02 ` mikpe at it dot uu.se
2012-06-25  3:56 ` aoliva at gcc dot gnu.org
2012-06-26 20:22 ` aoliva at gcc dot gnu.org
2012-06-26 20:25 ` aoliva 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).