public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/47420] New: ICE: in calc_dfs_tree, at dominance.c:395 with c++ code
@ 2011-01-23 10:23 silver24k at gmail dot com
  2011-01-23 15:59 ` [Bug rtl-optimization/47420] " hjl.tools at gmail dot com
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: silver24k at gmail dot com @ 2011-01-23 10:23 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: ICE: in calc_dfs_tree, at dominance.c:395 with c++
                    code
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: silver24k@gmail.com


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

gcc version 4.6.0 20110120

$ g++ -c -Os test.cpp / g++ -c -O2 test.cpp
test.cpp: In constructor 'sfTextCtrl::sfTextCtrl(void*)':
test.cpp:55:5: internal compiler error: in calc_dfs_tree, at dominance.c:395
Please submit a full bug report,
with preprocessed source if appropriate.


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

* [Bug rtl-optimization/47420] ICE: in calc_dfs_tree, at dominance.c:395 with c++ code
  2011-01-23 10:23 [Bug rtl-optimization/47420] New: ICE: in calc_dfs_tree, at dominance.c:395 with c++ code silver24k at gmail dot com
@ 2011-01-23 15:59 ` hjl.tools at gmail dot com
  2011-01-24  2:05 ` silver24k at gmail dot com
                   ` (12 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: hjl.tools at gmail dot com @ 2011-01-23 15:59 UTC (permalink / raw)
  To: gcc-bugs

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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2011.01.23 15:33:35
     Ever Confirmed|0                           |1

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> 2011-01-23 15:33:35 UTC ---
Works for me with revision 169143 on Linux/x86.


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

* [Bug rtl-optimization/47420] ICE: in calc_dfs_tree, at dominance.c:395 with c++ code
  2011-01-23 10:23 [Bug rtl-optimization/47420] New: ICE: in calc_dfs_tree, at dominance.c:395 with c++ code silver24k at gmail dot com
  2011-01-23 15:59 ` [Bug rtl-optimization/47420] " hjl.tools at gmail dot com
@ 2011-01-24  2:05 ` silver24k at gmail dot com
  2011-01-24  2:12 ` silver24k at gmail dot com
                   ` (11 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: silver24k at gmail dot com @ 2011-01-24  2:05 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Yu Simin <silver24k at gmail dot com> 2011-01-24 00:57:35 UTC ---
failed on both mingw32- and arm-none-eabi-,

Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=c:/snowfishroot/mingw/bin/../libexec/gcc/mingw32/4.6.0/lto-wrapper.exe
Target: mingw32
Configured with: ../../../gcc_trunk/configure --build=x86_64-unknown-linux-gnu
--host=mingw32 --target=mingw32 --prefix=/mingw --disable-win32-registry
--enable-shared --enable-static --enable-libgomp
--enable-version-specific-runtime-libs --with-gmp=/mingw --with-mpfr=/mingw
--with-ppl=/mingw --with-cloog=/mingw --enable-libstdcxx-debug
--with-build-time-tools=/platform/cross-on-linux/mingw --disable-nls
--with-mpc=/mingw --enable-languages=c,c++ --enable-lto --disable-plugin
--enable-checking=release --enable-sjlj-exceptions --enable-cloog-backend=isl
--disable-cloog-version-check
Thread model: win32
gcc version 4.6.0 20110123 (experimental)
COLLECT_GCC_OPTIONS='-c' '-O2' '-v' '-mtune=generic' '-march=pentiumpro'
 c:/snowfishroot/mingw/bin/../libexec/gcc/mingw32/4.6.0/cc1plus.exe -quiet -v
-iprefix c:\snowfishroot\mingw\bin\../lib/gcc/mingw32/4.6.0/ -D__MSVCRT_DLL__
PR47420_ICE.cpp -quiet -dumpbase PR47420_ICE.cpp -mtune=generic
-march=pentiumpro -auxbase PR47420_ICE -O2 -version -o D:\Temp\ccN8BzbK.s
GNU C++ version 4.6.0 20110123 (experimental) (mingw32)
    compiled by GNU C version 4.6.0 20110123 (experimental), GMP version 5.0.1,
MPFR version 3.0.0-p3, MPC version 0.8.2
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
ignoring nonexistent directory
"c:\snowfishroot\mingw\bin\../lib/gcc/mingw32/4.6.0/../../../../mingw32/include"
ignoring duplicate directory
"c:/snowfishroot/mingw/lib/gcc/../../lib/gcc/mingw32/4.6.0/include/c++"
ignoring duplicate directory
"c:/snowfishroot/mingw/lib/gcc/../../lib/gcc/mingw32/4.6.0/include/c++/mingw32"
ignoring duplicate directory
"c:/snowfishroot/mingw/lib/gcc/../../lib/gcc/mingw32/4.6.0/include/c++/backward"
ignoring duplicate directory
"c:/snowfishroot/mingw/lib/gcc/../../lib/gcc/mingw32/4.6.0/include"
ignoring nonexistent directory "/mingw/include"
ignoring duplicate directory "c:/snowfishroot/mingw/lib/gcc/../../include"
ignoring duplicate directory
"c:/snowfishroot/mingw/lib/gcc/../../lib/gcc/mingw32/4.6.0/include-fixed"
ignoring nonexistent directory
"c:/snowfishroot/mingw/lib/gcc/../../lib/gcc/mingw32/4.6.0/../../../../mingw32/include"
ignoring nonexistent directory "/mingw/include"
#include "..." search starts here:
#include <...> search starts here:
 c:\snowfishroot\mingw\bin\../lib/gcc/mingw32/4.6.0/include/c++
 c:\snowfishroot\mingw\bin\../lib/gcc/mingw32/4.6.0/include/c++/mingw32
 c:\snowfishroot\mingw\bin\../lib/gcc/mingw32/4.6.0/include/c++/backward
 c:\snowfishroot\mingw\bin\../lib/gcc/mingw32/4.6.0/include
 c:\snowfishroot\mingw\bin\../lib/gcc/mingw32/4.6.0/../../../../include
 c:\snowfishroot\mingw\bin\../lib/gcc/mingw32/4.6.0/include-fixed
End of search list.
GNU C++ version 4.6.0 20110123 (experimental) (mingw32)
    compiled by GNU C version 4.6.0 20110123 (experimental), GMP version 5.0.1,
MPFR version 3.0.0-p3, MPC version 0.8.2
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 950018fa43a5603ab5e33743958395b0
PR47420_ICE.cpp: In function 'sfTextCtrl* CreateTextCtrl()':
PR47420_ICE.cpp:66:13: internal compiler error: in calc_dfs_tree, at
dominance.c:395
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.



Using built-in specs.
COLLECT_GCC=arm-gcc
COLLECT_LTO_WRAPPER=c:/snowfishroot/share/sdk/crosssdk/bin/../libexec/gcc/arm/4.6.0/lto-wrapper.exe
Target: arm
Configured with: ../../../gcc_trunk/configure --host=mingw32
--build=x86_64-unknown-linux-gnu --target=arm --prefix=/CROSSSDK
--with-local-prefix=/CROSSSDK/vendor --enable-version-specific-runtime-libs
--disable-threads --disable-tls --disable-nls --enable-multilib --with-newlib
--with-headers=/home/starlight/src/gnu-toolchain/newlib/newlib/libc/include
--with-pkgversion='General ARM GCC' --enable-languages=c,c++
--enable-checking=release --with-gmp=/mingw --with-mpfr=/mingw
--with-ppl=/mingw --with-cloog=/mingw
--with-libelf=/platform/cross-on-linux/mingw/gcc_build_support_libelf
--with-mpc=/mingw --disable-plugin --disable-libstdcxx-pch
--enable-cloog-backend=isl --disable-cloog-version-check
Thread model: single
gcc version 4.6.0 20110123 (experimental) (General ARM GCC) 
COLLECT_GCC_OPTIONS='-c' '-O2' '-v'
 c:/snowfishroot/share/sdk/crosssdk/bin/../libexec/gcc/arm/4.6.0/cc1plus.exe
-quiet -v -iprefix c:\snowfishroot\share\sdk\crosssdk\bin\../lib/gcc/arm/4.6.0/
-D__USES_INITFINI__ PR47420_ICE.cpp -quiet -dumpbase PR47420_ICE.cpp -auxbase
PR47420_ICE -O2 -version -o D:\Temp\cceBCwsw.s
GNU C++ (General ARM GCC) version 4.6.0 20110123 (experimental) (arm)
    compiled by GNU C version 4.6.0 20110123 (experimental), GMP version 5.0.1,
MPFR version 3.0.0-p3, MPC version 0.8.2
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
ignoring duplicate directory
"c:/snowfishroot/share/sdk/crosssdk/lib/gcc/../../lib/gcc/arm/4.6.0/include/c++"
ignoring duplicate directory
"c:/snowfishroot/share/sdk/crosssdk/lib/gcc/../../lib/gcc/arm/4.6.0/include/c++/arm"
ignoring duplicate directory
"c:/snowfishroot/share/sdk/crosssdk/lib/gcc/../../lib/gcc/arm/4.6.0/include/c++/backward"
ignoring duplicate directory
"c:/snowfishroot/share/sdk/crosssdk/lib/gcc/../../lib/gcc/arm/4.6.0/include"
ignoring duplicate directory
"c:/snowfishroot/share/sdk/crosssdk/lib/gcc/../../lib/gcc/arm/4.6.0/include-fixed"
ignoring duplicate directory
"c:/snowfishroot/share/sdk/crosssdk/lib/gcc/../../lib/gcc/arm/4.6.0/../../../../arm/sys-include"
ignoring duplicate directory
"c:/snowfishroot/share/sdk/crosssdk/lib/gcc/../../lib/gcc/arm/4.6.0/../../../../arm/include"
#include "..." search starts here:
#include <...> search starts here:
 c:\snowfishroot\share\sdk\crosssdk\bin\../lib/gcc/arm/4.6.0/include/c++
 c:\snowfishroot\share\sdk\crosssdk\bin\../lib/gcc/arm/4.6.0/include/c++/arm

c:\snowfishroot\share\sdk\crosssdk\bin\../lib/gcc/arm/4.6.0/include/c++/backward
 c:\snowfishroot\share\sdk\crosssdk\bin\../lib/gcc/arm/4.6.0/include
 c:\snowfishroot\share\sdk\crosssdk\bin\../lib/gcc/arm/4.6.0/include-fixed

c:\snowfishroot\share\sdk\crosssdk\bin\../lib/gcc/arm/4.6.0/../../../../arm/sys-include

c:\snowfishroot\share\sdk\crosssdk\bin\../lib/gcc/arm/4.6.0/../../../../arm/include
End of search list.
GNU C++ (General ARM GCC) version 4.6.0 20110123 (experimental) (arm)
    compiled by GNU C version 4.6.0 20110123 (experimental), GMP version 5.0.1,
MPFR version 3.0.0-p3, MPC version 0.8.2
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 8b9abdbe184f3f4d3878d6710deacaeb
COLLECT_GCC_OPTIONS='-c' '-O2' '-v'

c:/snowfishroot/share/sdk/crosssdk/bin/../lib/gcc/arm/4.6.0/../../../../arm/bin/as.exe
-meabi=5 -o PR47420_ICE.o D:\Temp\cceBCwsw.s
COMPILER_PATH=c:/snowfishroot/share/sdk/crosssdk/bin/../libexec/gcc/arm/4.6.0/;c:/snowfishroot/share/sdk/crosssdk/bin/../libexec/gcc/;c:/snowfishroot/share/sdk/crosssdk/bin/../lib/gcc/arm/4.6.0/../../../../arm/bin/
LIBRARY_PATH=c:/snowfishroot/share/sdk/crosssdk/bin/../lib/gcc/arm/4.6.0/;c:/snowfishroot/share/sdk/crosssdk/bin/../lib/gcc/;c:/snowfishroot/share/sdk/crosssdk/bin/../lib/gcc/arm/4.6.0/../../../../arm/lib/
COLLECT_GCC_OPTIONS='-c' '-O2' '-v'


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

* [Bug rtl-optimization/47420] ICE: in calc_dfs_tree, at dominance.c:395 with c++ code
  2011-01-23 10:23 [Bug rtl-optimization/47420] New: ICE: in calc_dfs_tree, at dominance.c:395 with c++ code silver24k at gmail dot com
  2011-01-23 15:59 ` [Bug rtl-optimization/47420] " hjl.tools at gmail dot com
  2011-01-24  2:05 ` silver24k at gmail dot com
@ 2011-01-24  2:12 ` silver24k at gmail dot com
  2011-01-24  2:42 ` silver24k at gmail dot com
                   ` (10 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: silver24k at gmail dot com @ 2011-01-24  2:12 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Yu Simin <silver24k at gmail dot com> 2011-01-24 00:58:58 UTC ---
(In reply to comment #2)
> failed on both mingw32- and arm-none-eabi-,
> 
> Using built-in specs.
> COLLECT_GCC=gcc
> COLLECT_LTO_WRAPPER=c:/snowfishroot/mingw/bin/../libexec/gcc/mingw32/4.6.0/lto-wrapper.exe
> Target: mingw32
> Configured with: ../../../gcc_trunk/configure --build=x86_64-unknown-linux-gnu
> --host=mingw32 --target=mingw32 --prefix=/mingw --disable-win32-registry
> --enable-shared --enable-static --enable-libgomp
> --enable-version-specific-runtime-libs --with-gmp=/mingw --with-mpfr=/mingw
> --with-ppl=/mingw --with-cloog=/mingw --enable-libstdcxx-debug
> --with-build-time-tools=/platform/cross-on-linux/mingw --disable-nls
> --with-mpc=/mingw --enable-languages=c,c++ --enable-lto --disable-plugin
> --enable-checking=release --enable-sjlj-exceptions --enable-cloog-backend=isl
> --disable-cloog-version-check
> Thread model: win32
> gcc version 4.6.0 20110123 (experimental)
> COLLECT_GCC_OPTIONS='-c' '-O2' '-v' '-mtune=generic' '-march=pentiumpro'
>  c:/snowfishroot/mingw/bin/../libexec/gcc/mingw32/4.6.0/cc1plus.exe -quiet -v
> -iprefix c:\snowfishroot\mingw\bin\../lib/gcc/mingw32/4.6.0/ -D__MSVCRT_DLL__
> PR47420_ICE.cpp -quiet -dumpbase PR47420_ICE.cpp -mtune=generic
> -march=pentiumpro -auxbase PR47420_ICE -O2 -version -o D:\Temp\ccN8BzbK.s
> GNU C++ version 4.6.0 20110123 (experimental) (mingw32)
>     compiled by GNU C version 4.6.0 20110123 (experimental), GMP version 5.0.1,
> MPFR version 3.0.0-p3, MPC version 0.8.2
> GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
> ignoring nonexistent directory
> "c:\snowfishroot\mingw\bin\../lib/gcc/mingw32/4.6.0/../../../../mingw32/include"
> ignoring duplicate directory
> "c:/snowfishroot/mingw/lib/gcc/../../lib/gcc/mingw32/4.6.0/include/c++"
> ignoring duplicate directory
> "c:/snowfishroot/mingw/lib/gcc/../../lib/gcc/mingw32/4.6.0/include/c++/mingw32"
> ignoring duplicate directory
> "c:/snowfishroot/mingw/lib/gcc/../../lib/gcc/mingw32/4.6.0/include/c++/backward"
> ignoring duplicate directory
> "c:/snowfishroot/mingw/lib/gcc/../../lib/gcc/mingw32/4.6.0/include"
> ignoring nonexistent directory "/mingw/include"
> ignoring duplicate directory "c:/snowfishroot/mingw/lib/gcc/../../include"
> ignoring duplicate directory
> "c:/snowfishroot/mingw/lib/gcc/../../lib/gcc/mingw32/4.6.0/include-fixed"
> ignoring nonexistent directory
> "c:/snowfishroot/mingw/lib/gcc/../../lib/gcc/mingw32/4.6.0/../../../../mingw32/include"
> ignoring nonexistent directory "/mingw/include"
> #include "..." search starts here:
> #include <...> search starts here:
>  c:\snowfishroot\mingw\bin\../lib/gcc/mingw32/4.6.0/include/c++
>  c:\snowfishroot\mingw\bin\../lib/gcc/mingw32/4.6.0/include/c++/mingw32
>  c:\snowfishroot\mingw\bin\../lib/gcc/mingw32/4.6.0/include/c++/backward
>  c:\snowfishroot\mingw\bin\../lib/gcc/mingw32/4.6.0/include
>  c:\snowfishroot\mingw\bin\../lib/gcc/mingw32/4.6.0/../../../../include
>  c:\snowfishroot\mingw\bin\../lib/gcc/mingw32/4.6.0/include-fixed
> End of search list.
> GNU C++ version 4.6.0 20110123 (experimental) (mingw32)
>     compiled by GNU C version 4.6.0 20110123 (experimental), GMP version 5.0.1,
> MPFR version 3.0.0-p3, MPC version 0.8.2
> GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
> Compiler executable checksum: 950018fa43a5603ab5e33743958395b0
> PR47420_ICE.cpp: In function 'sfTextCtrl* CreateTextCtrl()':
> PR47420_ICE.cpp:66:13: internal compiler error: in calc_dfs_tree, at
> dominance.c:395
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <http://gcc.gnu.org/bugs.html> for instructions.
> 
> 
> 
> Using built-in specs.
> COLLECT_GCC=arm-gcc
> COLLECT_LTO_WRAPPER=c:/snowfishroot/share/sdk/crosssdk/bin/../libexec/gcc/arm/4.6.0/lto-wrapper.exe
> Target: arm
> Configured with: ../../../gcc_trunk/configure --host=mingw32
> --build=x86_64-unknown-linux-gnu --target=arm --prefix=/CROSSSDK
> --with-local-prefix=/CROSSSDK/vendor --enable-version-specific-runtime-libs
> --disable-threads --disable-tls --disable-nls --enable-multilib --with-newlib
> --with-headers=/home/starlight/src/gnu-toolchain/newlib/newlib/libc/include
> --with-pkgversion='General ARM GCC' --enable-languages=c,c++
> --enable-checking=release --with-gmp=/mingw --with-mpfr=/mingw
> --with-ppl=/mingw --with-cloog=/mingw
> --with-libelf=/platform/cross-on-linux/mingw/gcc_build_support_libelf
> --with-mpc=/mingw --disable-plugin --disable-libstdcxx-pch
> --enable-cloog-backend=isl --disable-cloog-version-check
> Thread model: single
> gcc version 4.6.0 20110123 (experimental) (General ARM GCC) 
> COLLECT_GCC_OPTIONS='-c' '-O2' '-v'
>  c:/snowfishroot/share/sdk/crosssdk/bin/../libexec/gcc/arm/4.6.0/cc1plus.exe
> -quiet -v -iprefix c:\snowfishroot\share\sdk\crosssdk\bin\../lib/gcc/arm/4.6.0/
> -D__USES_INITFINI__ PR47420_ICE.cpp -quiet -dumpbase PR47420_ICE.cpp -auxbase
> PR47420_ICE -O2 -version -o D:\Temp\cceBCwsw.s
> GNU C++ (General ARM GCC) version 4.6.0 20110123 (experimental) (arm)
>     compiled by GNU C version 4.6.0 20110123 (experimental), GMP version 5.0.1,
> MPFR version 3.0.0-p3, MPC version 0.8.2
> GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
> ignoring duplicate directory
> "c:/snowfishroot/share/sdk/crosssdk/lib/gcc/../../lib/gcc/arm/4.6.0/include/c++"
> ignoring duplicate directory
> "c:/snowfishroot/share/sdk/crosssdk/lib/gcc/../../lib/gcc/arm/4.6.0/include/c++/arm"
> ignoring duplicate directory
> "c:/snowfishroot/share/sdk/crosssdk/lib/gcc/../../lib/gcc/arm/4.6.0/include/c++/backward"
> ignoring duplicate directory
> "c:/snowfishroot/share/sdk/crosssdk/lib/gcc/../../lib/gcc/arm/4.6.0/include"
> ignoring duplicate directory
> "c:/snowfishroot/share/sdk/crosssdk/lib/gcc/../../lib/gcc/arm/4.6.0/include-fixed"
> ignoring duplicate directory
> "c:/snowfishroot/share/sdk/crosssdk/lib/gcc/../../lib/gcc/arm/4.6.0/../../../../arm/sys-include"
> ignoring duplicate directory
> "c:/snowfishroot/share/sdk/crosssdk/lib/gcc/../../lib/gcc/arm/4.6.0/../../../../arm/include"
> #include "..." search starts here:
> #include <...> search starts here:
>  c:\snowfishroot\share\sdk\crosssdk\bin\../lib/gcc/arm/4.6.0/include/c++
>  c:\snowfishroot\share\sdk\crosssdk\bin\../lib/gcc/arm/4.6.0/include/c++/arm
> 
> c:\snowfishroot\share\sdk\crosssdk\bin\../lib/gcc/arm/4.6.0/include/c++/backward
>  c:\snowfishroot\share\sdk\crosssdk\bin\../lib/gcc/arm/4.6.0/include
>  c:\snowfishroot\share\sdk\crosssdk\bin\../lib/gcc/arm/4.6.0/include-fixed
> 
> c:\snowfishroot\share\sdk\crosssdk\bin\../lib/gcc/arm/4.6.0/../../../../arm/sys-include
> 
> c:\snowfishroot\share\sdk\crosssdk\bin\../lib/gcc/arm/4.6.0/../../../../arm/include
> End of search list.
> GNU C++ (General ARM GCC) version 4.6.0 20110123 (experimental) (arm)
>     compiled by GNU C version 4.6.0 20110123 (experimental), GMP version 5.0.1,
> MPFR version 3.0.0-p3, MPC version 0.8.2
> GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
> Compiler executable checksum: 8b9abdbe184f3f4d3878d6710deacaeb
> COLLECT_GCC_OPTIONS='-c' '-O2' '-v'
> 
> c:/snowfishroot/share/sdk/crosssdk/bin/../lib/gcc/arm/4.6.0/../../../../arm/bin/as.exe
> -meabi=5 -o PR47420_ICE.o D:\Temp\cceBCwsw.s
> COMPILER_PATH=c:/snowfishroot/share/sdk/crosssdk/bin/../libexec/gcc/arm/4.6.0/;c:/snowfishroot/share/sdk/crosssdk/bin/../libexec/gcc/;c:/snowfishroot/share/sdk/crosssdk/bin/../lib/gcc/arm/4.6.0/../../../../arm/bin/
> LIBRARY_PATH=c:/snowfishroot/share/sdk/crosssdk/bin/../lib/gcc/arm/4.6.0/;c:/snowfishroot/share/sdk/crosssdk/bin/../lib/gcc/;c:/snowfishroot/share/sdk/crosssdk/bin/../lib/gcc/arm/4.6.0/../../../../arm/lib/
> COLLECT_GCC_OPTIONS='-c' '-O2' '-v'

I'm sorry. only failed on mingw32. arm-none-eabi- is OK


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

* [Bug rtl-optimization/47420] ICE: in calc_dfs_tree, at dominance.c:395 with c++ code
  2011-01-23 10:23 [Bug rtl-optimization/47420] New: ICE: in calc_dfs_tree, at dominance.c:395 with c++ code silver24k at gmail dot com
                   ` (2 preceding siblings ...)
  2011-01-24  2:12 ` silver24k at gmail dot com
@ 2011-01-24  2:42 ` silver24k at gmail dot com
  2011-01-24  4:24 ` silver24k at gmail dot com
                   ` (9 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: silver24k at gmail dot com @ 2011-01-24  2:42 UTC (permalink / raw)
  To: gcc-bugs

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

Yu Simin <silver24k at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |mingw32

--- Comment #4 from Yu Simin <silver24k at gmail dot com> 2011-01-24 01:07:01 UTC ---
I will rebuild a clean version to verify this these days.


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

* [Bug rtl-optimization/47420] ICE: in calc_dfs_tree, at dominance.c:395 with c++ code
  2011-01-23 10:23 [Bug rtl-optimization/47420] New: ICE: in calc_dfs_tree, at dominance.c:395 with c++ code silver24k at gmail dot com
                   ` (3 preceding siblings ...)
  2011-01-24  2:42 ` silver24k at gmail dot com
@ 2011-01-24  4:24 ` silver24k at gmail dot com
  2011-01-24  4:50 ` silver24k at gmail dot com
                   ` (8 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: silver24k at gmail dot com @ 2011-01-24  4:24 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Yu Simin <silver24k at gmail dot com> 2011-01-24 02:42:34 UTC ---
If I added the '-fno-exceptions' flag, the ICE disappearsed. My g++ is built
with SJLJ exception support. I think both Linux/x86 and arm-none-eabi are using
DW exception.


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

* [Bug rtl-optimization/47420] ICE: in calc_dfs_tree, at dominance.c:395 with c++ code
  2011-01-23 10:23 [Bug rtl-optimization/47420] New: ICE: in calc_dfs_tree, at dominance.c:395 with c++ code silver24k at gmail dot com
                   ` (4 preceding siblings ...)
  2011-01-24  4:24 ` silver24k at gmail dot com
@ 2011-01-24  4:50 ` silver24k at gmail dot com
  2011-02-06 18:44 ` [Bug rtl-optimization/47420] [4.6 regression] ICE: in calc_dfs_tree, at dominance.c:395 with c++ code for mingw silver24k at gmail dot com
                   ` (7 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: silver24k at gmail dot com @ 2011-01-24  4:50 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from Yu Simin <silver24k at gmail dot com> 2011-01-24 03:11:24 UTC ---
(In reply to comment #5)
> If I added the '-fno-exceptions' flag, the ICE disappearsed. My g++ is built
> with SJLJ exception support. I think both Linux/x86 and arm-none-eabi are using
> DW exception.

I rebuilt a version with '--disable-sjlj-exceptions --with-dwarf2', but the ICE
still exists. Maybe it's mingw32 only?


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

* [Bug rtl-optimization/47420] [4.6 regression] ICE: in calc_dfs_tree, at dominance.c:395 with c++ code for mingw
  2011-01-23 10:23 [Bug rtl-optimization/47420] New: ICE: in calc_dfs_tree, at dominance.c:395 with c++ code silver24k at gmail dot com
                   ` (5 preceding siblings ...)
  2011-01-24  4:50 ` silver24k at gmail dot com
@ 2011-02-06 18:44 ` silver24k at gmail dot com
  2011-02-06 20:49 ` silver24k at gmail dot com
                   ` (6 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: silver24k at gmail dot com @ 2011-02-06 18:44 UTC (permalink / raw)
  To: gcc-bugs

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

Yu Simin <silver24k at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|ICE: in calc_dfs_tree, at   |[4.6 regression] ICE: in
                   |dominance.c:395 with c++    |calc_dfs_tree, at
                   |code                        |dominance.c:395 with c++
                   |                            |code for mingw

--- Comment #7 from Yu Simin <silver24k at gmail dot com> 2011-02-06 18:38:29 UTC ---
Still fails with r169851. 
Both Linux/x86 and arm-none-eabi versions are OK. Seem it is mingw32 (maybe
also cygwin ?) only.

mingw32-gcc -c -O2 test.cpp                          --  ICE
mingw32-gcc -c -O2 -fno-exceptions test.cpp          --  OK
mingw32-gcc -c -O2 -fno-partial-inlining test.cpp    --  OK


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

* [Bug rtl-optimization/47420] [4.6 regression] ICE: in calc_dfs_tree, at dominance.c:395 with c++ code for mingw
  2011-01-23 10:23 [Bug rtl-optimization/47420] New: ICE: in calc_dfs_tree, at dominance.c:395 with c++ code silver24k at gmail dot com
                   ` (6 preceding siblings ...)
  2011-02-06 18:44 ` [Bug rtl-optimization/47420] [4.6 regression] ICE: in calc_dfs_tree, at dominance.c:395 with c++ code for mingw silver24k at gmail dot com
@ 2011-02-06 20:49 ` silver24k at gmail dot com
  2011-02-08 15:20 ` rguenth at gcc dot gnu.org
                   ` (5 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: silver24k at gmail dot com @ 2011-02-06 20:49 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #8 from Yu Simin <silver24k at gmail dot com> 2011-02-06 20:40:34 UTC ---
I used git-bisect and found it is caused by r166555.

Author: hubicka
Date: Wed Nov 10 20:23:09 2010
New Revision: 166555

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166555
Log:
    PR tree-optimize/46228
    * doc/invoke.texi (comdat-sharing-probability): Document.
    * ipa-inline.c (cgraph_estimate_growth): Handle COMDATs
    * params.def (PARAM_COMDAT_SHARING_PROBABILITY): New param.
    * g++.dg/tree-ssa/pr46228.C: New testcase.

Added:
    trunk/gcc/testsuite/g++.dg/tree-ssa/pr46228.C
Modified:
    trunk/gcc/doc/invoke.texi
    trunk/gcc/ipa-inline.c
    trunk/gcc/params.def
    trunk/gcc/testsuite/ChangeLog


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

* [Bug rtl-optimization/47420] [4.6 regression] ICE: in calc_dfs_tree, at dominance.c:395 with c++ code for mingw
  2011-01-23 10:23 [Bug rtl-optimization/47420] New: ICE: in calc_dfs_tree, at dominance.c:395 with c++ code silver24k at gmail dot com
                   ` (7 preceding siblings ...)
  2011-02-06 20:49 ` silver24k at gmail dot com
@ 2011-02-08 15:20 ` rguenth at gcc dot gnu.org
  2011-02-10 11:37 ` silver24k at gmail dot com
                   ` (4 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-02-08 15:20 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.6.0


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

* [Bug rtl-optimization/47420] [4.6 regression] ICE: in calc_dfs_tree, at dominance.c:395 with c++ code for mingw
  2011-01-23 10:23 [Bug rtl-optimization/47420] New: ICE: in calc_dfs_tree, at dominance.c:395 with c++ code silver24k at gmail dot com
                   ` (8 preceding siblings ...)
  2011-02-08 15:20 ` rguenth at gcc dot gnu.org
@ 2011-02-10 11:37 ` silver24k at gmail dot com
  2011-02-10 11:51 ` [Bug tree-optimization/47420] [4.6 regression] ICE in calc_dfs_tree during RESX lowering ebotcazou at gcc dot gnu.org
                   ` (3 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: silver24k at gmail dot com @ 2011-02-10 11:37 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #9 from Yu Simin <silver24k at gmail dot com> 2011-02-10 11:36:23 UTC ---
Created attachment 23292
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23292
dump files

Well, it not caused by r166555, just exposed by r166555. 
The first difference in the dump files between r166555 and the prev-versions is
that r166555 make sfTextCtrlBase::~sfTextCtrlBase() inline into
sfTextCtrl::sfTextCtrl(void*).  

This attachment is the dump files against trunk.  Hope it be useful.


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

* [Bug tree-optimization/47420] [4.6 regression] ICE in calc_dfs_tree during RESX lowering
  2011-01-23 10:23 [Bug rtl-optimization/47420] New: ICE: in calc_dfs_tree, at dominance.c:395 with c++ code silver24k at gmail dot com
                   ` (9 preceding siblings ...)
  2011-02-10 11:37 ` silver24k at gmail dot com
@ 2011-02-10 11:51 ` ebotcazou at gcc dot gnu.org
  2011-02-10 22:56 ` ebotcazou at gcc dot gnu.org
                   ` (2 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2011-02-10 11:51 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|mingw32                     |i686-pc-mingw32
             Status|WAITING                     |NEW
                 CC|                            |ebotcazou at gcc dot
                   |                            |gnu.org
          Component|rtl-optimization            |tree-optimization
            Summary|[4.6 regression] ICE: in    |[4.6 regression] ICE in
                   |calc_dfs_tree, at           |calc_dfs_tree during RESX
                   |dominance.c:395 with c++    |lowering
                   |code for mingw              |

--- Comment #10 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2011-02-10 11:51:10 UTC ---
Confirmed.


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

* [Bug tree-optimization/47420] [4.6 regression] ICE in calc_dfs_tree during RESX lowering
  2011-01-23 10:23 [Bug rtl-optimization/47420] New: ICE: in calc_dfs_tree, at dominance.c:395 with c++ code silver24k at gmail dot com
                   ` (10 preceding siblings ...)
  2011-02-10 11:51 ` [Bug tree-optimization/47420] [4.6 regression] ICE in calc_dfs_tree during RESX lowering ebotcazou at gcc dot gnu.org
@ 2011-02-10 22:56 ` ebotcazou at gcc dot gnu.org
  2011-02-11 21:21 ` ebotcazou at gcc dot gnu.org
  2011-02-11 21:37 ` ebotcazou at gcc dot gnu.org
  13 siblings, 0 replies; 15+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2011-02-10 22:56 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #11 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2011-02-10 22:51:11 UTC ---
Investigating.


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

* [Bug tree-optimization/47420] [4.6 regression] ICE in calc_dfs_tree during RESX lowering
  2011-01-23 10:23 [Bug rtl-optimization/47420] New: ICE: in calc_dfs_tree, at dominance.c:395 with c++ code silver24k at gmail dot com
                   ` (11 preceding siblings ...)
  2011-02-10 22:56 ` ebotcazou at gcc dot gnu.org
@ 2011-02-11 21:21 ` ebotcazou at gcc dot gnu.org
  2011-02-11 21:37 ` ebotcazou at gcc dot gnu.org
  13 siblings, 0 replies; 15+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2011-02-11 21:21 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #12 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2011-02-11 21:19:18 UTC ---
Author: ebotcazou
Date: Fri Feb 11 21:19:16 2011
New Revision: 170061

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170061
Log:
    PR tree-optimization/47420
    * ipa-split.c (visit_bb): Punt on any kind of GIMPLE_RESX.

Added:
    trunk/gcc/testsuite/g++.dg/opt/inline17.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/ipa-split.c
    trunk/gcc/testsuite/ChangeLog


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

* [Bug tree-optimization/47420] [4.6 regression] ICE in calc_dfs_tree during RESX lowering
  2011-01-23 10:23 [Bug rtl-optimization/47420] New: ICE: in calc_dfs_tree, at dominance.c:395 with c++ code silver24k at gmail dot com
                   ` (12 preceding siblings ...)
  2011-02-11 21:21 ` ebotcazou at gcc dot gnu.org
@ 2011-02-11 21:37 ` ebotcazou at gcc dot gnu.org
  13 siblings, 0 replies; 15+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2011-02-11 21:37 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
                URL|                            |http://gcc.gnu.org/ml/gcc-p
                   |                            |atches/2011-02/msg00729.htm
                   |                            |l
         Resolution|                            |FIXED

--- Comment #13 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2011-02-11 21:21:15 UTC ---
Thanks for the reduced testcase.


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

end of thread, other threads:[~2011-02-11 21:21 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-23 10:23 [Bug rtl-optimization/47420] New: ICE: in calc_dfs_tree, at dominance.c:395 with c++ code silver24k at gmail dot com
2011-01-23 15:59 ` [Bug rtl-optimization/47420] " hjl.tools at gmail dot com
2011-01-24  2:05 ` silver24k at gmail dot com
2011-01-24  2:12 ` silver24k at gmail dot com
2011-01-24  2:42 ` silver24k at gmail dot com
2011-01-24  4:24 ` silver24k at gmail dot com
2011-01-24  4:50 ` silver24k at gmail dot com
2011-02-06 18:44 ` [Bug rtl-optimization/47420] [4.6 regression] ICE: in calc_dfs_tree, at dominance.c:395 with c++ code for mingw silver24k at gmail dot com
2011-02-06 20:49 ` silver24k at gmail dot com
2011-02-08 15:20 ` rguenth at gcc dot gnu.org
2011-02-10 11:37 ` silver24k at gmail dot com
2011-02-10 11:51 ` [Bug tree-optimization/47420] [4.6 regression] ICE in calc_dfs_tree during RESX lowering ebotcazou at gcc dot gnu.org
2011-02-10 22:56 ` ebotcazou at gcc dot gnu.org
2011-02-11 21:21 ` ebotcazou at gcc dot gnu.org
2011-02-11 21:37 ` 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).