public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/50615] New: [4.7 Regression] ICE: in distribute_notes, at combine.c:13282 with -O --param max-cse-insns=1
@ 2011-10-04 18:33 zsojka at seznam dot cz
  2011-10-05 10:10 ` [Bug rtl-optimization/50615] " rguenth at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: zsojka at seznam dot cz @ 2011-10-04 18:33 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 50615
           Summary: [4.7 Regression] ICE: in distribute_notes, at
                    combine.c:13282 with -O --param max-cse-insns=1
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: zsojka@seznam.cz
              Host: x86_64-pc-linux-gnu
            Target: x86_64-pc-linux-gnu


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

Compiler output:
$ gcc -O --param max-cse-insns=1 testcase.c 
testcase.c: In function 'foo':
testcase.c:10:1: internal compiler error: in distribute_notes, at
combine.c:13282
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

(gdb) bt
#0  fancy_abort (file=0x14296f8 "/mnt/svn/gcc-trunk/gcc/combine.c", line=13282,
function=0x142b370 "distribute_notes")
    at /mnt/svn/gcc-trunk/gcc/diagnostic.c:892
#1  0x000000000104a02c in distribute_notes (notes=Unhandled dwarf expression
opcode 0xf3
) at /mnt/svn/gcc-trunk/gcc/combine.c:13282
#2  0x0000000001074e98 in try_combine (i3=Unhandled dwarf expression opcode
0xf3
) at /mnt/svn/gcc-trunk/gcc/combine.c:4224
#3  0x000000000107f8a6 in combine_instructions () at
/mnt/svn/gcc-trunk/gcc/combine.c:1223
#4  rest_of_handle_combine () at /mnt/svn/gcc-trunk/gcc/combine.c:13890
#5  0x00000000008dc1f8 in execute_one_pass (pass=0x1774180) at
/mnt/svn/gcc-trunk/gcc/passes.c:2064
#6  0x00000000008dc565 in execute_pass_list (pass=0x1774180) at
/mnt/svn/gcc-trunk/gcc/passes.c:2119
#7  0x00000000008dc577 in execute_pass_list (pass=0x176f860) at
/mnt/svn/gcc-trunk/gcc/passes.c:2120
#8  0x0000000000a342fe in tree_rest_of_compilation (fndecl=0x7ffff5688a00) at
/mnt/svn/gcc-trunk/gcc/tree-optimize.c:420
#9  0x000000000068e526 in cgraph_expand_function (node=0x7ffff7ed16c0) at
/mnt/svn/gcc-trunk/gcc/cgraphunit.c:1805
#10 0x000000000069046c in cgraph_expand_all_functions () at
/mnt/svn/gcc-trunk/gcc/cgraphunit.c:1864
#11 cgraph_optimize () at /mnt/svn/gcc-trunk/gcc/cgraphunit.c:2141
#12 0x000000000069085a in cgraph_finalize_compilation_unit () at
/mnt/svn/gcc-trunk/gcc/cgraphunit.c:1312
#13 0x0000000000574073 in c_write_global_declarations () at
/mnt/svn/gcc-trunk/gcc/c-decl.c:9936
#14 0x00000000009d1dc4 in compile_file (argc=15, argv=0x7fffffffdad8) at
/mnt/svn/gcc-trunk/gcc/toplev.c:581
#15 do_compile (argc=15, argv=0x7fffffffdad8) at
/mnt/svn/gcc-trunk/gcc/toplev.c:1925
#16 toplev_main (argc=15, argv=0x7fffffffdad8) at
/mnt/svn/gcc-trunk/gcc/toplev.c:2001
#17 0x00007ffff6178d2d in __libc_start_main () from /lib64/libc.so.6
#18 0x0000000000557ad9 in _start ()

Tested revisions:
r179488 - crash
r179167 - crash
r178498 - OK
4.6 r177922 - OK


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

* [Bug rtl-optimization/50615] [4.7 Regression] ICE: in distribute_notes, at combine.c:13282 with -O --param max-cse-insns=1
  2011-10-04 18:33 [Bug rtl-optimization/50615] New: [4.7 Regression] ICE: in distribute_notes, at combine.c:13282 with -O --param max-cse-insns=1 zsojka at seznam dot cz
@ 2011-10-05 10:10 ` rguenth at gcc dot gnu.org
  2011-10-10 15:25 ` rguenth at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-10-05 10:10 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.7.0


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

* [Bug rtl-optimization/50615] [4.7 Regression] ICE: in distribute_notes, at combine.c:13282 with -O --param max-cse-insns=1
  2011-10-04 18:33 [Bug rtl-optimization/50615] New: [4.7 Regression] ICE: in distribute_notes, at combine.c:13282 with -O --param max-cse-insns=1 zsojka at seznam dot cz
  2011-10-05 10:10 ` [Bug rtl-optimization/50615] " rguenth at gcc dot gnu.org
@ 2011-10-10 15:25 ` rguenth at gcc dot gnu.org
  2011-10-14 23:59 ` ebotcazou at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-10-10 15:25 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2011-10-10
     Ever Confirmed|0                           |1

--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-10-10 15:23:20 UTC ---
Confirmed.


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

* [Bug rtl-optimization/50615] [4.7 Regression] ICE: in distribute_notes, at combine.c:13282 with -O --param max-cse-insns=1
  2011-10-04 18:33 [Bug rtl-optimization/50615] New: [4.7 Regression] ICE: in distribute_notes, at combine.c:13282 with -O --param max-cse-insns=1 zsojka at seznam dot cz
  2011-10-05 10:10 ` [Bug rtl-optimization/50615] " rguenth at gcc dot gnu.org
  2011-10-10 15:25 ` rguenth at gcc dot gnu.org
@ 2011-10-14 23:59 ` ebotcazou at gcc dot gnu.org
  2011-10-16 13:15 ` ebotcazou at gcc dot gnu.org
  2011-10-16 13:21 ` ebotcazou at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2011-10-14 23:59 UTC (permalink / raw)
  To: gcc-bugs

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

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |ebotcazou at gcc dot
                   |                            |gnu.org
         AssignedTo|unassigned at gcc dot       |ebotcazou at gcc dot
                   |gnu.org                     |gnu.org

--- Comment #2 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2011-10-14 23:58:50 UTC ---
Investigating.


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

* [Bug rtl-optimization/50615] [4.7 Regression] ICE: in distribute_notes, at combine.c:13282 with -O --param max-cse-insns=1
  2011-10-04 18:33 [Bug rtl-optimization/50615] New: [4.7 Regression] ICE: in distribute_notes, at combine.c:13282 with -O --param max-cse-insns=1 zsojka at seznam dot cz
                   ` (2 preceding siblings ...)
  2011-10-14 23:59 ` ebotcazou at gcc dot gnu.org
@ 2011-10-16 13:15 ` ebotcazou at gcc dot gnu.org
  2011-10-16 13:21 ` ebotcazou at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2011-10-16 13:15 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2011-10-16 13:14:37 UTC ---
Author: ebotcazou
Date: Sun Oct 16 13:14:34 2011
New Revision: 180058

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=180058
Log:
    PR rtl-optimization/50615
    * combine.c (distribute_notes) <REG_ARGS_SIZE>: Skip if I3 is a no-op.

Added:
    trunk/gcc/testsuite/gcc.dg/vla-23.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/combine.c
    trunk/gcc/testsuite/ChangeLog


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

* [Bug rtl-optimization/50615] [4.7 Regression] ICE: in distribute_notes, at combine.c:13282 with -O --param max-cse-insns=1
  2011-10-04 18:33 [Bug rtl-optimization/50615] New: [4.7 Regression] ICE: in distribute_notes, at combine.c:13282 with -O --param max-cse-insns=1 zsojka at seznam dot cz
                   ` (3 preceding siblings ...)
  2011-10-16 13:15 ` ebotcazou at gcc dot gnu.org
@ 2011-10-16 13:21 ` ebotcazou at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2011-10-16 13:21 UTC (permalink / raw)
  To: gcc-bugs

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

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #4 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2011-10-16 13:20:01 UTC ---
.


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

end of thread, other threads:[~2011-10-16 13:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-04 18:33 [Bug rtl-optimization/50615] New: [4.7 Regression] ICE: in distribute_notes, at combine.c:13282 with -O --param max-cse-insns=1 zsojka at seznam dot cz
2011-10-05 10:10 ` [Bug rtl-optimization/50615] " rguenth at gcc dot gnu.org
2011-10-10 15:25 ` rguenth at gcc dot gnu.org
2011-10-14 23:59 ` ebotcazou at gcc dot gnu.org
2011-10-16 13:15 ` ebotcazou at gcc dot gnu.org
2011-10-16 13:21 ` ebotcazou 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).