public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/13229] New: Odd combination of optimizations causes ICE in double complex loop
@ 2003-11-29  4:47 coyote at coyotegulch dot com
  2003-11-29  4:47 ` [Bug c++/13229] " coyote at coyotegulch dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: coyote at coyotegulch dot com @ 2003-11-29  4:47 UTC (permalink / raw)
  To: gcc-bugs

The following was discovered by my automated Acovea testing facility.

An ICE occurs when compiling the attached C++ file with the following command
line and gcc 3.4 20031126:

g++ -c -O1 -fno-loop-optimize -fgcse -funit-at-a-time gcc-ice1.cpp

This is a very obscure error, given that no one is likely to intentionally
combine the above options. However, it is an ICE, and may be related to other
problems in the compiler.

-- 
           Summary: Odd combination of optimizations causes ICE in double
                    complex loop
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: coyote at coyotegulch dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux
  GCC host triplet: i686-pc-linux
GCC target triplet: i686-pc-linux


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


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

* [Bug c++/13229] Odd combination of optimizations causes ICE in double complex loop
  2003-11-29  4:47 [Bug c++/13229] New: Odd combination of optimizations causes ICE in double complex loop coyote at coyotegulch dot com
@ 2003-11-29  4:47 ` coyote at coyotegulch dot com
  2003-11-29  5:47 ` [Bug optimization/13229] " pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: coyote at coyotegulch dot com @ 2003-11-29  4:47 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From coyote at coyotegulch dot com  2003-11-29 04:47 -------
Created an attachment (id=5229)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=5229&action=view)
Small example that generates the ICE


-- 


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


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

* [Bug optimization/13229] Odd combination of optimizations causes ICE in double complex loop
  2003-11-29  4:47 [Bug c++/13229] New: Odd combination of optimizations causes ICE in double complex loop coyote at coyotegulch dot com
  2003-11-29  4:47 ` [Bug c++/13229] " coyote at coyotegulch dot com
@ 2003-11-29  5:47 ` pinskia at gcc dot gnu dot org
  2003-11-29  6:06 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-29  5:47 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c++                         |optimization
           Keywords|                            |ice-on-valid-code


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


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

* [Bug optimization/13229] Odd combination of optimizations causes ICE in double complex loop
  2003-11-29  4:47 [Bug c++/13229] New: Odd combination of optimizations causes ICE in double complex loop coyote at coyotegulch dot com
  2003-11-29  4:47 ` [Bug c++/13229] " coyote at coyotegulch dot com
  2003-11-29  5:47 ` [Bug optimization/13229] " pinskia at gcc dot gnu dot org
@ 2003-11-29  6:06 ` pinskia at gcc dot gnu dot org
  2003-11-29  6:07 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-29  6:06 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-11-29 06:06 -------
Confirmed on the mainline (20031108) on powerpc-apple-darwin.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|minor                       |normal
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2003-11-29 06:06:23
               date|                            |


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


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

* [Bug optimization/13229] Odd combination of optimizations causes ICE in double complex loop
  2003-11-29  4:47 [Bug c++/13229] New: Odd combination of optimizations causes ICE in double complex loop coyote at coyotegulch dot com
                   ` (2 preceding siblings ...)
  2003-11-29  6:06 ` pinskia at gcc dot gnu dot org
@ 2003-11-29  6:07 ` pinskia at gcc dot gnu dot org
  2003-11-29 18:50 ` pinskia at gcc dot gnu dot org
  2003-12-01  2:55 ` pinskia at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-29  6:07 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-11-29 06:07 -------
(gdb) bt
#0  0x001c1ddc in init_alias_analysis () at /Volumes/UFS_Partition/pinskia/src/fsf/gcc-clean/src/
gcc/alias.c:2842
#1  0x00227a44 in bypass_jumps (file=0x0) at /Volumes/UFS_Partition/pinskia/src/fsf/gcc-clean/
src/gcc/gcse.c:7970
#2  0x0015cf80 in rest_of_handle_jump_bypass (decl=0x13ed700, insns=0x13e4a20) at /
Volumes/UFS_Partition/pinskia/src/fsf/gcc-clean/src/gcc/toplev.c:2590
#3  0x0015ec70 in rest_of_compilation (decl=0x13ed700) at /Volumes/UFS_Partition/pinskia/src/
fsf/gcc-clean/src/gcc/toplev.c:3366
#4  0x00293d5c in tree_rest_of_compilation (fndecl=0x13ed700, nested_p=false) at /Volumes/
UFS_Partition/pinskia/src/fsf/gcc-clean/src/gcc/tree-optimize.c:168
#5  0x000c62a8 in expand_body (fn=0x13ed700) at /Volumes/UFS_Partition/pinskia/src/fsf/gcc-
clean/src/gcc/cp/semantics.c:2884
#6  0x0027e46c in cgraph_expand_function (node=0x13f2150) at /Volumes/UFS_Partition/
pinskia/src/fsf/gcc-clean/src/gcc/cgraphunit.c:499
#7  0x00280d74 in cgraph_expand_all_functions () at /Volumes/UFS_Partition/pinskia/src/fsf/gcc-
clean/src/gcc/cgraphunit.c:1332
#8  0x00281058 in cgraph_optimize () at /Volumes/UFS_Partition/pinskia/src/fsf/gcc-clean/src/
gcc/cgraphunit.c:1396
#9  0x00071548 in finish_file () at /Volumes/UFS_Partition/pinskia/src/fsf/gcc-clean/src/gcc/cp/
decl2.c:2868
#10 0x0011ba20 in c_common_parse_file (set_yydebug=0) at /Volumes/UFS_Partition/pinskia/src/
fsf/gcc-clean/src/gcc/c-opts.c:1233
#11 0x0015b5f0 in compile_file () at /Volumes/UFS_Partition/pinskia/src/fsf/gcc-clean/src/gcc/
toplev.c:1836
#12 0x00161e7c in do_compile () at /Volumes/UFS_Partition/pinskia/src/fsf/gcc-clean/src/gcc/
toplev.c:4691
#13 0x00161f60 in toplev_main (argc=20, argv=0xbffffb60) at /Volumes/UFS_Partition/pinskia/
src/fsf/gcc-clean/src/gcc/toplev.c:4731
#14 0x0012157c in main (argc=20, argv=0xbffffb60) at /Volumes/UFS_Partition/pinskia/src/fsf/
gcc-clean/src/gcc/main.c:35

-- 


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


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

* [Bug optimization/13229] Odd combination of optimizations causes ICE in double complex loop
  2003-11-29  4:47 [Bug c++/13229] New: Odd combination of optimizations causes ICE in double complex loop coyote at coyotegulch dot com
                   ` (3 preceding siblings ...)
  2003-11-29  6:07 ` pinskia at gcc dot gnu dot org
@ 2003-11-29 18:50 ` pinskia at gcc dot gnu dot org
  2003-12-01  2:55 ` pinskia at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-29 18:50 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-11-29 18:50 -------
*** Bug 13233 has been marked as a duplicate of this bug. ***

-- 


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


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

* [Bug optimization/13229] Odd combination of optimizations causes ICE in double complex loop
  2003-11-29  4:47 [Bug c++/13229] New: Odd combination of optimizations causes ICE in double complex loop coyote at coyotegulch dot com
                   ` (4 preceding siblings ...)
  2003-11-29 18:50 ` pinskia at gcc dot gnu dot org
@ 2003-12-01  2:55 ` pinskia at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-01  2:55 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-12-01 02:55 -------
This is a dup of bug 12628.

*** This bug has been marked as a duplicate of 12628 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE


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


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

end of thread, other threads:[~2003-12-01  2:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-29  4:47 [Bug c++/13229] New: Odd combination of optimizations causes ICE in double complex loop coyote at coyotegulch dot com
2003-11-29  4:47 ` [Bug c++/13229] " coyote at coyotegulch dot com
2003-11-29  5:47 ` [Bug optimization/13229] " pinskia at gcc dot gnu dot org
2003-11-29  6:06 ` pinskia at gcc dot gnu dot org
2003-11-29  6:07 ` pinskia at gcc dot gnu dot org
2003-11-29 18:50 ` pinskia at gcc dot gnu dot org
2003-12-01  2:55 ` pinskia 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).