[Bug c/18624] GCC does not detect local variable set but never used

2009-11-25 Thread jakub at gcc dot gnu dot org
--- Comment #18 from jakub at gcc dot gnu dot org 2009-11-25 08:59 --- http://gcc.gnu.org/ml/gcc-patches/2009-11/msg01392.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18624

[Bug target/42172] New: inefficient bit fields assignments

2009-11-25 Thread carrot at google dot com
The attached test case contains several continuous bit fields assignment, compile it with options -mthumb -Os, gcc generates .fnstart .LFB1: ldrbr3, [r0] mov r2, #7 bic r3, r3, r2 strbr3, [r0] ldrbr3, [r0] mov r2, #56

[Bug target/42172] inefficient bit fields assignments

2009-11-25 Thread carrot at google dot com
--- Comment #1 from carrot at google dot com 2009-11-25 09:16 --- Created an attachment (id=19147) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19147action=view) test case -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42172

[Bug c++/42171] Link error building mozilla with 4.5

2009-11-25 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2009-11-25 09:24 --- This sounds like bug 41611. Is nsAccessibleWrap::ReturnString(nsAString_internal) an inline function (which causes that variable to be vague linkage)? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42171

[Bug target/42172] inefficient bit fields assignments

2009-11-25 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2009-11-25 09:40 --- *** This bug has been marked as a duplicate of 37135 *** -- jakub at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/37135] [4.3/4.4 Regression] code size increase for struct assignment

2009-11-25 Thread jakub at gcc dot gnu dot org
--- Comment #15 from jakub at gcc dot gnu dot org 2009-11-25 09:40 --- *** Bug 42172 has been marked as a duplicate of this bug. *** -- jakub at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/36513] -Wlogical-op warns about strchr

2009-11-25 Thread johan dot gill at gmail dot com
--- Comment #6 from johan dot gill at gmail dot com 2009-11-25 10:02 --- I get this error when building swfdec with gcc 4.4.2 on Fedora 12. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36513

[Bug target/36513] -Wlogical-op warns about strchr

2009-11-25 Thread johan dot gill at gmail dot com
--- Comment #7 from johan dot gill at gmail dot com 2009-11-25 10:06 --- Also tried the simple test case described in the bug description, although it needs to add #include string.h at the top. The warning is still there. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36513

[Bug middle-end/41611] [4.5 Regression] guard variable is emitted even when the guarded symbol isn't

2009-11-25 Thread hjl dot tools at gmail dot com
--- Comment #6 from hjl dot tools at gmail dot com 2009-11-25 10:10 --- Gcc 4.5 generates: --- .file pr41611.cc .weak _ZGVZN1A4InitEvE1i .section .bss._ZGVZN1A4InitEvE1i,awG,@nobits,_ZZN1A4InitEvE1i,comdat .align 8 .type

[Bug ada/42168] [4.4/4.5 Regression] GNAT bug box with invalid anonymous access declaration

2009-11-25 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.4.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42168

[Bug middle-end/42169] [4.4/4.5 Regression] gfortran.dg/pr41928.f90:47: internal compiler error: in store_can_be_removed_p, at ira-emit.c:371

2009-11-25 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added CC||vmakarov at gcc dot gnu dot |

[Bug middle-end/40281] [4.4 Regression] -fprefetch-loop-arrays: ICE: in initialize_matrix_A, at tree-data-ref.c:1887

2009-11-25 Thread rguenth at gcc dot gnu dot org
--- Comment #12 from rguenth at gcc dot gnu dot org 2009-11-25 10:19 --- testcase from comment #7 still fails on the 4.4 branch. 4.4.1 doesn't work. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/36513] -Wlogical-op warns about strchr

2009-11-25 Thread johan dot gill at gmail dot com
--- Comment #8 from johan dot gill at gmail dot com 2009-11-25 10:26 --- Created an attachment (id=19148) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19148action=view) Preprocessed source file Created a preprocessed source file producing the warning. --

[Bug rtl-optimization/41862] valgrind warns about using uninitialized variable with -fgcse-sm

2009-11-25 Thread zsojka at seznam dot cz
--- Comment #6 from zsojka at seznam dot cz 2009-11-25 10:45 --- Also it causes bootstrap comparison failures for me at x86_64-pc-linux-gnu, r154643 export CFLAGS=-O2 -fgcse-sm export CXXFLAGS=-O2 -fgcse-sm ../configure --enable-languages=c,c++

[Bug ada/42170] Ada testsuite regressions caused by revision 153918

2009-11-25 Thread ebotcazou at gcc dot gnu dot org
--- Comment #2 from ebotcazou at gcc dot gnu dot org 2009-11-25 11:01 --- Subject: Bug 42170 Author: ebotcazou Date: Wed Nov 25 11:01:26 2009 New Revision: 154646 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=154646 Log: PR ada/42170 * ada/acats/run_acats: Bump

[Bug ada/42170] Ada testsuite regressions caused by 8MB stack limit

2009-11-25 Thread ebotcazou at gcc dot gnu dot org
--- Comment #3 from ebotcazou at gcc dot gnu dot org 2009-11-25 11:03 --- Thanks for reporting this. -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/42130] [graphite-branch] dealII fails

2009-11-25 Thread amonakov at gcc dot gnu dot org
--- Comment #4 from amonakov at gcc dot gnu dot org 2009-11-25 11:48 --- Tobias, Please fix the testcase before committing to trunk, like this ('return 0' is needed to ensure the test does not fail when compiled correctly; 'noclone' to ensure that foo is not specialized for n=0): /*

[Bug c/42173] New: O3 option changes sprintf behavior

2009-11-25 Thread schoth at itp dot physik dot tu-berlin dot de
When using the -O3 optimizing option (-O2 and -O1 as well), a sprintf call, in which the target string and the source string are the same, will no longer show the same behavior. Not sure, whether this is actually a Bug. Here is an example: test.c: #include stdlib.h #include stdio.h char

[Bug c/42173] O3 option changes sprintf behavior

2009-11-25 Thread schwab at linux-m68k dot org
--- Comment #1 from schwab at linux-m68k dot org 2009-11-25 12:39 --- sprintf(mystring,%s world,mystring); Overlapping copies are undefined. -- schwab at linux-m68k dot org changed: What|Removed |Added

[Bug fortran/42008] Wrongly rejected derived types with default initializers in PURE procedures

2009-11-25 Thread burnus at gcc dot gnu dot org
--- Comment #12 from burnus at gcc dot gnu dot org 2009-11-25 13:21 --- (In reply to comment #11) I messed up the PR Number again. The commit for above was: http://gcc.gnu.org/viewcvs?view=revisionrevision=154529 2009-11-24 Jerry DeLisle jvdeli...@gcc.gnu.org PR

[Bug target/36513] -Wlogical-op warns about strchr

2009-11-25 Thread manu at gcc dot gnu dot org
--- Comment #9 from manu at gcc dot gnu dot org 2009-11-25 13:42 --- (In reply to comment #6) I get this error when building swfdec with gcc 4.4.2 on Fedora 12. It is a warning that you need to enable with -Wlogical-op explicitly. I cannot reproduce the preprocessed testcase with GCC

[Bug target/36513] -Wlogical-op warns about strchr

2009-11-25 Thread manu at gcc dot gnu dot org
--- Comment #10 from manu at gcc dot gnu dot org 2009-11-25 13:43 --- Now that we have a preprocessed testcase, I will try to reduce it and add it to the testsuite to avoid regressing here. -- manu at gcc dot gnu dot org changed: What|Removed

[Bug c++/42171] Link error building mozilla with 4.5

2009-11-25 Thread ehren dot m at gmail dot com
--- Comment #4 from ehren dot m at gmail dot com 2009-11-25 13:49 --- (In reply to comment #3) This sounds like bug 41611. Is nsAccessibleWrap::ReturnString(nsAString_internal) an inline function (which causes that variable to be vague linkage)? It is inline:

[Bug c++/42159] app compiled with 4.4.2 SIGABRTs after a trivial nested throw/stack unwinding

2009-11-25 Thread aufpasser at gmail dot com
--- Comment #4 from aufpasser at gmail dot com 2009-11-25 15:58 --- Same results here for fink gcc 4.4.2 (both 32 and 64 bit) and gcc 4.3.3 (only 64 bit) on Snow Leopard 10.6.2 MacBook Pro. -- aufpasser at gmail dot com changed: What|Removed

[Bug c/42174] New: Gcc and pointers to empty structures.

2009-11-25 Thread elmopl at gmail dot com
I think there is nothing to be said, just code: ---struct.c---: #include stdio.h struct empty {}; void compare( struct empty * e1, struct empty * e2 ) { if( e1 == e2 ) printf(function compare:\tsame\n); else printf(function compare:\tdifferent\n); } int main( int argc,

[Bug rtl-optimization/42175] New: Slow compile and much memory use at -O1

2009-11-25 Thread rguenth at gcc dot gnu dot org
-- Summary: Slow compile and much memory use at -O1 Product: gcc Version: 4.5.0 Status: UNCONFIRMED Keywords: memory-hog, compile-time-hog Severity: normal Priority: P3 Component: rtl-optimization

[Bug rtl-optimization/42175] Slow compile and much memory use at -O1

2009-11-25 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2009-11-25 16:29 --- Created an attachment (id=19149) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19149action=view) testcase Testcase from gmic. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42175

[Bug bootstrap/42176] New: bootstrap fails while building libstdc++-v3 on debian sarge (related to cstdio and similar to #30915)

2009-11-25 Thread kris dot thielemans at imperial dot ac dot uk
I'm trying to build gcc 4.4.2 on debian sarge (quite old by now). uname -a gives Linux ha-beo-1 2.6.20.14 #1 SMP Wed Jun 20 11:22:59 CEST 2007 x86_64 GNU/Linux I'm getting essentially the same errors as http://gcc.gnu.org/ml/gcc-bugs/2008-09/msg01183.html which was on gentoo, and which was

[Bug bootstrap/42176] bootstrap fails while building libstdc++-v3 on debian sarge (related to cstdio and similar to #30915)

2009-11-25 Thread kris dot thielemans at imperial dot ac dot uk
--- Comment #1 from kris dot thielemans at imperial dot ac dot uk 2009-11-25 16:39 --- Created an attachment (id=19150) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19150action=view) preprocessor output this is the output of a file that only contains #include string using the

[Bug rtl-optimization/42175] Slow compile and much memory use at -O1

2009-11-25 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2009-11-25 16:41 --- With the current 4.4 branch I see loop analysis : 116.95 (44%) usr 0.02 ( 0%) sys 117.11 (42%) wall 11269 kB ( 1%) ggc TOTAL : 266.16 8.09 277.29

[Bug c++/42159] app compiled with 4.4.2 SIGABRTs after a trivial nested throw/stack unwinding

2009-11-25 Thread vlad at demoninsight dot com
--- Comment #5 from vlad at demoninsight dot com 2009-11-25 17:16 --- Same results on a custom Sep 2009 build of gcc 4.5 on Snow Leopard (64 bit mode). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42159

[Bug c++/42159] app compiled with 4.4.2 SIGABRTs after a trivial nested throw/stack unwinding

2009-11-25 Thread howarth at nitro dot med dot uc dot edu
--- Comment #6 from howarth at nitro dot med dot uc dot edu 2009-11-25 17:27 --- (In reply to comment #3) (In reply to comment #1) This bug doesn't appear to be present in current gcc trunk on x86_64-apple-darwin10. Jack, how should I interpret your comment? That all is well

[Bug c++/42159] app compiled with 4.4.2 SIGABRTs after a trivial nested throw/stack unwinding

2009-11-25 Thread howarth at nitro dot med dot uc dot edu
--- Comment #7 from howarth at nitro dot med dot uc dot edu 2009-11-25 17:29 --- (In reply to comment #4) Same results here for fink gcc 4.4.2 (both 32 and 64 bit) and gcc 4.3.3 (only 64 bit) on Snow Leopard 10.6.2 MacBook Pro. I would avoid gcc 4.3.x on darwin10 as none of the

[Bug target/41473] [4.5 Regression] dsymutil Assertion failed ...

2009-11-25 Thread howarth at nitro dot med dot uc dot edu
--- Comment #84 from howarth at nitro dot med dot uc dot edu 2009-11-25 17:55 --- One other comment. The dsymutil maintainer pointed out that in those cases where zero AT_locations exist for the dwarf block forms, even if dsymutil doesn't assert, it will still hose the resulting debug

[Bug c/18624] GCC does not detect local variable set but never used

2009-11-25 Thread aldot at gcc dot gnu dot org
--- Comment #19 from aldot at gcc dot gnu dot org 2009-11-25 18:15 --- (In reply to comment #18) http://gcc.gnu.org/ml/gcc-patches/2009-11/msg01392.html Wunused-var-1.c has these two tests: void f1 (void) { int a;/* { dg-warning set but not used } */ int b; int c; c

[Bug c/18624] GCC does not detect local variable set but never used

2009-11-25 Thread jakub at gcc dot gnu dot org
--- Comment #20 from jakub at gcc dot gnu dot org 2009-11-25 18:28 --- That's on purpose. b is actually used by assignment to a in both cases, c is used in the first case by assignment to b. If the user decides to remove the a variable (resp. c in the second case) based on this

[Bug c++/42177] New: [C++0x] ICE in function_and_variable_visibility, at ipa.c:296

2009-11-25 Thread lloyd at randombit dot net
Attached code fails with: $ g++-4.5-20091112 -std=c++0x ipa.cpp -o ipa ipa.cpp:23:4: internal compiler error: in function_and_variable_visibility, at ipa.c:296 Please submit a full bug report, with preprocessed source if appropriate. See http://gcc.gnu.org/bugs.html for instructions. Version

[Bug c++/42177] [C++0x] ICE in function_and_variable_visibility, at ipa.c:296

2009-11-25 Thread lloyd at randombit dot net
--- Comment #1 from lloyd at randombit dot net 2009-11-25 18:49 --- Created an attachment (id=19151) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19151action=view) Testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42177

[Bug target/10127] -fstack-check let's program crash

2009-11-25 Thread ebotcazou at gcc dot gnu dot org
--- Comment #12 from ebotcazou at gcc dot gnu dot org 2009-11-25 19:55 --- Subject: Bug 10127 Author: ebotcazou Date: Wed Nov 25 19:55:11 2009 New Revision: 154650 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=154650 Log: PR target/10127 PR ada/20548 PR

[Bug middle-end/42004] [4.5 regression] Revision 154079 failed g++.dg/torture/stackalign/unwind-2.C

2009-11-25 Thread ebotcazou at gcc dot gnu dot org
--- Comment #2 from ebotcazou at gcc dot gnu dot org 2009-11-25 19:55 --- Subject: Bug 42004 Author: ebotcazou Date: Wed Nov 25 19:55:11 2009 New Revision: 154650 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=154650 Log: PR target/10127 PR ada/20548 PR

[Bug middle-end/20548] [4.3/4.4/4.5 regression] ACATS c52103x c52104x c52104y segfault

2009-11-25 Thread ebotcazou at gcc dot gnu dot org
--- Comment #46 from ebotcazou at gcc dot gnu dot org 2009-11-25 19:55 --- Subject: Bug 20548 Author: ebotcazou Date: Wed Nov 25 19:55:11 2009 New Revision: 154650 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=154650 Log: PR target/10127 PR ada/20548 PR

[Bug middle-end/42004] [4.5 regression] Revision 154079 failed g++.dg/torture/stackalign/unwind-2.C

2009-11-25 Thread ebotcazou at gcc dot gnu dot org
--- Comment #3 from ebotcazou at gcc dot gnu dot org 2009-11-25 19:58 --- At last. -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/42165] -masm=intel doesn't know how to print AVX instructions

2009-11-25 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2009-11-25 20:20 --- Subject: Bug 42165 Author: jakub Date: Wed Nov 25 20:20:40 2009 New Revision: 154652 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=154652 Log: PR target/42165 * config/i386/i386.c

[Bug fortran/42162] OpenMP: ICE: tree check in omp_add_variable, at gimplify.c:5282

2009-11-25 Thread jakub at gcc dot gnu dot org
--- Comment #5 from jakub at gcc dot gnu dot org 2009-11-25 20:29 --- Subject: Bug 42162 Author: jakub Date: Wed Nov 25 20:28:56 2009 New Revision: 154654 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=154654 Log: PR fortran/42162 * trans-openmp.c

[Bug target/42165] -masm=intel doesn't know how to print AVX instructions

2009-11-25 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2009-11-25 20:54 --- Subject: Bug 42165 Author: jakub Date: Wed Nov 25 20:54:12 2009 New Revision: 154655 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=154655 Log: PR target/42165 * config/i386/i386.c

[Bug c++/42171] Link error building mozilla with 4.5

2009-11-25 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2009-11-25 21:01 --- *** This bug has been marked as a duplicate of 41611 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/41611] [4.5 Regression] guard variable is emitted even when the guarded symbol isn't

2009-11-25 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2009-11-25 21:01 --- *** Bug 42171 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41611

[Bug fortran/42162] OpenMP: ICE: tree check in omp_add_variable, at gimplify.c:5282

2009-11-25 Thread jakub at gcc dot gnu dot org
--- Comment #6 from jakub at gcc dot gnu dot org 2009-11-25 21:02 --- Subject: Bug 42162 Author: jakub Date: Wed Nov 25 21:01:47 2009 New Revision: 154656 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=154656 Log: PR fortran/42162 * trans-openmp.c

[Bug c++/42152] ICEs in g++.dg/debug at -m32 on x86_64-apple-darwin10

2009-11-25 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2009-11-25 21:11 --- *** This bug has been marked as a duplicate of 41988 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug debug/41988] [4.5 Regression] FAIL: g++.dg/debug/*.C -gdwarf-2 -g1 (internal compiler error)

2009-11-25 Thread pinskia at gcc dot gnu dot org
--- Comment #17 from pinskia at gcc dot gnu dot org 2009-11-25 21:11 --- *** Bug 42152 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/42137] [4.5 Regression] error: expected constructor, destructor, or type conversion before �{� token

2009-11-25 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Summary|error: expected constructor,|[4.5 Regression] error: |destructor, or type

[Bug c/42098] gcc does not honor alignment specification for qualified typedefs

2009-11-25 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2009-11-25 21:23 --- Confirmed, it is a problem with qualifiers. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/42178] New: gcc.dg/graphite/interchange-8.c causes ICE

2009-11-25 Thread howarth at nitro dot med dot uc dot edu
At r154653, the gcc.dg/graphite/interchange-8.c test case results in a compiler ICE on x86_64-apple-darwin10. The error shows up as... Executing on host: /sw/src/fink.build/gcc45-4.4.999-20091125/darwin_objdir/gcc/xgcc -B/sw/src/fink.build/gcc45-4.4.999-20091125/darwin_objdir/gcc/ /sw/src

[Bug c++/10541] [DR 354] Is NULL a valid pointer-type template argument?

2009-11-25 Thread jason at gcc dot gnu dot org
-- jason at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |jason at gcc dot gnu dot org |dot org

[Bug target/42165] -masm=intel doesn't know how to print AVX instructions

2009-11-25 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2009-11-25 22:54 --- Fixed for 4.4/4.5. -- jakub at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/42162] OpenMP: ICE: tree check in omp_add_variable, at gimplify.c:5282

2009-11-25 Thread jakub at gcc dot gnu dot org
--- Comment #7 from jakub at gcc dot gnu dot org 2009-11-25 22:55 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|NEW

[Bug c++/10690] [DR 115] Even when used within typeid(), a template-id generating an overload set with only one function should silently decay to a pointer to function

2009-11-25 Thread jason at gcc dot gnu dot org
-- jason at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |jason at gcc dot gnu dot org |dot org

[Bug fortran/41807] [4.5/4.4 Regression] data statement with nested type constructors

2009-11-25 Thread jvdelisle at gcc dot gnu dot org
--- Comment #25 from jvdelisle at gcc dot gnu dot org 2009-11-26 01:08 --- Since we are dealing with invalid fortran code, we can use gfc_fatal_error and avoid the downstream errors and trying to translate bogus code. This is the cheap way out of it. -- jvdelisle at gcc dot gnu

[Bug fortran/41807] [4.5/4.4 Regression] data statement with nested type constructors

2009-11-25 Thread jvdelisle at gcc dot gnu dot org
--- Comment #26 from jvdelisle at gcc dot gnu dot org 2009-11-26 02:12 --- This is better, set the expr to a valid constant 0 before converting to a tree. Index: trans-const.c === --- trans-const.c (revision 154660)

[Bug c/42179] New: Incorrect optimization (-O2) yields wrong code (regression)

2009-11-25 Thread vincent at vinc17 dot org
With gcc-snapshot (Debian 20091118-1) 4.5.0 20091119 (experimental) [trunk revision 154312] on an x86_64 GNU/Linux machine and the following code (partly based on GMP): #include stdio.h union ieee_double_extract { struct { unsigned int manl:32; unsigned int manh:20; unsigned int

[Bug middle-end/42180] New: compiling induct.f90 with -ffast-math -O2 -fgraphite-identity ICEs gfortran

2009-11-25 Thread howarth at nitro dot med dot uc dot edu
-identity -fintrinsic-modules-path /sw/lib/gcc4.5/lib/gcc/x86_64-apple-darwin10.2.0/4.5.0/finclude -o /var/folders/1C/1CdoNxmNFHyOIjNBLNuJhTM/-Tmp-//cczMDWLV.s Reading symbols for shared libraries .. done GNU Fortran (GCC) version 4.5.0 20091125 (experimental) (x86_64-apple

[Bug middle-end/42181] New: -fgraphite-identity miscompiles or ICEs on air.f90

2009-11-25 Thread howarth at nitro dot med dot uc dot edu
-darwin10.2.0/4.5.0/lto-wrapper Target: x86_64-apple-darwin10.2.0 Configured with: ../gcc-4.5-20091125/configure --prefix=/sw --prefix=/sw/lib/gcc4.5 --mandir=/sw/share/man --infodir=/sw/share/info --enable-languages=c,c++,fortran,objc,obj-c++,java --with-gmp=/sw --with-libiconv-prefix=/sw --with-ppl=/sw

[Bug fortran/42008] Wrongly rejected derived types with default initializers in PURE procedures

2009-11-25 Thread jvdelisle at gcc dot gnu dot org
--- Comment #13 from jvdelisle at gcc dot gnu dot org 2009-11-26 03:26 --- Fixed on mainline. -- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/14769] [DR 426] Block extern incorrectly resolved to file-scope internal linkage object

2009-11-25 Thread pi3orama at gmail dot com
--- Comment #5 from pi3orama at gmail dot com 2009-11-26 03:31 --- How about the below C++ program? According to recent draft, the func() in //2: is clearly internal linkage, but g++ resolve it as external linkage. static void func() { } int main() { extern void func();