[Bug c++/58868] New: ICE: in count_type_elements, at expr.c:5495 with -std=gnu++0x
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58868 Bug ID: 58868 Summary: ICE: in count_type_elements, at expr.c:5495 with -std=gnu++0x Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ferdinandw+gcc at gmail dot com /opt/gcc-trunk/libexec/gcc/x86_64-redhat-linux/4.9.0/cc1plus -quiet -v TelemetryVFS.ii -O0 -g0 -std=gnu++0x -version -o TelemetryVFS.s GNU C++ (GCC) version 4.9.0 20131025 (experimental) (x86_64-redhat-linux) compiled by GNU C version 4.9.0 20131025 (experimental), GMP version 5.1.1, MPFR version 3.1.1, MPC version 1.0.1 GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 Compiler executable checksum: e6bf66d0889337cd67d51ee6eb43d8c3 TelemetryVFS.ii:12:1: internal compiler error: in count_type_elements, at expr.c:5495 }; ^ ../gcc/configure --prefix=/opt/gcc-trunk --enable-shared --enable-languages=c,c++ --enable-threads=posix --enable-checking --enable-__cxa_atexit --enable-clocale=gnu --enable-initfini-array --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --disable-nls --disable-multilib --with-system-zlib --build=x86_64-redhat-linux enum ID { PLACES }; struct Histograms { const ID foo; }; Histograms gHistograms[] = { { PLACES } }; Fairly recent, comes from building firefox aurora with gcc trunk
[Bug rtl-optimization/24257] New: ICE: in extract_insn, at recog.c:2084 with -O -fgcse -fgcse-sm
/tmp/gcc41/libexec/gcc/i686-pc-linux-gnu/4.1.0/cc1 -quiet -v icefoo.c -dumpbase icefoo.c -auxbase icefoo -O -version -fgcse -fgcse-sm -o icefoo.s GNU C version 4.1.0 20051007 (experimental) (i686-pc-linux-gnu) compiled by GNU C version 4.1.0 20051007 (experimental). GGC heuristics: --param ggc-min-expand=99 --param ggc-min-heapsize=129306 Compiler executable checksum: a278381769db4d67bad1ec630ceb45dd icefoo.c: In function 'oof': icefoo.c:23: error: unrecognizable insn: (insn 47 15 19 0 (set (reg:SI 61) (ashift:SI (mem/s/j:SI (reg/v/f:SI 59 [ s ]) [0 .buf+0 S4 A32]) (subreg:QI (reg/v:SI 60 [ n ]) 0))) -1 (nil) (expr_list:REG_DEAD (reg/v:SI 60 [ n ]) (nil))) icefoo.c:23: internal compiler error: in extract_insn, at recog.c:2084 Configured with: ../gcc/configure --prefix=/tmp/gcc41 --enable-languages=c --disable-nls --enable-checking=assert,rtlflag,misc typedef struct A { int buf, left; } A; static void flush(A *s, int n) { s->buf <<= n; while (s->left < 32) { s->buf <<= 8; s->left += 8; } s->buf=0; } void oof(A *s, int n) { s->buf = n; s->left = n; flush(s, n); } -- Summary: ICE: in extract_insn, at recog.c:2084 with -O -fgcse - fgcse-sm Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: rtl-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: ferdinandw+gcc at gmail dot com 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=24257
[Bug tree-optimization/24262] New: ICE: verify_ssa failed with -O -msse2 -ftree-vectorize
/tmp/gcc41/libexec/gcc/i686-pc-linux-gnu/4.1.0/cc1 -quiet -v test.c -dumpbase test.c -msse2 -auxbase-strip test.o -O -version -ftree-vectorize -o test.o GNU C version 4.1.0 20051007 (experimental) (i686-pc-linux-gnu) compiled by GNU C version 4.1.0 20051007 (experimental). GGC heuristics: --param ggc-min-expand=99 --param ggc-min-heapsize=129306 Compiler executable checksum: a278381769db4d67bad1ec630ceb45dd test.c: In function 'test': test.c:4: error: definition in block 1 does not dominate use in block 0 for SSA_NAME: D.1603_5 in statement: base_off.27_12 = D.1603_5 * 16; test.c:4: internal compiler error: verify_ssa failed Configured with: ../gcc/configure --prefix=/tmp/gcc41 --enable-languages=c --disable-nls --enable-checking=assert,rtlflag,misc void dSetZero (double *a); void test() { double A[12]; int i; dSetZero (A); for (i=0; i<6; i++) A[i+2*(i/2)] = 4; dSetZero (A); } -- Summary: ICE: verify_ssa failed with -O -msse2 -ftree-vectorize Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: ferdinandw+gcc at gmail dot com 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=24262
[Bug rtl-optimization/24265] New: ICE: in extract_insn, at recog.c:2084 with -O -fgcse -fmove-loop-invariants -mtune=pentiumpro
/tmp/gcc41/libexec/gcc/i686-pc-linux-gnu/4.1.0/cc1 -quiet -v test.c -dumpbase test.c -mtune=pentiumpro -auxbase-strip test.o -O -version -fmove-loop-invariants -fgcse -o test.o GNU C version 4.1.0 20051007 (experimental) (i686-pc-linux-gnu) compiled by GNU C version 4.1.0 20051007 (experimental). GGC heuristics: --param ggc-min-expand=99 --param ggc-min-heapsize=129306 Compiler executable checksum: a278381769db4d67bad1ec630ceb45dd test.c: In function 'foo': test.c:14: error: unrecognizable insn: (insn 21 16 39 0 (set (reg:DF 64) (const_double:DF -858993460 [0x] 2.00011102230246251565404236316680908e-1 [0x0.dp-2])) -1 (nil) (nil)) test.c:14: internal compiler error: in extract_insn, at recog.c:2084 Configured with: ../gcc/configure --prefix=/tmp/gcc41 --enable-languages=c --disable-nls --enable-checking=assert,rtlflag,misc void dset (double d1, double d2); void foo () { int i; double m, d = 0.2; dset (m,d); for (i=1; i<=3; i++) { dset (m,d); } } d needs to have the same value in both calls to dset for this ICE to occur. -- Summary: ICE: in extract_insn, at recog.c:2084 with -O -fgcse - fmove-loop-invariants -mtune=pentiumpro Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: rtl-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: ferdinandw+gcc at gmail dot com 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=24265
[Bug debug/65549] [4.9/5/6 Regression] crash in htab_hash_string with -flto -g
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65549 Ferdinand changed: What|Removed |Added CC||ferdinandw+gcc at gmail dot com --- Comment #21 from Ferdinand --- I'm running into this when building firefox beta tree with lto. The release tree is working alright, but on beta it crashes with this bug's stacktrace. Is it only with -g? I'm using -g0 for the most part.
[Bug debug/65549] [4.9/5/6 Regression] crash in htab_hash_string with -flto -g
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65549 --- Comment #22 from Ferdinand --- Now that I understand the bug, of course I notice (too late) that my way of setting -g0 wasn't taking effect in the beta tree, the way it was before. So that explains that, but still this crash is happening with just -flto=4 (and default -flto-partition=balanced) for me. That means, at the moment, it's not latent for building firefox.
[Bug tree-optimization/26757] [4.1 regression] ICE (Segmentation fault) building 3ddesktop source
--- Comment #5 from ferdinandw+gcc at gmail dot com 2006-03-26 02:19 --- Here's a reduced version that gives me an ICE on FC5's gcc 4.1.0 with: g++ -O -c 3ddeskd.cpp = class Config { public: int texture_size; int bg_size; int autoacquire; }; class Face { public: void load_texture_data (int texture_size) { extern Config *cfg; cfg->bg_size++; } }; class FaceSet { private: Face faces; public: void load_texture_data (int size) { faces.load_texture_data(size); }; }; Config *cfg; FaceSet *face_set; void load_background_image(void) { cfg->bg_size++; extern Config *cfg; cfg->autoacquire++; } void humbug () { if (cfg->autoacquire) face_set->load_texture_data(cfg->texture_size); } ============= -- ferdinandw+gcc at gmail dot com changed: What|Removed |Added CC| |ferdinandw+gcc at gmail dot | |com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26757
[Bug tree-optimization/26757] [4.1 regression] ICE (Segmentation fault) building 3ddesktop source
--- Comment #6 from ferdinandw+gcc at gmail dot com 2006-03-26 02:35 --- Sorry for the bugspam, but I noticed it could be reduced a bit more. = struct Config { int bg_size; int autoacquire; }; Config *cfg; void load_background_image(void) { cfg->bg_size++; extern Config *cfg; cfg->autoacquire++; } void humbug () { if (cfg->autoacquire) cfg->bg_size++; } = -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26757