[Bug c/42506] New: remove useless '-fkeep-inline-functions' from gcc flags

2009-12-26 Thread slyfox at inbox dot ru
One of users managed to add '-fkeep-inline-functions' flag to his CFLAGS and managed to break build of our project. Simple example: /* a.c: */ extern int foo(void); static inline int unused_function(void) { return foo(); } int main(void){ return 42; } /* shell: */ $ /tmp:gcc a.c -o a # all ok $

[Bug middle-end/42290] strange 'warning: ISRA.2 may be used uninitialized in this function'

2009-12-26 Thread zsojka at seznam dot cz
--- Comment #4 from zsojka at seznam dot cz 2009-12-26 10:50 --- Created an attachment (id=19393) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19393action=view) even more reduced testcase I have a suspicion this warning is valid. There is an app that (sometimes) crashes when code

[Bug c/42506] remove useless '-fkeep-inline-functions' from gcc flags

2009-12-26 Thread jakub at gcc dot gnu dot org
--- Comment #1 from jakub at gcc dot gnu dot org 2009-12-26 10:55 --- It is not useless, the reason you in some cases want to keep out of line copies of inline functions is e.g. debugging, if there is no out of line copy of a function, you can't call it from within the debugger. --

[Bug c++/42317] [4.5 Regression] Issues with comdat virtual dtors

2009-12-26 Thread paolo dot carlini at oracle dot com
--- Comment #9 from paolo dot carlini at oracle dot com 2009-12-26 11:03 --- I understand can be closed as fixed now. -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug c++/42507] New: internal compiler error: verify_stmts failed

2009-12-26 Thread jarrod dot chesney at gmail dot com
I get an ICE when compiling this file using this command (file to be attached.) C:\g++ -c -Wreturn-type -fno-strict-aliasing -O2 -frtti -fexceptions -mthreads -o RenderMenuList.o RenderMenuList.ii rendering/RenderMenuList.cpp: In member function 'WebCore::RenderMenuList::contr olClipRect(int,

[Bug tree-optimization/42508] New: wrong code with -O1 -fipa-sra

2009-12-26 Thread zsojka at seznam dot cz
+++ This bug was initially created as a clone of Bug #42290 +++ Command line: g++ -O1 -fipa-sra testcase.cpp ./a.out (-Wall shows valid (but misleading?) warnings as described in bug 42290) Tested versions: r155434 - broken r154886 - broken r154830 - OK r153685 - OK Output: g++ -O1 -fipa-sra

[Bug tree-optimization/42508] wrong code with -O1 -fipa-sra

2009-12-26 Thread zsojka at seznam dot cz
--- Comment #1 from zsojka at seznam dot cz 2009-12-26 11:20 --- Created an attachment (id=19394) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19394action=view) testcase Command line: g++ -O1 -fipa-sra pr42508.cpp ./a.out -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42508

[Bug middle-end/42290] strange 'warning: ISRA.2 may be used uninitialized in this function'

2009-12-26 Thread zsojka at seznam dot cz
--- Comment #5 from zsojka at seznam dot cz 2009-12-26 11:23 --- I opened the wrong code bug as pr42508 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42290

[Bug target/42509] New: bootstrap failure in stage3 (integer overflow in preprocessor expression)

2009-12-26 Thread doko at ubuntu dot com
current trunk (including all changes from 20091223), native build configured with --with-arch=armv7-a --with-float=softfp --with-fpu=vfpv3-d16 --with-mode=thumb, fails in stage3 (--with-mode=thumb the option to trigger this): if [ x-fPIC != x ]; then \

[Bug c++/14870] Explicit template instantiation in wrong scope accepted

2009-12-26 Thread paolo dot carlini at oracle dot com
--- Comment #2 from paolo dot carlini at oracle dot com 2009-12-26 12:38 --- Has been fixed a lot of time ago. -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug c++/17359] Can't convert function pointer

2009-12-26 Thread paolo dot carlini at oracle dot com
--- Comment #5 from paolo dot carlini at oracle dot com 2009-12-26 12:43 --- Works in mainline, not a regression, closing. -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug c++/20041] request for member `operator delete' is ambiguous

2009-12-26 Thread paolo dot carlini at oracle dot com
--- Comment #2 from paolo dot carlini at oracle dot com 2009-12-26 12:47 --- Fixed a lot of time ago. -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug c++/33492] [4.3 regression] Broken diagnostic: 'must_not_throw_expr' not supported by dump_expr

2009-12-26 Thread paolo dot carlini at oracle dot com
--- Comment #8 from paolo dot carlini at oracle dot com 2009-12-26 13:52 --- Will not be fixed in 4_3-branch. -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug c++/40749] [4.3 Regression] g++ doesnt report missing return if return is of type const type

2009-12-26 Thread paolo dot carlini at oracle dot com
--- Comment #8 from paolo dot carlini at oracle dot com 2009-12-26 13:53 --- Will not be fixed in 4_3-branch. -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug c++/40434] [C++0x] g++ does not obey 8.3.5p5?!

2009-12-26 Thread paolo dot carlini at oracle dot com
--- Comment #4 from paolo dot carlini at oracle dot com 2009-12-26 13:57 --- Works fine in mainline indeed. -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug c++/42355] Segmentation fault

2009-12-26 Thread paolo dot carlini at oracle dot com
--- Comment #7 from paolo dot carlini at oracle dot com 2009-12-26 14:04 --- Please provide a self-contained .ii, see: http://gcc.gnu.org/bugs/#report -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42355

[Bug c++/42355] Segmentation fault

2009-12-26 Thread paolo dot carlini at oracle dot com
--- Comment #8 from paolo dot carlini at oracle dot com 2009-12-26 14:06 --- Also, please do your best to minimize it, see: http://gcc.gnu.org/wiki/A_guide_to_testcase_reduction -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42355

[Bug c++/33504] redundant temporary object is created

2009-12-26 Thread paolo dot carlini at oracle dot com
--- Comment #5 from paolo dot carlini at oracle dot com 2009-12-26 14:20 --- Feedback not forthcoming. -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug c++/32054] Storage classes on anonymous unions in classes

2009-12-26 Thread paolo dot carlini at oracle dot com
-- paolo dot carlini at oracle dot com changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |paolo dot carlini at oracle |dot org

[Bug c++/32053] Anonymous union members' names should be distinct within enclosing scope

2009-12-26 Thread paolo dot carlini at oracle dot com
--- Comment #2 from paolo dot carlini at oracle dot com 2009-12-26 14:32 --- Yes, fixed long time ago. -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug c++/31860] Spurious error on udecl to class 'n' with object 'n' in the current scope

2009-12-26 Thread paolo dot carlini at oracle dot com
--- Comment #2 from paolo dot carlini at oracle dot com 2009-12-26 14:38 --- Fixed a long time ago. -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug target/42503] gcc-4.4-20091215 broke libjava on ARM

2009-12-26 Thread mikpe at it dot uu dot se
--- Comment #1 from mikpe at it dot uu dot se 2009-12-26 14:59 --- Reverting r155171 allows gcc-4.4-20091215 to build a working libjava again. URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=155171 Log: 2009-12-11 Ramana Radhakrishnan ramana.radhakrish...@arm.com PR

[Bug c/42506] remove useless '-fkeep-inline-functions' from gcc flags

2009-12-26 Thread slyfox at inbox dot ru
--- Comment #2 from slyfox at inbox dot ru 2009-12-26 15:34 --- (In reply to comment #1) It is not useless, the reason you in some cases want to keep out of line copies of inline functions is e.g. debugging, if there is no out of line copy of a function, you can't call it from

[Bug middle-end/42510] New: Invalid memory access in graphite

2009-12-26 Thread hjl dot tools at gmail dot com
gcc.dg/graphite/block-4.c fails at random. On Linux/x86-64, valgrind reports: ==11194== Invalid read of size 8 ==11194==at 0xC714EE: lst_interchange_select_inner (graphite-interchange.c:708) ==11194==by 0xC72725: lst_interchange_select_outer (graphite-interchange.c:732) ==11194==by

[Bug middle-end/42510] [4.5 Regression] Invalid memory access in graphite

2009-12-26 Thread hjl dot tools at gmail dot com
--- Comment #1 from hjl dot tools at gmail dot com 2009-12-26 16:22 --- Gcc 4.4.2 runs cleanly under valgrind. -- hjl dot tools at gmail dot com changed: What|Removed |Added

[Bug c++/42331] [4.4/4.5 regression] ICE with invalid array initializer

2009-12-26 Thread jason at gcc dot gnu dot org
--- Comment #9 from jason at gcc dot gnu dot org 2009-12-26 16:25 --- Subject: Bug 42331 Author: jason Date: Sat Dec 26 16:24:53 2009 New Revision: 155474 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=155474 Log: PR c++/42331 * typeck.c (cp_build_modify_expr):

[Bug c++/42331] [4.4/4.5 regression] ICE with invalid array initializer

2009-12-26 Thread jason at gcc dot gnu dot org
--- Comment #10 from jason at gcc dot gnu dot org 2009-12-26 16:25 --- Fixed. -- jason at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug bootstrap/42511] New: boostrap error in stage3 on alpha-linux-gnu

2009-12-26 Thread debian-gcc at lists dot debian dot org
seen with trunk 20091226, lowering optimization to -O1 works around the problem. Matthias if [ x-fPIC != x ]; then \ /home/doko/gcc/gcc-4.5-4.5-20091226/build/./prev-gcc/xgcc -B/home/doko/gcc/gcc-4.5-4.5-20091226/build/./prev-gcc/ -B/usr/alpha-linux-gnu/bin/ -B/usr/alpha-linux-gnu

[Bug bootstrap/42511] boostrap error in stage3 on alpha-linux-gnu

2009-12-26 Thread debian-gcc at lists dot debian dot org
--- Comment #1 from debian-gcc at lists dot debian dot org 2009-12-26 18:01 --- Created an attachment (id=19395) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19395action=view) preprocessed source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42511

[Bug c++/36002] Error messages report wrong, invalid function type.

2009-12-26 Thread paolo dot carlini at oracle dot com
--- Comment #2 from paolo dot carlini at oracle dot com 2009-12-26 18:20 --- The error message is fine in the released 4.4.0, not a regression, closing. -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug c++/36086] Internal Compiler Error on AIX 5.3 compiling Boost 1.35.0

2009-12-26 Thread paolo dot carlini at oracle dot com
--- Comment #3 from paolo dot carlini at oracle dot com 2009-12-26 18:23 --- No feedback for 20 months, closing. CC-ing David in case he wants to add something... -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug c++/36625] bogus error on __attribute__((aligned(N))) in template code

2009-12-26 Thread paolo dot carlini at oracle dot com
--- Comment #5 from paolo dot carlini at oracle dot com 2009-12-26 18:31 --- Let's CC Jason about this (frankly, I have *always* used double parentheses, I thought that was the only legal syntax ;) -- paolo dot carlini at oracle dot com changed: What|Removed

[Bug c++/37260] [4.3 Regression] infinite loop in init

2009-12-26 Thread paolo dot carlini at oracle dot com
--- Comment #8 from paolo dot carlini at oracle dot com 2009-12-26 18:36 --- Will not be fixed in 4_3-branch. -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug c++/37656] template specialization of static member constants causes multiple definition error

2009-12-26 Thread paolo dot carlini at oracle dot com
--- Comment #2 from paolo dot carlini at oracle dot com 2009-12-26 18:43 --- This is definitely invalid. The linkage isn't weak, and you get exactly into the same problem of a plain: struct u { static int const v; }; int const u::v = 42; -- paolo dot carlini at oracle dot com

[Bug libstdc++/37557] mixing wide and plain streams causes stream-errors (g++ 4.1.0 also affected)

2009-12-26 Thread paolo dot carlini at oracle dot com
--- Comment #1 from paolo dot carlini at oracle dot com 2009-12-26 18:50 --- Yes, this is exactly what the Standard says, see 27.3/2, the behavior changed, we are more conforming lately. -- paolo dot carlini at oracle dot com changed: What|Removed

[Bug c++/38543] Cannot specialize variadic template function

2009-12-26 Thread paolo dot carlini at oracle dot com
-- paolo dot carlini at oracle dot com changed: What|Removed |Added Severity|major |normal http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38543

[Bug c++/39554] -Wdisallowed-function-list fails when #including algorithm

2009-12-26 Thread paolo dot carlini at oracle dot com
--- Comment #7 from paolo dot carlini at oracle dot com 2009-12-26 19:03 --- Jakub, I guess we can close this? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39554

[Bug c++/40750] Side-effect of member function call not produced in certain circumstances

2009-12-26 Thread paolo dot carlini at oracle dot com
--- Comment #2 from paolo dot carlini at oracle dot com 2009-12-26 19:10 --- I find this disturbing. Let's CC Jason... -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug c++/40821] C++ compiler accepts __attribute__ with missing parens

2009-12-26 Thread paolo dot carlini at oracle dot com
--- Comment #2 from paolo dot carlini at oracle dot com 2009-12-26 19:12 --- Maybe related to c++/36625 ? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40821

[Bug c++/36625] bogus error on __attribute__((aligned(N))) in template code

2009-12-26 Thread paolo dot carlini at oracle dot com
--- Comment #6 from paolo dot carlini at oracle dot com 2009-12-26 19:13 --- Maybe related to c++/40821 ? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36625

[Bug c++/39987] [4.3 Regression] Rejects default argument that is a template via access failure

2009-12-26 Thread paolo dot carlini at oracle dot com
--- Comment #10 from paolo dot carlini at oracle dot com 2009-12-26 19:16 --- Dodji, can we close this one at this point? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39987

[Bug c++/38242] Overeager ADL searches associated namespaces of base class's template arguments

2009-12-26 Thread paolo dot carlini at oracle dot com
--- Comment #2 from paolo dot carlini at oracle dot com 2009-12-26 19:19 --- Fix (by Jason, I think) in mainline, not a regression, closing. -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug middle-end/42510] [4.5 Regression] Invalid memory access in graphite

2009-12-26 Thread hjl dot tools at gmail dot com
--- Comment #2 from hjl dot tools at gmail dot com 2009-12-26 19:22 --- This is caused by revision 155418: http://gcc.gnu.org/ml/gcc-cvs/2009-12/msg00562.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42510

[Bug c++/39554] -Wdisallowed-function-list fails when #including algorithm

2009-12-26 Thread jakub at gcc dot gnu dot org
--- Comment #8 from jakub at gcc dot gnu dot org 2009-12-26 19:26 --- The feature has been removed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/42512] New: possible integer wrong code bug

2009-12-26 Thread regehr at cs dot utah dot edu
reg...@john-home:~$ current-gcc -v Using built-in specs. COLLECT_GCC=current-gcc COLLECT_LTO_WRAPPER=/home/regehr/z/tmp/gcc-r155465-install/libexec/gcc/i686-pc-linux-gnu/4.5.0/lto-wrapper Target: i686-pc-linux-gnu Configured with: ../configure --with-libelf=/usr/local --enable-lto

[Bug bootstrap/42068] [4.5 regression] ICE in function_and_variable_visibility breaks Tru64 UNIX Ada bootstrap

2009-12-26 Thread ebotcazou at gcc dot gnu dot org
--- Comment #5 from ebotcazou at gcc dot gnu dot org 2009-12-26 19:44 --- Jan, you're responsible for fixing things you broke. There is a reduced testcase and the ICE can be reproduced with a cross on x86_64-linux. -- ebotcazou at gcc dot gnu dot org changed: What

[Bug middle-end/42512] [4.5 Regression] integer wrong code bug with loop

2009-12-26 Thread jakub at gcc dot gnu dot org
--- Comment #1 from jakub at gcc dot gnu dot org 2009-12-26 20:00 --- This breaks during ivopts. -- jakub at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/42484] ICE with -fopenmp

2009-12-26 Thread janus at gcc dot gnu dot org
--- Comment #3 from janus at gcc dot gnu dot org 2009-12-26 20:11 --- There is a pass 'diagnose_omp_blocks', which generates the error message for the C code. Its execution function is 'diagnose_omp_structured_block_errors' in omp-low.x, which is correctly called also for Fortran code.

[Bug c++/39987] [4.3 Regression] Rejects default argument that is a template via access failure

2009-12-26 Thread dodji at gcc dot gnu dot org
--- Comment #11 from dodji at gcc dot gnu dot org 2009-12-26 20:31 --- Yes, I forgot to do it. Sorry about that. Setting the target milestone to 4.4 and closing. -- dodji at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/42508] wrong code with -O1 -fipa-sra

2009-12-26 Thread hjl dot tools at gmail dot com
--- Comment #2 from hjl dot tools at gmail dot com 2009-12-26 21:04 --- It is caused by revision 154880: http://gcc.gnu.org/ml/gcc-cvs/2009-12/msg00024.html -- hjl dot tools at gmail dot com changed: What|Removed |Added

[Bug bootstrap/42068] [4.5 regression] ICE in function_and_variable_visibility breaks Tru64 UNIX Ada bootstrap

2009-12-26 Thread rupp at gnat dot com
--- Comment #6 from rupp at gnat dot com 2009-12-26 21:18 --- ICE on alpha64-dec-openvms* with 20091224 sources. -- rupp at gnat dot com changed: What|Removed |Added

[Bug c/42513] New: -ftree-vectorize and zlib: firefox crashes with segmentation faults on start

2009-12-26 Thread mecareful at gmail dot com
When using all O3 flags without -ftree-vectorize, all work good. So, I think there is a trouble which can be determined by testing this option on sys-libs/zlib - package. -- Summary: -ftree-vectorize and zlib: firefox crashes with segmentation faults on start

[Bug c/42513] -ftree-vectorize and zlib: firefox crashes with segmentation faults on start

2009-12-26 Thread hjl dot tools at gmail dot com
--- Comment #1 from hjl dot tools at gmail dot com 2009-12-26 21:44 --- Try adding -mstackrealign. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42513

[Bug fortran/42477] Runtime segfault with -fopenmp -static

2009-12-26 Thread janus at gcc dot gnu dot org
--- Comment #4 from janus at gcc dot gnu dot org 2009-12-26 21:44 --- I'm curious why this problem only appears for Fortran code and not for C. If it is a 'glibc feature', then both should be equally affected, or am I mistaken? The following C program does not show the runtime segfault

[Bug c++/37260] [4.3 Regression] infinite loop in init

2009-12-26 Thread paolo dot carlini at oracle dot com
-- paolo dot carlini at oracle dot com changed: What|Removed |Added Target Milestone|--- |4.4.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37260

[Bug c++/33492] [4.3 regression] Broken diagnostic: 'must_not_throw_expr' not supported by dump_expr

2009-12-26 Thread paolo dot carlini at oracle dot com
-- paolo dot carlini at oracle dot com changed: What|Removed |Added Target Milestone|--- |4.4.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33492

[Bug c++/40749] [4.3 Regression] g++ doesnt report missing return if return is of type const type

2009-12-26 Thread paolo dot carlini at oracle dot com
-- paolo dot carlini at oracle dot com changed: What|Removed |Added Target Milestone|--- |4.4.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40749

[Bug c/42513] -ftree-vectorize and zlib: firefox crashes with segmentation faults on start

2009-12-26 Thread mecareful at gmail dot com
--- Comment #2 from mecareful at gmail dot com 2009-12-26 22:01 --- (In reply to comment #1) Try adding -mstackrealign. Now firefox works and does not segfaults on start and works later. (And thunderbird works now too) Thanks a lot! :-) --

[Bug fortran/42477] Runtime segfault with -fopenmp -static

2009-12-26 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2009-12-26 22:10 --- Still a glibc feature as using the shared glibc/pthreads works. Also does on darwin and other targets. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/42477] Runtime segfault with -fopenmp -static

2009-12-26 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2009-12-26 22:11 --- Oh and the most likely reason is that why Fortran fails and C works is because libgfortran weakly imports some pthread symbols which causes the pthread static library not to be fully included. --

[Bug middle-end/42512] [4.5 Regression] integer wrong code bug with loop

2009-12-26 Thread hjl dot tools at gmail dot com
--- Comment #2 from hjl dot tools at gmail dot com 2009-12-26 22:13 --- It may be caused by revision 147716: http://gcc.gnu.org/ml/gcc-cvs/2009-05/msg00693.html -- hjl dot tools at gmail dot com changed: What|Removed |Added

[Bug middle-end/42512] [4.5 Regression] integer wrong code bug with loop

2009-12-26 Thread hjl dot tools at gmail dot com
--- Comment #3 from hjl dot tools at gmail dot com 2009-12-26 22:16 --- It is related to PR 41497. -- hjl dot tools at gmail dot com changed: What|Removed |Added

[Bug target/42513] -ftree-vectorize and zlib: firefox crashes with segmentation faults on start

2009-12-26 Thread hjl dot tools at gmail dot com
--- Comment #3 from hjl dot tools at gmail dot com 2009-12-26 22:19 --- *** This bug has been marked as a duplicate of 40838 *** -- hjl dot tools at gmail dot com changed: What|Removed |Added

[Bug rtl-optimization/40838] gcc shouldn't assume that the stack is aligned

2009-12-26 Thread hjl dot tools at gmail dot com
--- Comment #66 from hjl dot tools at gmail dot com 2009-12-26 22:19 --- *** Bug 42513 has been marked as a duplicate of this bug. *** -- hjl dot tools at gmail dot com changed: What|Removed |Added

[Bug c++/35815] [C++0x] partial specialization of variadic templates with different order of parameter results in different semantics

2009-12-26 Thread paolo dot carlini at oracle dot com
--- Comment #2 from paolo dot carlini at oracle dot com 2009-12-26 22:27 --- Not a regression, works in current release branch and mainline. Closing. -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug fortran/42484] ICE with -fopenmp

2009-12-26 Thread janus at gcc dot gnu dot org
--- Comment #4 from janus at gcc dot gnu dot org 2009-12-26 22:31 --- Here are test cases in Fortran and C, which both use GOTOs. Again, the Fortran code ICEs, while the C code gives an error message: subroutine sub integer :: nRead !$omp critical if (nRead3) goto 100

[Bug c++/40966] [cxx0x-lambda] ICE

2009-12-26 Thread paolo dot carlini at oracle dot com
--- Comment #3 from paolo dot carlini at oracle dot com 2009-12-26 22:40 --- Feedback not forthcoming. -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug fortran/42484] ICE with -fopenmp

2009-12-26 Thread janus at gcc dot gnu dot org
--- Comment #5 from janus at gcc dot gnu dot org 2009-12-26 22:46 --- For the Fortran test case in comment #4, diagnose_sb_2 (omp-low.c) is called six times, with the following statements: * GIMPLE_BIND * GIMPLE_OMP_CRITICAL * GIMPLE_COND * GIMPLE_LABEL * GIMPLE_LABEL * GIMPLE_ASSIGN

[Bug target/42496] wrong if conversion optimization

2009-12-26 Thread steven at gcc dot gnu dot org
--- Comment #2 from steven at gcc dot gnu dot org 2009-12-27 00:45 --- *** This bug has been marked as a duplicate of 21803 *** -- steven at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/21803] [ia64] gcc produces really odd predicated code

2009-12-26 Thread steven at gcc dot gnu dot org
--- Comment #3 from steven at gcc dot gnu dot org 2009-12-27 00:45 --- *** Bug 42496 has been marked as a duplicate of this bug. *** -- steven at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/38837] Compatibilty with MPICH2

2009-12-26 Thread paolo dot carlini at oracle dot com
--- Comment #3 from paolo dot carlini at oracle dot com 2009-12-27 01:47 --- Feedback not forthcoming. -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug c++/41341] gcc fails to reject inclass partial specialization of inherited class template

2009-12-26 Thread paolo dot carlini at oracle dot com
--- Comment #2 from paolo dot carlini at oracle dot com 2009-12-27 01:54 --- Fixed for 4.5.0, not a regression, closing as fixed. -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug c++/42514] New: Invalid Destructor Name of A Template Class Is Accepted

2009-12-26 Thread shreks2099 at yahoo dot com
Obviously the following code of the definition of class destructor is wrong, but it passed g++ 4.4.2 in Fedora 12. However g++ 4.1.2 and g++ 3.4.6 in Fedora 12 reported the error. The testing code is list below: #include iostream template typename T class Base { public: Base();