[Bug c++/37143] New: ICE in gcc-4.4-20080815 snapshot
Do not see a place to attach the bug.i - email me perhaps. [EMAIL PROTECTED]:/opt/src/mkvtk-5.0.4/build$ /usr/local/gcc/bin/c++ -v -save-temps -o nada -Wno-deprecated -O3 -fPIC -c bug.i Using built-in specs. Target: x86_64-unknown-linux-gnu Configured with: ../gcc-4.4-20080815/configure --with-gmp=/usr/local/gmp --with-mpfr=/usr/local/mpfr --prefix=/usr/local/gcc-4.4-20080815 Thread model: posix gcc version 4.4.0 20080815 (experimental) (GCC) COLLECT_GCC_OPTIONS='-v' '-save-temps' '-o' 'nada' '-Wno-deprecated' '-O3' '-fPIC' '-c' '-shared-libgcc' '-mtune=generic' /usr/local/gcc-4.4-20080815/libexec/gcc/x86_64-unknown-linux-gnu/4.4.0/cc1plus -fpreprocessed bug.i -quiet -dumpbase bug.i -mtune=generic -auxbase-strip nada -O3 -Wno-deprecated -version -fPIC -o bug.s GNU C++ (GCC) version 4.4.0 20080815 (experimental) (x86_64-unknown-linux-gnu) compiled by GNU C version 4.4.0 20080815 (experimental), GMP version 4.2.3, MPFR version 2.3.1. GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 Compiler executable checksum: e4d46bb3061d41774b06ab83aa9f8ae2 /opt/src/mkvtk-5.0.4/VTK/Graphics/vtkModelMetadata.cxx: In member function void vtkModelMetadata::ExtractSidesFromSideSetData(vtkModelMetadataSTLCloak*, vtkModelMetadata*): /opt/src/mkvtk-5.0.4/VTK/Graphics/vtkModelMetadata.cxx:3481: internal compiler error: in compare_values_warnv, at tree-vrp.c:1031 -- Summary: ICE in gcc-4.4-20080815 snapshot Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jeffrey dot donner at gmail dot com GCC host triplet: x86_64-unknown-linux-gnu GCC target triplet: x86_64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37143
[Bug c++/37143] ICE in gcc-4.4-20080815 snapshot
--- Comment #1 from jeffrey dot donner at gmail dot com 2008-08-17 14:54 --- Created an attachment (id=16079) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16079&action=view) -E of vtk 5.0.4's Graphics/vtkModelMetadata.cxx -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37143
[Bug c++/43087] New: ICE
j...@shade:~/software/itk/InsightToolkit-3.16.0/Testing/Code/BasicFilters$ /usr/local/gcc-svn/bin/c++ -v -save-temps -ftemplate-depth-50 -Wall -Wextra -Wno-deprecated -msse2 -g -c itkBasicFiltersPrintTest.i Using built-in specs. COLLECT_GCC=/usr/local/gcc-svn/bin/c++ COLLECT_LTO_WRAPPER=/usr/local/gcc-svn/libexec/gcc/x86_64-unknown-linux-gnu/4.5.0/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: ../gcc/configure --prefix=/usr/local/gcc-svn --with-gmp=/usr/local/gmp --with-mpfr=/usr/local/mpfr --with-mpc=/usr/local/mpc --disable-multilib --enable-languages=c,c++ Thread model: posix gcc version 4.5.0 20100214 (experimental) (GCC) COLLECT_GCC_OPTIONS='-v' '-save-temps' '-ftemplate-depth-50' '-Wall' '-Wextra' '-Wno-deprecated' '-msse2' '-g' '-c' '-shared-libgcc' '-mtune=generic' /usr/local/gcc-svn/libexec/gcc/x86_64-unknown-linux-gnu/4.5.0/cc1plus -fpreprocessed itkBasicFiltersPrintTest.i -quiet -dumpbase itkBasicFiltersPrintTest.i -msse2 -mtune=generic -auxbase itkBasicFiltersPrintTest -g -Wall -Wextra -Wno-deprecated -version -ftemplate-depth-50 -o itkBasicFiltersPrintTest.s GNU C++ (GCC) version 4.5.0 20100214 (experimental) (x86_64-unknown-linux-gnu) compiled by GNU C version 4.5.0 20100214 (experimental), GMP version 4.3.2, MPFR version 2.4.2, MPC version 0.8.1 GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 GNU C++ (GCC) version 4.5.0 20100214 (experimental) (x86_64-unknown-linux-gnu) compiled by GNU C version 4.5.0 20100214 (experimental), GMP version 4.3.2, MPFR version 2.4.2, MPC version 0.8.1 GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 Compiler executable checksum: f29f0d47dc304f45577b6b757a338046 /home/jd/software/itk/InsightToolkit-3.16.0/Testing/Code/BasicFilters/itkBasicFiltersPrintTest.cxx: In function int itkBasicFiltersPrintTest(int, char**): /home/jd/software/itk/InsightToolkit-3.16.0/Testing/Code/BasicFilters/itkBasicFiltersPrintTest.cxx:375:54: internal compiler error: tree check: accessed elt 3 of tree_vec with 2 elts in tsubst, at cp/pt.c:9923 Please submit a full bug report, -- Summary: ICE Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jeffrey dot donner at gmail dot com GCC build triplet: x86_64-unknown-linux-gnu GCC host triplet: x86_64-unknown-linux-gnu GCC target triplet: x86_64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43087
[Bug c++/43087] ICE
--- Comment #1 from jeffrey dot donner at gmail dot com 2010-02-16 02:51 --- Created an attachment (id=19885) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19885&action=view) bz2 of pre-processed offending code -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43087
[Bug c++/44062] New: (void)var; doesn't prevent 'set but not used' warning
Doing (void)var; does not 'use' the var, eg: void f() { int i = 6; // or a fn call whose return value you don't care about (void)i; } j...@shade:~$ g++ -Wall -Wextra unused.cpp unused.cpp: In function void f(): unused.cpp:3:8: warning: variable i set but not used [-Wunused-but-set-variable] Doing this (void)var; trick is a long-standing way to quiet 'unused' warnings - eg in g++ 4.4.3 there is no warning. Version used: j...@shade:~$ g++ --version g++ (GCC) 4.6.0 20100508 (experimental) -- Summary: (void)var; doesn't prevent 'set but not used' warning Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: minor Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jeffrey dot donner at gmail dot com GCC build triplet: x86_64-unknown-linux-gnu GCC host triplet: x86_64-unknown-linux-gnu GCC target triplet: x86_64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44062
[Bug c++/44106] New: False warning: 'control reaches end of non-void function' when comparing to undefined var
int f(int i) { if (i == undefined_var) { return 1; } else { return 0; } } /usr/local/gcc-svn/bin/g++ -Wall -Wextra -c bad-return.cpp bad-return.cpp: In function int f(int): bad-return.cpp:3:13: error: undefined_var was not declared in this scope bad-return.cpp:9:1: warning: control reaches end of non-void function [-Wreturn-type] Happens as .c and gcc, and as .cpp with g++. The warning does not occur in 4.4.3. Untried with 4.5.x. -- Summary: False warning: 'control reaches end of non-void function' when comparing to undefined var Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jeffrey dot donner at gmail dot com GCC build triplet: x86_64-unknown-linux-gnu GCC host triplet: x86_64-unknown-linux-gnu GCC target triplet: x86_64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44106
[Bug c++/44106] False warning: 'control reaches end of non-void function' when comparing to undefined var
--- Comment #1 from jeffrey dot donner at gmail dot com 2010-05-14 02:23 --- Occurs in GCC 4.5.1 also. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44106