[Bug middle-end/36990] ICE when gcc (4.4.0-20080731) uses -fipa-cp with -O
--- Comment #1 from tsarkov at cs dot man dot ac dot uk 2008-08-06 13:49 --- I saw the same problem in C++ with a simple program #include void f ( std::ostream& o ) { o << std::endl; } This happens both on i686-pc-linux-gnu and i386-apple-darwin9.4.0. -- tsarkov at cs dot man dot ac dot uk changed: What|Removed |Added CC| |tsarkov at cs dot man dot ac | |dot uk http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36990
[Bug c++/13717] duplicated parameter name not caught ?
--- Comment #8 from tsarkov at cs dot man dot ac dot uk 2008-01-16 17:39 --- This is fixed in current mainline GCC (as per http://gcc.gnu.org/gcc-4.3/porting_to.html). -- tsarkov at cs dot man dot ac dot uk changed: What|Removed |Added CC||tsarkov at cs dot man dot ac ||dot uk http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13717
[Bug other/2678] gcc/g++ should stick compilation options into the .o file
--- Comment #21 from tsarkov at cs dot man dot ac dot uk 2008-01-16 17:19 --- (In reply to comment #20) > Changing to NEW based on > http://gcc.gnu.org/ml/gcc-patches/2005-11/msg00858.html > Shouldn't the PR be closed now, after committing the patch from http://gcc.gnu.org/ml/gcc-patches/2006-12/msg00211.html ? -- tsarkov at cs dot man dot ac dot uk changed: What|Removed |Added CC| |tsarkov at cs dot man dot ac | |dot uk http://gcc.gnu.org/bugzilla/show_bug.cgi?id=2678
[Bug rtl-optimization/34408] Invalid RTL sharing with -fsee and inline functions
--- Comment #1 from tsarkov at cs dot man dot ac dot uk 2007-12-09 16:01 --- Created an attachment (id=14713) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14713&action=view) Preprocessed sources -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34408
[Bug c++/34408] New: Invalid RTL sharing with -fsee and inline functions
>g++-4.3 -v Using built-in specs. Target: i686-pc-linux-gnu Configured with: ../gcc/configure --enable-checking --prefix=/opt/gcc --enable-shared --enable-threads --program-suffix=-4.3 --enable-__cxa_atexit --disable-nls --enable-languages=c,c++,objc,obj-c++,fortran,java Thread model: posix gcc version 4.3.0 20071209 (experimental) [trunk revision 130723] (GCC) > /opt/gcc/bin/g++-4.3 -O2 -fsee -c scanner.cpp scanner.cpp: In member function 'void TsScanner::FillBuffer()': scanner.cpp:29: error: invalid rtl sharing found in the insn (insn 39 38 36 4 scanner.cpp:17 (set (reg/v:QI 58 [ c ]) (subreg:QI (reg:SI 62 [ c ]) 0)) -1 (nil)) scanner.cpp:29: error: shared rtx (subreg:QI (reg:SI 62 [ c ]) 0) scanner.cpp:29: internal compiler error: internal consistency failure Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. -- Summary: Invalid RTL sharing with -fsee and inline functions Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tsarkov at cs dot man dot ac dot uk http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34408
[Bug middle-end/32321] ICE in df_refs_verify
--- Comment #1 from tsarkov at cs dot man dot ac dot uk 2007-06-13 15:42 --- Created an attachment (id=13697) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13697&action=view) Preprocessed sources Code that triggers ICE -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32321
[Bug middle-end/32321] New: ICE in df_refs_verify
>gcc-4.3 -v Using built-in specs. Target: i686-pc-linux-gnu Configured with: ../gcc/configure --enable-checking --prefix=/opt/gcc --enable-shared --enable-threads --program-suffix=-4.3 --enable-__cxa_atexit --disable-nls --with-mpfr=/usr/local --enable-languages=c,c++,objc,obj-c++,treelang,fortran Thread model: posix gcc version 4.3.0 20070612 (experimental) >gcc-4.3 -c -O2 -fgcse-sm bdd_kernel.c bdd_kernel.c: In function 'bdd_noderesize': bdd_kernel.c:27: internal compiler error: in df_refs_verify, at df-scan.c:4092 Please submit a full bug report, with preprocessed source if appropriate. See http://gcc.gnu.org/bugs.html> for instructions. -- Summary: ICE in df_refs_verify Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tsarkov at cs dot man dot ac dot uk GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32321
[Bug c++/26281] verify_cgraph_node failed
--- Comment #1 from tsarkov at cs dot man dot ac dot uk 2006-02-14 12:46 --- Created an attachment (id=10848) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10848&action=view) Preprocessed sources -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26281
[Bug c++/26281] New: verify_cgraph_node failed
On GCC 4.2.0 20060213 I've got the following: >/opt/gcc/bin/g++-4.2 -c -v -O3 -finline-limit=1200 LeveLogger.cpp -save-temps Using built-in specs. Target: i686-pc-linux-gnu Configured with: ../gcc/configure --enable-checking --prefix=/opt/gcc --enable-shared --enable-threads --program-suffix=-4.2 --enable-__cxa_atexit --disable-nls --enable-languages=c,c++,objc,obj-c++,treelang,java Thread model: posix gcc version 4.2.0 20060213 (experimental) /opt/gcc/libexec/gcc/i686-pc-linux-gnu/4.2.0/cc1plus -E -quiet -v -D_GNU_SOURCE LeveLogger.cpp -mtune=generic -finline-limit=1200 -O3 -fpch-preprocess -o LeveLogger.ii ignoring nonexistent directory "/opt/gcc/lib/gcc/i686-pc-linux-gnu/4.2.0/../../../../i686-pc-linux-gnu/include" #include "..." search starts here: #include <...> search starts here: /opt/gcc/lib/gcc/i686-pc-linux-gnu/4.2.0/../../../../include/c++/4.2.0 /opt/gcc/lib/gcc/i686-pc-linux-gnu/4.2.0/../../../../include/c++/4.2.0/i686-pc-linux-gnu /opt/gcc/lib/gcc/i686-pc-linux-gnu/4.2.0/../../../../include/c++/4.2.0/backward /usr/local/include /opt/gcc/include /opt/gcc/lib/gcc/i686-pc-linux-gnu/4.2.0/include /usr/include End of search list. /opt/gcc/libexec/gcc/i686-pc-linux-gnu/4.2.0/cc1plus -fpreprocessed LeveLogger.ii -quiet -dumpbase LeveLogger.cpp -mtune=generic -auxbase LeveLogger -O3 -version -finline-limit=1200 -o LeveLogger.s GNU C++ version 4.2.0 20060213 (experimental) (i686-pc-linux-gnu) compiled by GNU C version 4.2.0 20060213 (experimental). GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 Compiler executable checksum: ff32d9231b0fc0ef61c3a4bf775e73bf LeveLogger.cpp: In function 'LeveLogger& operator<<(LeveLogger&, char)': LeveLogger.cpp:16: error: 'bool LeveLogger::isWritable() const' is protected LeveLogger.cpp:36: error: within this context LeveLogger.cpp: At global scope: LeveLogger.cpp:51: error: inlined_to pointer is set but no predecesors found virtual LeveLogger::~LeveLogger()/576: (inline copy in void __tcf_0(void*)/520) availability:available(368) 99 insns (512 after inlining) tree externally_visible finalized inlinable called by: calls: std::basic_ofstream<_CharT, _Traits>::~basic_ofstream() [with _CharT = char, _Traits = std::char_traits]/387 (inlined) std::basic_ios<_CharT, _Traits>::~basic_ios() [with _CharT = char, _Traits = std::char_traits]/603 (inlined) void std::terminate()/524 std::basic_ios<_CharT, _Traits>::~basic_ios() [with _CharT = char, _Traits = std::char_traits]/602 (inlined) void operator delete(void*)/531 LeveLogger.cpp:51: internal compiler error: verify_cgraph_node failed Please submit a full bug report, with preprocessed source if appropriate. See http://gcc.gnu.org/bugs.html> for instructions. Note that, as I can see, bug appears only on a wrong code (non-friend function tries to access protected method). -- Summary: verify_cgraph_node failed Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tsarkov at cs dot man dot ac dot uk GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26281
[Bug bootstrap/22457] Bootstrap failure: ICE, tree check for ceil_div_expr failed
--- Additional Comments From tsarkov at cs dot man dot ac dot uk 2005-07-14 10:11 --- (In reply to comment #9) > Can you try this after: > 2005-07-13 David Edelsohn <[EMAIL PROTECTED]> > > * tree-ssa-dom.c (lookup_avail_expr): Do not pass member in freed > structure as argument. > This fixes the bug. Thanks! -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22457
[Bug bootstrap/22457] Bootstrap failure: ICE, tree check for ceil_div_expr failed
--- Additional Comments From tsarkov at cs dot man dot ac dot uk 2005-07-13 15:46 --- The same happens if I try to bootstrap fresh gcc HEAD with gcc 4.0.1 build without athlon switches: > gcc -v Using built-in specs. Target: i686-pc-linux-gnu Configured with: ../gcc/configure --enable-shared --enable-threads --enable-__cxa_atexit --disable-nls --enable-languages=c,c++,java Thread model: posix gcc version 4.0.1 -- What|Removed |Added Version|4.0.1 |4.1.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22457
[Bug bootstrap/22457] Bootstrap failure: ICE, tree check for ceil_div_expr failed
--- Additional Comments From tsarkov at cs dot man dot ac dot uk 2005-07-13 12:57 --- (In reply to comment #4) > How are you building invoking make? > I cannot reproduce this on i686-pc-linux-gnu either. make bootstrap on clean system fails at the same place. This probably starts when I switched to gcc 4.0.1 as a main compiler. Its specs are: > gcc -v Using built-in specs. Target: i686-pc-linux-gnu Configured with: ../gcc/configure --enable-shared --enable-threads --with-cpu=athlon --with-tune=athlon --enable-__cxa_atexit --disable-nls --enable-languages=c,c++,java Thread model: posix gcc version 4.0.1 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22457
[Bug bootstrap/22457] Bootstrap failure: ICE, tree check for ceil_div_expr failed
--- Additional Comments From tsarkov at cs dot man dot ac dot uk 2005-07-13 12:44 --- (In reply to comment #4) > How are you building invoking make? > I cannot reproduce this on i686-pc-linux-gnu either. By doing make bubblestrap. I'll try to make bootstrap on clean system. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22457
[Bug bootstrap/22457] Bootstrap failure: ICE, tree check for ceil_div_expr failed
--- Additional Comments From tsarkov at cs dot man dot ac dot uk 2005-07-13 12:19 --- Created an attachment (id=9258) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9258&action=view) reduced testcase Here is reduced testcase extracted from genmodes. Note that it gives different ICE place (but with the same reason) > stage1/xgcc -Bstage1/ -B/mnt/d/gcc/i686-pc-linux-gnu/bin/ -c -O2 -o build/genmodes.o ./genmodes_reduced.i ./genmodes_reduced.i: In function 'main': ./genmodes_reduced.i:27: internal compiler error: tree check: expected class 'type', have 'binary' (ceil_div_expr) in fold_convert, at fold-const.c:1923 Please submit a full bug report, with preprocessed source if appropriate. See http://gcc.gnu.org/bugs.html> for instructions. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22457
[Bug bootstrap/22457] Bootstrap failure: ICE, tree check for ceil_div_expr failed
--- Additional Comments From tsarkov at cs dot man dot ac dot uk 2005-07-13 12:16 --- Created an attachment (id=9257) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9257&action=view) Preprocessed sources -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22457
[Bug bootstrap/22457] New: Bootstrap failure: ICE, tree check for ceil_div_expr failed
bootstrap fails on the following stage: stage1/xgcc -Bstage1/ -B/mnt/d/gcc/i686-pc-linux-gnu/bin/ -c -O2 -g -fomit-frame-pointer -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Werror -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE-I. -Ibuild -I../../gcc/gcc -I../../gcc/gcc/build -I../../gcc/gcc/../include -I../../gcc/gcc/../libcpp/include \ -o build/genmodes.o ../../gcc/gcc/genmodes.c ../../gcc/gcc/genmodes.c: In function 'main': ../../gcc/gcc/genmodes.c:1219: internal compiler error: tree check: expected class 'type', have 'binary' (ceil_div_expr) in tree_ssa_useless_type_conversion_1, at tree-ssa.c:884 Please submit a full bug report, with preprocessed source if appropriate. See http://gcc.gnu.org/bugs.html> for instructions. > stage1/xgcc -v Using built-in specs. Target: i686-pc-linux-gnu Configured with: ../gcc/configure --enable-checking --prefix=/mnt/d/gcc --enable-shared --enable-threads --program-suffix=-4.1 --enable-__cxa_atexit --disable-nls --enable-languages=c,c++,objc,obj-c++,java,f95,treelang Thread model: posix gcc version 4.1.0 20050713 (experimental) -- Summary: Bootstrap failure: ICE, tree check for ceil_div_expr failed Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: bootstrap AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tsarkov at cs dot man dot ac dot uk CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22457
[Bug tree-optimization/19768] [4.0 Regression] ICE: SSA_NAME_OCCURS_IN_ABNORMAL_PHI should be set
--- Additional Comments From tsarkov at cs dot man dot ac dot uk 2005-02-02 19:29 --- Created an attachment (id=8128) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8128&action=view) Proprocessed source file -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19768
[Bug c++/19768] New: ICE: SSA_NAME_OCCURS_IN_ABNORMAL_PHI should be set
The attached code is compilable with gcc 3.4.3 and one week old 4.0. But today's 4.0 gives an ICE: > g++-4.0 -v -save-temps -O3 -c test.cpp -o test.o Using built-in specs. Configured with: ../gcc/configure --enable-checking --prefix=/mnt/d/gcc --enable-shared --enable-threads --program-suffix=-4.0 --enable-__cxa_atexit --disable-nls --enable-languages=c,c++ Thread model: posix gcc version 4.0.0 20050202 (experimental) /mnt/d/gcc/libexec/gcc/i686-pc-linux-gnu/4.0.0/cc1plus -E -quiet -v -D_GNU_SOURCE test.cpp -mtune=pentiumpro -O3 -fpch-preprocess -o test.ii ignoring nonexistent directory "/mnt/d/gcc/lib/gcc/i686-pc-linux-gnu/4.0.0/../../../../i686-pc-linux-gnu/include" #include "..." search starts here: #include <...> search starts here: /mnt/d/gcc/lib/gcc/i686-pc-linux-gnu/4.0.0/../../../../include/c++/4.0.0 /mnt/d/gcc/lib/gcc/i686-pc-linux-gnu/4.0.0/../../../../include/c++/4.0.0/i686-pc-linux-gnu /mnt/d/gcc/lib/gcc/i686-pc-linux-gnu/4.0.0/../../../../include/c++/4.0.0/backward /usr/local/include /mnt/d/gcc/include /mnt/d/gcc/lib/gcc/i686-pc-linux-gnu/4.0.0/include /usr/include End of search list. /mnt/d/gcc/libexec/gcc/i686-pc-linux-gnu/4.0.0/cc1plus -fpreprocessed test.ii -quiet -dumpbase test.cpp -mtune=pentiumpro -auxbase-strip test.o -O3 -version -o test.s GNU C++ version 4.0.0 20050202 (experimental) (i686-pc-linux-gnu) compiled by GNU C version 4.0.0 20050202 (experimental). GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 test.cpp: In member function 'int DlSatTester::testMergedTrees()': test.cpp:51: error: SSA_NAME_OCCURS_IN_ABNORMAL_PHI should be set for SSA_NAME: LL_25in statement: LL_39 = PHI ; PHI argument LL_25 for PHI node LL_39 = PHI ; test.cpp:51: internal compiler error: verify_ssa failed. Please submit a full bug report, with preprocessed source if appropriate. See http://gcc.gnu.org/bugs.html> for instructions. -- Summary: ICE: SSA_NAME_OCCURS_IN_ABNORMAL_PHI should be set Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tsarkov at cs dot man dot ac dot uk CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19768
[Bug c++/18790] ICE in make_decl_rtl
--- Additional Comments From tsarkov at cs dot man dot ac dot uk 2004-12-02 17:59 --- Created an attachment (id=7662) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7662&action=view) Preprocessed sources -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18790
[Bug c++/18790] New: ICE in make_decl_rtl
I discovered a bug on new mainline tree. Use option -O3 to see the bug > cat a.cpp #include struct a { int f ( const std::string& Id ) const; int f ( void ) const { return f ( "default" ); } }; int a :: f ( const std::string& id ) const { if ( id == "" ) return f (); return 0; } > /mnt/d/gcc/bin/g++-4.0 -v -save-temps -O3 -c a.cpp Reading specs from /mnt/d/gcc/lib/gcc/i686-pc-linux-gnu/4.0.0/specs Configured with: ../gcc/configure --prefix=/mnt/d/gcc --enable-shared --enable-threads --program-suffix=-4.0 --enable-__cxa_at xit --disable-nls --enable-languages=c,c++,java : (reconfigured) ../gcc/configure --prefix=/mnt/d/gcc --enable-shared --enable threads --program-suffix=-4.0 --enable-__cxa_atexit --disable-nls --with-gcc-version-trigger=/mnt/d/.src/gcc-cvs/gcc/gcc/versi n.c --enable-languages=c,c++,java --no-create --no-recursion Thread model: posix gcc version 4.0.0 20041202 (experimental) /mnt/d/gcc/libexec/gcc/i686-pc-linux-gnu/4.0.0/cc1plus -E -quiet -v -D_GNU_SOURCE a.cpp -mtune=pentiumpro -O3 -fpch-preproces -o a.ii ignoring nonexistent directory "/mnt/d/gcc/lib/gcc/i686-pc-linux-gnu/4.0.0/../../../../i686-pc-linux-gnu/include" #include "..." search starts here: #include <...> search starts here: /mnt/d/gcc/lib/gcc/i686-pc-linux-gnu/4.0.0/../../../../include/c++/4.0.0 /mnt/d/gcc/lib/gcc/i686-pc-linux-gnu/4.0.0/../../../../include/c++/4.0.0/i686-pc-linux-gnu /mnt/d/gcc/lib/gcc/i686-pc-linux-gnu/4.0.0/../../../../include/c++/4.0.0/backward /usr/local/include /mnt/d/gcc/include /mnt/d/gcc/lib/gcc/i686-pc-linux-gnu/4.0.0/include /usr/include End of search list. /mnt/d/gcc/libexec/gcc/i686-pc-linux-gnu/4.0.0/cc1plus -fpreprocessed a.ii -quiet -dumpbase a.cpp -mtune=pentiumpro -auxbase -O3 -version -o a.s GNU C++ version 4.0.0 20041202 (experimental) (i686-pc-linux-gnu) compiled by GNU C version 4.0.0 20041202 (experimental). GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 /mnt/d/gcc/lib/gcc/i686-pc-linux-gnu/4.0.0/../../../../include/c++/4.0.0/bits/basic_string.h: In member function 'int a::f(con t std::string&) const': /mnt/d/gcc/lib/gcc/i686-pc-linux-gnu/4.0.0/../../../../include/c++/4.0.0/bits/basic_string.h:2140: internal compiler error: in make_decl_rtl, at varasm.c:867 Please submit a full bug report, with preprocessed source if appropriate. See http://gcc.gnu.org/bugs.html> for instructions. -- Summary: ICE in make_decl_rtl Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tsarkov at cs dot man dot ac dot uk CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18790