[Bug fortran/41586] Allocatable _scalars_ are never auto-deallocated

2009-10-16 Thread janus at gcc dot gnu dot org
--- Comment #3 from janus at gcc dot gnu dot org 2009-10-16 21:04 --- AND ALSO FOR: type t0 end type t0 type(t0), allocatable :: m(:) allocate(t0 :: m(3)) end No, this one actually works (since 'm' is not a scalar): if (m.data != 0B) { __builtin_free ((void *)

[Bug fortran/41719] [OOP] invalid: Intrinsic assignment involving polymorphic variables

2009-10-16 Thread janus at gcc dot gnu dot org
--- Comment #7 from janus at gcc dot gnu dot org 2009-10-16 21:10 --- Subject: Bug 41719 Author: janus Date: Fri Oct 16 21:10:43 2009 New Revision: 152919 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=152919 Log: 2009-10-16 Janus Weil ja...@gcc.gnu.org PR

[Bug fortran/41719] [OOP] invalid: Intrinsic assignment involving polymorphic variables

2009-10-16 Thread janus at gcc dot gnu dot org
-- janus at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |janus at gcc dot gnu dot org |dot org

[Bug fortran/41719] [OOP] invalid: Intrinsic assignment involving polymorphic variables

2009-10-16 Thread janus at gcc dot gnu dot org
--- Comment #8 from janus at gcc dot gnu dot org 2009-10-16 21:12 --- Fixed with r152919. Closing. -- janus at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/41714] [OOP] ALLOCATE SOURCE= does not properly copy the value from SOURCE

2009-10-16 Thread janus at gcc dot gnu dot org
--- Comment #4 from janus at gcc dot gnu dot org 2009-10-16 21:25 --- (In reply to comment #3) In addition to this there are two more test cases failing: Sorry, these were fake (my local source tree was messed up). The only real failure is class_allocate_1.f03, from which one can

[Bug c/40033] [4.5 regression] ICE with invalid statement expression

2009-10-16 Thread d dot g dot gorbachev at gmail dot com
--- Comment #1 from d dot g dot gorbachev at gmail dot com 2009-10-16 21:57 --- Created an attachment (id=18814) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18814action=view) testcase A similar problem: bug.cc: In function 'void f()': bug.cc:5:20: error: '__cxa_begin_catch'

[Bug middle-end/41734] New: ICE in cgraph_mark_functions_to_output, at cgraphunit.c:1137 with -fwhopr

2009-10-16 Thread rguenth at gcc dot gnu dot org
This is number #1 ICE when building SPEC with -fwhopr. I'll attach a sample testcase once I reduced it. -- Summary: ICE in cgraph_mark_functions_to_output, at cgraphunit.c:1137 with -fwhopr Product: gcc Version: 4.5.0 Status:

[Bug middle-end/41734] ICE in cgraph_mark_functions_to_output, at cgraphunit.c:1137 with -fwhopr

2009-10-16 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2009-10-16 22:04 --- I'm reducing it from 164.gzip with -O3 -ffast-math -fwhopr -fwhole-program. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/41734] ICE in cgraph_mark_functions_to_output, at cgraphunit.c:1137 with -fwhopr

2009-10-16 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2009-10-16 23:02 --- util.3.i typedef unsigned int size_t; extern struct _IO_FILE *stderr; typedef unsigned char uch; extern uch inbuf[]; unsigned insize; char *progname; extern void read_error (void); int fill_inbuf(int

[Bug tree-optimization/41735] New: [4.5 Regression] inlined comdat function sometimes is emitted

2009-10-16 Thread pinskia at gcc dot gnu dot org
Take: struct g { inline g(void); int t; }; inline g::g(void) { t = 0; } int h(void) { g a; return a.t; } --- CUT --- g::g() is being emitted even at -O2 -fno-early-inlining even though it has been inlined. Note we either update the cgraph after early inlining or it updates it correctly.

[Bug tree-optimization/41735] [4.5 Regression] inlined comdat function sometimes is emitted

2009-10-16 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Known to fail||4.5.0 Known to work||4.4.1

[Bug tree-optimization/41735] [4.5 Regression] inlined comdat function sometimes is emitted

2009-10-16 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-10-17 00:21 --- Oh if I did not have t = 0; there, the function would have been eliminated too as const/pure is able to figure out that function is constant and able to remove it and something comes along and updates the cgraph.

[Bug testsuite/41700] g++.dg/debug/dwarf2/icf.C

2009-10-16 Thread ccoutant at gcc dot gnu dot org
--- Comment #3 from ccoutant at gcc dot gnu dot org 2009-10-17 00:30 --- The insn UID is changed when the call_insn is split, so the vtable slot index can't be found when it's time to build the vcall table. -- ccoutant at gcc dot gnu dot org changed: What|Removed

[Bug fortran/41656] [OOP] Unresolved GENERIC

2009-10-16 Thread pault at gcc dot gnu dot org
--- Comment #6 from pault at gcc dot gnu dot org 2009-10-16 06:07 --- Subject: Bug 41656 Author: pault Date: Fri Oct 16 06:07:09 2009 New Revision: 152890 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=152890 Log: 2009-10-16 Paul Thomas pa...@gcc.gnu.org PR

[Bug fortran/41648] [OOP] Type-bound procedures refused

2009-10-16 Thread pault at gcc dot gnu dot org
--- Comment #3 from pault at gcc dot gnu dot org 2009-10-16 06:07 --- Subject: Bug 41648 Author: pault Date: Fri Oct 16 06:07:09 2009 New Revision: 152890 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=152890 Log: 2009-10-16 Paul Thomas pa...@gcc.gnu.org PR

[Bug fortran/41648] [OOP] Type-bound procedures refused

2009-10-16 Thread pault at gcc dot gnu dot org
--- Comment #4 from pault at gcc dot gnu dot org 2009-10-16 06:09 --- Fixed on trunk. Thanks for the patch. Paul -- pault at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/41656] [OOP] Unresolved GENERIC

2009-10-16 Thread pault at gcc dot gnu dot org
--- Comment #7 from pault at gcc dot gnu dot org 2009-10-16 06:09 --- Fixed on trunk. Thanks for the patch. Paul -- pault at gcc dot gnu dot org changed: What|Removed |Added

[Bug libstdc++/40826] [C++0x] atomic_flag_{test_and_set,clear}_explicit() are apparently broken

2009-10-16 Thread bkoz at gcc dot gnu dot org
--- Comment #2 from bkoz at gcc dot gnu dot org 2009-10-16 07:47 --- Subject: Bug 40826 Author: bkoz Date: Fri Oct 16 07:47:33 2009 New Revision: 152895 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=152895 Log: 2009-10-15 Benjamin Kosnik b...@redhat.com PR

[Bug libstdc++/40654] [C++0x] atomic.cc: 'd' is used uninitialized warning

2009-10-16 Thread bkoz at gcc dot gnu dot org
--- Comment #4 from bkoz at gcc dot gnu dot org 2009-10-16 07:47 --- Subject: Bug 40654 Author: bkoz Date: Fri Oct 16 07:47:33 2009 New Revision: 152895 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=152895 Log: 2009-10-15 Benjamin Kosnik b...@redhat.com PR

[Bug libfortran/41711] Z format does not support writing KIND=10 reals

2009-10-16 Thread dominiq at lps dot ens dot fr
--- Comment #9 from dominiq at lps dot ens dot fr 2009-10-16 08:13 --- (In reply to comment #8) This seems to work. (Although I thought I saw once for the z4 value.) With the following changes program z implicit none integer,parameter :: k8 = selected_real_kind (precision

[Bug fortran/41724] New: PUREness/ELEMENTAL check missing for ACTUAL/DUMMY conformance

2009-10-16 Thread burnus at gcc dot gnu dot org
One again a bug report based on the famous compiler stress tests of James Van Buskirk http://groups.google.com/group/comp.lang.fortran/browse_thread/thread/da1feef5e8c9ed9a Pre-remark: After writing this PR, I realized the following parenthesis: with a dummy procedure (which is prohibited

[Bug c++/41725] New: g++ accepts compounded unnamed type in template (violates 14.3.1-2)

2009-10-16 Thread td-gnubugs at th-dorner dot de
g++ accepts a type as a template argument, that is defined inside of an unnamed type. In the attached example t_inner is defined in an unnamed structure. That would make t_inner a type compounded from an unnamed type as I read section 14.3.1-2 of the ISO/IEC 14882/1998 standard (p. 241). So this

[Bug tree-optimization/41718] internal compiler error: in add_stack_var_conflict, at cfgexpand.c:359

2009-10-16 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2009-10-16 08:53 --- I suggest to change size_t to HOST_WIDEST_INT. But I guess on a 32bit host you don't have any luck compiling this big testcase anyway... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41718

[Bug lto/41669] Infinite recursion trying to build gcc

2009-10-16 Thread rguenth at gcc dot gnu dot org
--- Comment #8 from rguenth at gcc dot gnu dot org 2009-10-16 08:54 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug lto/41726] New: Recursion prevention in gimple_get_alias_set should be revisited

2009-10-16 Thread rguenth at gcc dot gnu dot org
$summary Mine. Probably not for 4.5 though. -- Summary: Recursion prevention in gimple_get_alias_set should be revisited Product: gcc Version: 4.5.0 Status: UNCONFIRMED Keywords: FIXME Severity: normal

[Bug lto/41668] ICE in get_alias_set, at alias.c:698

2009-10-16 Thread rguenth at gcc dot gnu dot org
--- Comment #10 from rguenth at gcc dot gnu dot org 2009-10-16 08:55 --- Fixed again. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/41725] g++ accepts compounded unnamed type in template (violates 14.3.1-2)

2009-10-16 Thread td-gnubugs at th-dorner dot de
--- Comment #1 from td-gnubugs at th-dorner dot de 2009-10-16 08:59 --- Created an attachment (id=18806) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18806action=view) (almost) minimal example A g++ -pedantic -ansi -Wall -Wextra -o ArrayWithInnerStructure3

[Bug middle-end/41713] -O -flto -g: ICE in lto_output_tree_ref, at lto-streamer-out.c:732

2009-10-16 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2009-10-16 09:04 --- Confirmed. Alex didn't update LTO with the introduction of DEBUG_EXPR_DECLs. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/41727] New: inner template specialization on non-type arg template causes ICE

2009-10-16 Thread cppljevans at suddenlink dot net
when: template class Tag struct outer { template typename Arg0 , typename Arg1 struct inner ; }; is specialized on Tag and Arg1 where Arg1 is value_wrapArg1Int, ICE is generated at cp/pt.c:9668 from recent (yesterday?) svn update. --

[Bug c++/41727] inner template specialization on non-type arg template causes ICE

2009-10-16 Thread cppljevans at suddenlink dot net
--- Comment #1 from cppljevans at suddenlink dot net 2009-10-16 10:01 --- Created an attachment (id=18807) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18807action=view) testcase with compiler output shown in comments Compiler output showing ICE is shown in comments after:

[Bug c++/41728] New: error: SSA name in freelist but still referenced

2009-10-16 Thread dcb314 at hotmail dot com
I just tried to compile some C++ code with the gcc 4.5 mainline snapshot 20091015 and the compiler said In function 'int s244(defs*)': cq.cc:562:1: error: SSA name in freelist but still referenced D.9231_46 cc1plus: note: in statement lrc_55 = D.9231_46 != D.8194_53; cq.cc:562:1: internal

[Bug c++/41728] error: SSA name in freelist but still referenced

2009-10-16 Thread dcb314 at hotmail dot com
--- Comment #1 from dcb314 at hotmail dot com 2009-10-16 10:08 --- Created an attachment (id=18808) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18808action=view) C++ source code -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41728

[Bug debug/41717] [4.5 Regression] internal compiler error: in expand_debug_expr

2009-10-16 Thread jakub at gcc dot gnu dot org
--- Comment #10 from jakub at gcc dot gnu dot org 2009-10-16 10:43 --- Subject: Bug 41717 Author: jakub Date: Fri Oct 16 10:43:18 2009 New Revision: 152897 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=152897 Log: PR debug/41717 * cfgexpand.c (expand_debug_expr):

[Bug tree-optimization/38816] graphite undocumented

2009-10-16 Thread rob1weld at aol dot com
--- Comment #2 from rob1weld at aol dot com 2009-10-16 10:46 --- Thanks, Rob -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38816

[Bug debug/41717] [4.5 Regression] internal compiler error: in expand_debug_expr

2009-10-16 Thread jakub at gcc dot gnu dot org
--- Comment #11 from jakub at gcc dot gnu dot org 2009-10-16 10:51 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug c++/40146] Unexplained 'anonymous' is used uninitialized in this function warning

2009-10-16 Thread gcc at abeckmann dot de
--- Comment #9 from gcc at abeckmann dot de 2009-10-16 11:05 --- Created an attachment (id=18809) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18809action=view) different test case I've seen this spurious warning, too, and could reduce it to a different, much smaller test case.

[Bug c++/41728] error: SSA name in freelist but still referenced

2009-10-16 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2009-10-16 11:32 --- Confirmed. Reducing. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/41728] [4.5 Regression] error: SSA name in freelist but still referenced

2009-10-16 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2009-10-16 11:39 --- int a[8]; int s244(void) { int lrc, j; lrc = 0; for (j=0; j7; j++) if(a[j] != a[j+1]) lrc = 1; if (lrc != 0) return 0; return 1; } -O3 required. After 126t.cddce2. -- rguenth at gcc dot

[Bug middle-end/41713] -O -flto -g: ICE in lto_output_tree_ref, at lto-streamer-out.c:732

2009-10-16 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2009-10-16 11:41 --- I'll fix it anyway. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/41723] Error when using a qualified name to declare a nested template instantiation as a friend of the containing template

2009-10-16 Thread redi at gcc dot gnu dot org
--- Comment #2 from redi at gcc dot gnu dot org 2009-10-16 11:42 --- This looks very similar to bug 41038, but still fails with 4.4.2 N.B. you don't need the friend declaration at all, nested types can access all members of their enclosing class (this was changed by DR45) --

[Bug target/41722] internal compiler error / unable to generate reloads

2009-10-16 Thread mikpe at it dot uu dot se
--- Comment #3 from mikpe at it dot uu dot se 2009-10-16 11:48 --- I can reproduce this ICE with gcc 4.3.4, 4.4.2, and 4.5-20091008 when compiling for armv7-a and hardfloat and FPA. Dropping the -march=armv7-a or switching to softfloat masks the ICE. --

[Bug tree-optimization/41728] [4.5 Regression] error: SSA name in freelist but still referenced

2009-10-16 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2009-10-16 12:09 --- After DOM2 we have bb 2: D.2725_21 = a[0]; D.2706_26 = D.2725_21; D.2708_28 = a[1]; a_I_lsm0.4_29 = D.2708_28; lrc_30 = D.2725_21 != D.2708_28; ... but D.2725_21 : -- single use. D.2706_26 = D.2725_21;

[Bug tree-optimization/41728] [4.5 Regression] error: SSA name in freelist but still referenced

2009-10-16 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2009-10-16 12:18 --- I have a patch. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/41729] New: Undefined reference with -fPIC -fwhole-program -flto

2009-10-16 Thread rguenth at gcc dot gnu dot org
extern C { extern int printf (__const char *__restrict __format, ...); } class cException { }; class TCmdenvApp { public: virtual int run(); }; int TCmdenvApp::run() { try { printf(\nPreparing for Run #%d...\n, 1); } catch (cException *e) { } } int main() { TCmdenvApp app;

[Bug c++/40146] Unexplained 'anonymous' is used uninitialized in this function warning

2009-10-16 Thread gcc at abeckmann dot de
: x86_64-unknown-linux-gnu Configured with: ../gcc-4_4-branch/configure --prefix=/opt/software/x86_64/gcc-4.4.x --program-suffix=-4.4.x --enable-languages=c,c++ --enable-checking Thread model: posix gcc version 4.4.3 20091016 (prerelease) (GCC) COLLECT_GCC_OPTIONS='-v' '-O2' '-W' '-Wall

[Bug c++/38908] [4.4 regression] Unexplained 'anonymous' is used uninitialized in this function warning in cc1plus -m64

2009-10-16 Thread gcc at abeckmann dot de
--- Comment #19 from gcc at abeckmann dot de 2009-10-16 13:13 --- some cases where this warning still occurs in 4.4 are documented in #40146 -- gcc at abeckmann dot de changed: What|Removed |Added

[Bug middle-end/41730] New: ICE with -flto -fwhole-program

2009-10-16 Thread rguenth at gcc dot gnu dot org
./g++ -B. -B ../x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs -O -flto -fwhole-program auto_derivative_function.3.ii lto1: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See http://gcc.gnu.org/bugs.html for instructions.

[Bug middle-end/41730] ICE with -flto -fwhole-program

2009-10-16 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2009-10-16 13:54 --- This breaks 447.dealII build currently. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41730

[Bug middle-end/41713] -O -flto -g: ICE in lto_output_tree_ref, at lto-streamer-out.c:732

2009-10-16 Thread rguenth at gcc dot gnu dot org
lto/41713 * lto-streamer-out.c (lto_output_tree_ref): Handle DEBUG_EXPR_DECL the same as VAR_DECL. * gfortran.dg/lto/20091016-1_0.f90: New testcase. Added: trunk/gcc/testsuite/gfortran.dg/lto/20091016-1_0.f90 Modified: trunk/gcc/ChangeLog trunk/gcc/lto-streamer

[Bug middle-end/41713] -O -flto -g: ICE in lto_output_tree_ref, at lto-streamer-out.c:732

2009-10-16 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2009-10-16 14:23 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug lto/41715] VIEW_CONVERT_EXPR use for mismatched prevailing decl replacement doesn't work

2009-10-16 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2009-10-16 14:23 --- Subject: Bug 41715 Author: rguenth Date: Fri Oct 16 14:23:22 2009 New Revision: 152903 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=152903 Log: 2009-10-16 Richard Guenther rguent...@suse.de PR

[Bug lto/41715] VIEW_CONVERT_EXPR use for mismatched prevailing decl replacement doesn't work

2009-10-16 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2009-10-16 14:23 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug lto/41598] bootstrap *using* lto fails

2009-10-16 Thread rguenth at gcc dot gnu dot org
--- Comment #14 from rguenth at gcc dot gnu dot org 2009-10-16 14:30 --- This particular problem seems to be fixed. I'll add a testcase. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug lto/41598] bootstrap *using* lto fails

2009-10-16 Thread rguenth at gcc dot gnu dot org
lto/41598 * gcc.dg/lto/20091016-1_0.c: New testcase. * gcc.dg/lto/20091016-1_1.c: Likewise. * gcc.dg/lto/20091016-1_a.h: Likewise. Added: trunk/gcc/testsuite/gcc.dg/lto/20091016-1_0.c trunk/gcc/testsuite/gcc.dg/lto/20091016-1_1.c trunk/gcc/testsuite/gcc.dg/lto

[Bug debug/40521] [4.4/4.5 Regression] -g causes GCC to generate .eh_frame

2009-10-16 Thread jakub at gcc dot gnu dot org
--- Comment #18 from jakub at gcc dot gnu dot org 2009-10-16 14:55 --- When testing this, I've noticed a major problem with Ada, supposedly on the trunk as well when using latest binutils. The problem is that gnat_init_gcc_eh which can change flag_exceptions is called way too late, not

[Bug target/41684] [4.4/4.5 regression] binutils testsuite failures when built with 4.4/4.5

2009-10-16 Thread mikpe at it dot uu dot se
--- Comment #10 from mikpe at it dot uu dot se 2009-10-16 15:16 --- (In reply to comment #7) I'm currently bootstrapping and testing a patch which disable section anchors on arm. It will be interesting to see if it fixes any testsuite failures. Done. It caused no new failures but

[Bug lto/41731] New: The linker plugin should support translations

2009-10-16 Thread espindola at google dot com
Joseph S. Myers says: Is this callback interface defined to take translated or untranslated text? If untranslated, there would be a problem with the callback knowing which textual domain to use for translation, so I'd guess it should be defined to take translated messages. This means you should

[Bug fortran/41714] [OOP] ALLOCATE SOURCE= does not properly copy the value from SOURCE

2009-10-16 Thread janus at gcc dot gnu dot org
--- Comment #3 from janus at gcc dot gnu dot org 2009-10-16 16:22 --- (In reply to comment #2) Problem: The patch in comment #1 regresses on class_allocate_1.f03: In addition to this there are two more test cases failing: Native configuration is x86_64-unknown-linux-gnu

[Bug middle-end/35903] false warning when passing quoted string to function strcmp(arg,no);

2009-10-16 Thread cepeda at gmail dot com
--- Comment #3 from cepeda at gmail dot com 2009-10-16 16:51 --- This bug has no changed for months, I think it is still active. It seems not to work only when size of char[] is 3 (2+'\0'). A test case is this: // Begin of code #include stdio.h #include string.h int main(int argc,

[Bug tree-optimization/41718] internal compiler error: in add_stack_var_conflict, at cfgexpand.c:359

2009-10-16 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2009-10-16 16:56 --- There are a lot of variables here. I don't even know if the resulting binary will have enough stack space for those variables ... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41718

[Bug tree-optimization/41728] [4.5 Regression] error: SSA name in freelist but still referenced

2009-10-16 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2009-10-16 16:57 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug tree-optimization/41728] [4.5 Regression] error: SSA name in freelist but still referenced

2009-10-16 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2009-10-16 16:57 --- Subject: Bug 41728 Author: rguenth Date: Fri Oct 16 16:57:31 2009 New Revision: 152910 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=152910 Log: 2009-10-16 Richard Guenther rguent...@suse.de PR

[Bug debug/40521] [4.4/4.5 Regression] -g causes GCC to generate .eh_frame

2009-10-16 Thread ebotcazou at gcc dot gnu dot org
--- Comment #19 from ebotcazou at gcc dot gnu dot org 2009-10-16 17:35 --- When testing this, I've noticed a major problem with Ada, supposedly on the trunk as well when using latest binutils. Thanks for the heads up. The problem is that gnat_init_gcc_eh which can change

[Bug lto/41593] slightly confusing configure message about lto

2009-10-16 Thread rwild at gcc dot gnu dot org
--- Comment #2 from rwild at gcc dot gnu dot org 2009-10-16 17:56 --- The duplicate lto in the language list has been fixed in r152697, http://gcc.gnu.org/ml/gcc-patches/2009-10/msg00682.html. However, the way to enable lto still is not to add it to --enable-languages, but to use

[Bug fortran/41719] [OOP] invalid: Intrinsic assignment involving polymorphic variables

2009-10-16 Thread janus at gcc dot gnu dot org
--- Comment #2 from janus at gcc dot gnu dot org 2009-10-16 18:44 --- Preliminary patch: Index: gcc/fortran/resolve.c === --- gcc/fortran/resolve.c (Revision 152915) +++ gcc/fortran/resolve.c (Arbeitskopie) @@

[Bug fortran/41719] [OOP] invalid: Intrinsic assignment involving polymorphic variables

2009-10-16 Thread janus at gcc dot gnu dot org
--- Comment #3 from janus at gcc dot gnu dot org 2009-10-16 18:55 --- Actually the following two test cases are invalid according to this PR: typebound_operator_2.f03 typebound_operator_4.f03 Both include an intrinsic assignment with a polymorphic (dummy) variable. --

[Bug fortran/41719] [OOP] invalid: Intrinsic assignment involving polymorphic variables

2009-10-16 Thread janus at gcc dot gnu dot org
--- Comment #4 from janus at gcc dot gnu dot org 2009-10-16 19:10 --- Note: It seems this will be legal again in F08. 7.2.1.2 Intrinsic assignment statement An intrinsic assignment statement is an assignment statement that is not a de#64257;ned assignment statement (7.2.1.4). In an

[Bug fortran/41732] New: build of gcc v4.4.1 dies in gfortran on Solaris 10 (sparc)

2009-10-16 Thread thomas dot preston at baesystems dot com
I am attempting to build the gcc v 4.4.1 suite of compilers on a Solaris 10 (sparc) platform using gcc v3.4.6. The build runs great for about 3 hours and then dies complaining that GNU Fortran is not working;. I will attempt to attach the config.log file to this bug report from

[Bug fortran/41732] build of gcc v4.4.1 dies in gfortran on Solaris 10 (sparc)

2009-10-16 Thread thomas dot preston at baesystems dot com
--- Comment #1 from thomas dot preston at baesystems dot com 2009-10-16 19:13 --- Created an attachment (id=18810) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18810action=view) the config.log from /local/gcc441/sparc-sun-solaris2.10/libgfortran --

[Bug fortran/41732] build of gcc v4.4.1 dies in gfortran on Solaris 10 (sparc)

2009-10-16 Thread thomas dot preston at baesystems dot com
--- Comment #2 from thomas dot preston at baesystems dot com 2009-10-16 19:14 --- Created an attachment (id=18811) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18811action=view) scripted output of running the configure command showing options --

[Bug fortran/41732] build of gcc v4.4.1 dies in gfortran on Solaris 10 (sparc)

2009-10-16 Thread thomas dot preston at baesystems dot com
--- Comment #3 from thomas dot preston at baesystems dot com 2009-10-16 19:15 --- Created an attachment (id=18812) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18812action=view) last 200 lines of make output displayed on the terminal --

[Bug fortran/41732] build of gcc v4.4.1 dies in gfortran on Solaris 10 (sparc)

2009-10-16 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2009-10-16 19:16 --- init2.c:37: assertion failed: ((64 - 0)+0) == (((64 - 0)+0)/8) * 8 sizeof(mp_limb_t) == (((64 - 0)+0)/8) That means your GMP and/or MPFR is broken and you should rebuild them. -- pinskia at gcc dot gnu dot

[Bug fortran/41719] [OOP] invalid: Intrinsic assignment involving polymorphic variables

2009-10-16 Thread janus at gcc dot gnu dot org
--- Comment #5 from janus at gcc dot gnu dot org 2009-10-16 19:19 --- (In reply to comment #4) Note: It seems this will be legal again in F08. That is: for certain cases (ALLOCATABLE). The example in comment #0 is still illegal. --

[Bug target/40983] The scheduler incorrectly swaps MMX and floating point instructions

2009-10-16 Thread sezeroz at gmail dot com
--- Comment #5 from sezeroz at gmail dot com 2009-10-16 19:45 --- Any progress on this? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40983

[Bug fortran/41733] New: Proc-pointer conformance checks

2009-10-16 Thread burnus at gcc dot gnu dot org
Pointed out by James Van Buskirk in http://groups.google.com/group/comp.lang.fortran/msg/c96779deea345264 in the thread http://groups.google.com/group/comp.lang.fortran/browse_thread/thread/da1feef5e8c9ed9a Gfortran misses several proc-pointer checks. Cf. also PR 41724. -- Summary:

[Bug libstdc++/40654] [C++0x] atomic.cc: 'd' is used uninitialized warning

2009-10-16 Thread sezeroz at gmail dot com
--- Comment #5 from sezeroz at gmail dot com 2009-10-16 19:49 --- Any chance for a backport to 4.4 ? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40654

[Bug debug/41340] [4.5 Regression] G++ produces different code with and without -g option

2009-10-16 Thread d dot g dot gorbachev at gmail dot com
--- Comment #5 from d dot g dot gorbachev at gmail dot com 2009-10-16 20:09 --- There is a real difference, i.e. - 179: mov0x8(%ebp),%edx - 17c: movzwl (%edx),%eax + 179: mov0x8(%ebp),%esi + 17c: movzwl (%esi),%eax [...] - 1a0: mov%edx,(%esp) - 1a3: mov

[Bug debug/41340] [4.5 Regression] G++ produces different code with and without -g option

2009-10-16 Thread d dot g dot gorbachev at gmail dot com
--- Comment #6 from d dot g dot gorbachev at gmail dot com 2009-10-16 20:12 --- Created an attachment (id=18813) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18813action=view) gzipped preprocessed source file Another case. Compile with: cc1 -O3 -march=i686 -g tree-eh.i -

[Bug fortran/35810] [TR 15581 / F2003] Automatic reallocation on assignment to allocatable variables

2009-10-16 Thread burnus at gcc dot gnu dot org
--- Comment #6 from burnus at gcc dot gnu dot org 2009-10-16 20:23 --- Note in Fortran 2008 (cf. PR 41719), polymorphic-variable = expr is allowed iff the variable is allocatable. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35810

[Bug fortran/41719] [OOP] invalid: Intrinsic assignment involving polymorphic variables

2009-10-16 Thread burnus at gcc dot gnu dot org
--- Comment #6 from burnus at gcc dot gnu dot org 2009-10-16 20:25 --- (In reply to comment #5) (In reply to comment #4) Note: It seems this will be legal again in F08. That is: for certain cases (ALLOCATABLE). The example in comment #0 is still illegal. if the variable is

[Bug fortran/41733] Proc-pointer conformance checks: Elemental-proc-ptr = non-elemental-proc

2009-10-16 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2009-10-16 20:35 --- The first example, procedure(fun), pointer :: f f = my_dcos write(*,*) f(x) looks fine to me. fun is elemental - and my_dcos is also elemental. The second example is wrong: fun is elemental, but my_dcos is