[Bug testsuite/44797] INQUIRE EXIST variable must be default LOGICAL

2010-07-03 Thread kargl at gcc dot gnu dot org
--- Comment #2 from kargl at gcc dot gnu dot org 2010-07-04 06:07 --- A patch has been posted here http://gcc.gnu.org/ml/gcc-patches/2010-07/msg00291.html laptop:kargl[208] gfc4x -o z -std=f2003 inquire_5.f90 inquire_5.f90:22.59: inquire (file = 'inquire_5.txt', number = unit8, exis

[Bug c/44774] -Werror=edantic

2010-07-03 Thread joseph at codesourcery dot com
--- Comment #11 from joseph at codesourcery dot com 2010-07-04 01:46 --- Subject: Re: -Werror=edantic On Fri, 2 Jul 2010, manu at gcc dot gnu dot org wrote: > Let's restrict to -pedantic first. It is the only warning flag that doesn't > start with "-W". This breaks some code that exp

[Bug c++/44800] DECL_SAVED_TREE is always null on the first FUNCTION_DECL and is not null on the others

2010-07-03 Thread asmprog32 at hotmail dot com
--- Comment #8 from asmprog32 at hotmail dot com 2010-07-04 00:47 --- After the bug has been closed. i has posted the question to gcc-help, thanks ( i has reported as bug because , i has thinked it was a bug ) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44800

[Bug c++/44800] DECL_SAVED_TREE is always null on the first FUNCTION_DECL and is not null on the others

2010-07-03 Thread asmprog32 at hotmail dot com
--- Comment #7 from asmprog32 at hotmail dot com 2010-07-04 00:39 --- (In reply to comment #6) > Pietro, > > Please explain what is happening and what do you expect to happen, and why do > you expect that. If you are having troubles about using gcc, please ask in > gcc-help first. >

[Bug c/44806] 4.5.0 i686 code generation regression with -O2

2010-07-03 Thread hjl dot tools at gmail dot com
--- Comment #5 from hjl dot tools at gmail dot com 2010-07-04 00:29 --- It is fixed by revision 158826: http://gcc.gnu.org/ml/gcc-cvs/2010-04/msg00933.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44806

[Bug target/44581] [4.5/4.6 Regression] internal compiler error: in simplify_subreg

2010-07-03 Thread danglin at gcc dot gnu dot org
--- Comment #2 from danglin at gcc dot gnu dot org 2010-07-03 23:39 --- Breakpoint 1, simplify_subreg (outermode=DFmode, op=0x40167760, innermode=DFmode, byte=80) at ../../gcc/gcc/simplify-rtx.c:5120 5120 gcc_assert (byte < GET_MODE_SIZE (innermode)); (gdb) p byte $3 = 80 (gdb)

[Bug target/44597] [4.6 Regression] FAIL: gcc.c-torture/execute/builtin-prefetch-2.c compilation, ICE

2010-07-03 Thread danglin at gcc dot gnu dot org
--- Comment #8 from danglin at gcc dot gnu dot org 2010-07-03 23:04 --- Fixed. -- danglin at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRM

[Bug target/44597] [4.6 Regression] FAIL: gcc.c-torture/execute/builtin-prefetch-2.c compilation, ICE

2010-07-03 Thread danglin at gcc dot gnu dot org
--- Comment #7 from danglin at gcc dot gnu dot org 2010-07-03 22:53 --- Subject: Bug 44597 Author: danglin Date: Sat Jul 3 22:53:25 2010 New Revision: 161791 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=161791 Log: PR target/44597 * config/pa/predicates.md (pr

[Bug target/44597] [4.6 Regression] FAIL: gcc.c-torture/execute/builtin-prefetch-2.c compilation, ICE

2010-07-03 Thread danglin at gcc dot gnu dot org
--- Comment #6 from danglin at gcc dot gnu dot org 2010-07-03 22:50 --- Subject: Bug 44597 Author: danglin Date: Sat Jul 3 22:50:37 2010 New Revision: 161790 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=161790 Log: PR target/44597 * config/pa/predicates.md (pr

[Bug c/44806] 4.5.0 i686 code generation regression with -O2

2010-07-03 Thread hjl at gcc dot gnu dot org
--- Comment #4 from hjl at gcc dot gnu dot org 2010-07-03 22:47 --- Subject: Bug 44806 Author: hjl Date: Sat Jul 3 22:47:43 2010 New Revision: 161789 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=161789 Log: Add a testcase for PR 44806. 2010-07-03 H.J. Lu Backport

[Bug target/44597] [4.6 Regression] FAIL: gcc.c-torture/execute/builtin-prefetch-2.c compilation, ICE

2010-07-03 Thread danglin at gcc dot gnu dot org
--- Comment #5 from danglin at gcc dot gnu dot org 2010-07-03 22:47 --- Subject: Bug 44597 Author: danglin Date: Sat Jul 3 22:46:51 2010 New Revision: 161788 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=161788 Log: PR target/44597 * config/pa/predicates.md (pr

[Bug c/44806] 4.5.0 i686 code generation regression with -O2

2010-07-03 Thread hjl at gcc dot gnu dot org
--- Comment #3 from hjl at gcc dot gnu dot org 2010-07-03 22:44 --- Subject: Bug 44806 Author: hjl Date: Sat Jul 3 22:44:32 2010 New Revision: 161787 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=161787 Log: Add a testcase for PR 44806. 2010-07-03 H.J. Lu PR c/448

[Bug target/44597] [4.6 Regression] FAIL: gcc.c-torture/execute/builtin-prefetch-2.c compilation, ICE

2010-07-03 Thread danglin at gcc dot gnu dot org
--- Comment #4 from danglin at gcc dot gnu dot org 2010-07-03 22:44 --- Subject: Bug 44597 Author: danglin Date: Sat Jul 3 22:43:47 2010 New Revision: 161786 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=161786 Log: PR target/44597 * config/pa/predicates.md (pr

[Bug c++/44796] segfault with variable named 'xor' (Apple-gcc-4.2.1)

2010-07-03 Thread steven at gcc dot gnu dot org
--- Comment #4 from steven at gcc dot gnu dot org 2010-07-03 22:03 --- FWIW: Apple should have its own bugurlMacPro:~ stevenb$ uname -a Darwin MacPro.local 10.4.0 Darwin Kernel Version 10.4.0: Fri Apr 23 18:28:53 PDT 2010; root:xnu-1504.7.4~1/RELEASE_I386 i386 MacPro:~ stevenb$ gcc --ve

[Bug c/44803] LIBRARY_PATH should work on cross-compilers

2010-07-03 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2010-07-03 21:28 --- ? (you have to give some more details) -- rguenth at gcc dot gnu dot org changed: What|Removed |Added --

[Bug middle-end/44805] [4.6 Regression] FAIL: gcc.c-torture/execute/builtins/strpcpy-2.c execution, at -O1 and above

2010-07-03 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.6.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44805

[Bug c/44806] 4.5.0 i686 code generation regression with -O2

2010-07-03 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-07-03 21:21 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRM

[Bug bootstrap/44807] [4.6 Regression] bootstrap failure on i686 with BOOT_CFLAGS='-O3'

2010-07-03 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-07-03 21:21 --- Honza, this is yours. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/44805] [4.6 Regression] FAIL: gcc.c-torture/execute/builtins/strpcpy-2.c execution, at -O1 and above

2010-07-03 Thread danglin at gcc dot gnu dot org
--- Comment #2 from danglin at gcc dot gnu dot org 2010-07-03 20:59 --- It looks like the define for CONSTANT_ALIGNMENT needs a tweak. -- danglin at gcc dot gnu dot org changed: What|Removed |Added --

[Bug c/44806] 4.5.0 i686 code generation regression with -O2

2010-07-03 Thread mikpe at it dot uu dot se
--- Comment #1 from mikpe at it dot uu dot se 2010-07-03 20:44 --- This test case works for me on i686-linux with gcc-4.5-20100701, but fails with gcc-4.5.0. So it should be fixed in 4.5.1. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44806

[Bug target/44705] FAIL: gcc.dg/pr44674.c (internal compiler error)

2010-07-03 Thread danglin at gcc dot gnu dot org
--- Comment #6 from danglin at gcc dot gnu dot org 2010-07-03 20:43 --- Fixed. -- danglin at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRM

[Bug target/44705] FAIL: gcc.dg/pr44674.c (internal compiler error)

2010-07-03 Thread danglin at gcc dot gnu dot org
--- Comment #5 from danglin at gcc dot gnu dot org 2010-07-03 20:42 --- Subject: Bug 44705 Author: danglin Date: Sat Jul 3 20:42:43 2010 New Revision: 161784 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=161784 Log: PR target/44705 * config/pa/pa.h (GO_IF_LEGIT

[Bug target/44705] FAIL: gcc.dg/pr44674.c (internal compiler error)

2010-07-03 Thread danglin at gcc dot gnu dot org
--- Comment #4 from danglin at gcc dot gnu dot org 2010-07-03 20:40 --- Subject: Bug 44705 Author: danglin Date: Sat Jul 3 20:40:30 2010 New Revision: 161783 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=161783 Log: PR target/44705 * config/pa/pa.h (GO_IF_LEGIT

[Bug target/44705] FAIL: gcc.dg/pr44674.c (internal compiler error)

2010-07-03 Thread danglin at gcc dot gnu dot org
--- Comment #3 from danglin at gcc dot gnu dot org 2010-07-03 20:38 --- Subject: Bug 44705 Author: danglin Date: Sat Jul 3 20:38:04 2010 New Revision: 161782 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=161782 Log: PR target/44705 * config/pa/pa.h (GO_IF_LEGIT

[Bug c++/44796] segfault with variable named 'xor' (Apple-gcc-4.2.1)

2010-07-03 Thread wolfgang dot plaschg at gmail dot com
--- Comment #3 from wolfgang dot plaschg at gmail dot com 2010-07-03 20:34 --- (In reply to comment #2) > Shouldn't Apple have their own bugurl? > > Perhaps we should add some short sentence in bugs.html about NOT reporting > Apple bugs to us (anyway their compiler version is too old

[Bug target/44705] FAIL: gcc.dg/pr44674.c (internal compiler error)

2010-07-03 Thread danglin at gcc dot gnu dot org
--- Comment #2 from danglin at gcc dot gnu dot org 2010-07-03 20:28 --- Subject: Bug 44705 Author: danglin Date: Sat Jul 3 20:28:44 2010 New Revision: 161781 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=161781 Log: PR target/44705 * config/pa/pa.h (GO_IF_LEGIT

[Bug c/37041] -Wc++-compat refinements

2010-07-03 Thread manu at gcc dot gnu dot org
--- Comment #4 from manu at gcc dot gnu dot org 2010-07-03 20:10 --- We should collect individual Wc++-compat issues here. -- manu at gcc dot gnu dot org changed: What|Removed |Added -

[Bug c/21759] Implement warning for codes at the intersection of C and C++

2010-07-03 Thread manu at gcc dot gnu dot org
--- Comment #11 from manu at gcc dot gnu dot org 2010-07-03 20:08 --- Isn't this a duplicate of PR37041? That PR is more complete than this one. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21759

[Bug c++/99] Bug in template type in error message.

2010-07-03 Thread manu at gcc dot gnu dot org
--- Comment #18 from manu at gcc dot gnu dot org 2010-07-03 19:59 --- I think this bug is not actually assigned to anybody. Anyone feel free to take it. -- manu at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug target/44626] [4.4 regression] ICE in output_operand: invalid expression as operand

2010-07-03 Thread mikpe at it dot uu dot se
--- Comment #5 from mikpe at it dot uu dot se 2010-07-03 19:53 --- (In reply to comment #4) > Can this patch be submitted to gcc-patc...@gcc.gnu.org after due testing ? Yes. Although I've tested this many times it's always been together with many other patches. I'm now running a 4.4

[Bug c++/44796] segfault with variable named 'xor' (Apple-gcc-4.2.1)

2010-07-03 Thread manu at gcc dot gnu dot org
--- Comment #2 from manu at gcc dot gnu dot org 2010-07-03 19:01 --- Shouldn't Apple have their own bugurl? Perhaps we should add some short sentence in bugs.html about NOT reporting Apple bugs to us (anyway their compiler version is too old to be interesting for us). -- manu at gc

[Bug objc/24867] many N^2 loops in objc frontend

2010-07-03 Thread froydnj at gcc dot gnu dot org
--- Comment #5 from froydnj at gcc dot gnu dot org 2010-07-03 19:01 --- Subject: Bug 24867 Author: froydnj Date: Sat Jul 3 19:00:52 2010 New Revision: 161777 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=161777 Log: PR objc/24867 * objc-act.c (build_sized_array

[Bug c++/44800] DECL_SAVED_TREE is always null on the first FUNCTION_DECL and is not null on the others

2010-07-03 Thread manu at gcc dot gnu dot org
--- Comment #6 from manu at gcc dot gnu dot org 2010-07-03 18:58 --- Pietro, Please explain what is happening and what do you expect to happen, and why do you expect that. If you are having troubles about using gcc, please ask in gcc-help first. -- manu at gcc dot gnu dot org chang

[Bug bootstrap/44807] bootstrap failure on i686 with BOOT_CFLAGS='-O3'

2010-07-03 Thread moonshine at kapsi dot fi
--- Comment #1 from moonshine at kapsi dot fi 2010-07-03 18:57 --- Created an attachment (id=21079) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21079&action=view) a self-contained testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44807

[Bug bootstrap/44807] New: bootstrap failure on i686 with BOOT_CFLAGS='-O3'

2010-07-03 Thread moonshine at kapsi dot fi
gcc-trunk -c -O3 expr.i ../../gcc-trunk/gcc/expr.c:10420:0: error: caller edge frequency 2110 does not match BB freqency 8890 builtin_strncpy_read_str/1753(-1) @0xb659b310 availability:not_available address_taken called by: can_store_by_pieces._part.19.constprop.40/2 (2.11 per call) calls:

[Bug fortran/44693] Missed error for invalid SUM

2010-07-03 Thread tkoenig at gcc dot gnu dot org
--- Comment #1 from tkoenig at gcc dot gnu dot org 2010-07-03 17:08 --- Confirmed. -- tkoenig at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unass

[Bug fortran/44773] [4.6 Regression] Unnecessary temporaries increase the runtime for channel.f90 by ~70%

2010-07-03 Thread tkoenig at gcc dot gnu dot org
--- Comment #7 from tkoenig at gcc dot gnu dot org 2010-07-03 17:03 --- Confirmed. Wrong-code takes precedence over missed-optimization, but this is still something that should be fixed. -- tkoenig at gcc dot gnu dot org changed: What|Removed |Add

[Bug target/44132] [4.6 Regression] emutls is broken under a range of circumstances.

2010-07-03 Thread iains at gcc dot gnu dot org
--- Comment #41 from iains at gcc dot gnu dot org 2010-07-03 16:45 --- this should do it, asm problems solved. http://gcc.gnu.org/ml/gcc-patches/2010-07/msg00262.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44132

[Bug c/44806] New: 4.5.0 i686 code generation regression with -O2

2010-07-03 Thread jim at meyering dot net
This bug manifests on i686, and not on x86_64. [FYI, pared down from a proposed patch for coreutils' du.c. ] The following code, compiled with 4.5.0 and -O2 exits with status 1. Compile with 4.4.4 and any optimization or 4.5.0 with -O1 and it exits with status 0. $ cat k.c #include #define N_DE

[Bug target/43698] [4.5/4.6 Regression] Invalid code when building gentoo pax-utils-0.1.19 with -Os optimizations

2010-07-03 Thread armin76 at gentoo dot org
--- Comment #11 from armin76 at gentoo dot org 2010-07-03 16:05 --- Ping :) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43698

[Bug testsuite/44797] INQUIRE EXIST variable must be default LOGICAL

2010-07-03 Thread kargl at gcc dot gnu dot org
--- Comment #1 from kargl at gcc dot gnu dot org 2010-07-03 16:04 --- I believe that this is an intended extension. However, laptop:kargl[238] gfc4x -o z -std=f95 -fall-intrinsics inquire_5.f90 laptop:kargl[239] ./z Thus, an error should have been emitted when enforcing f95 or f2003.

[Bug testsuite/44799] MAX arguments should have same kind

2010-07-03 Thread kargl at gcc dot gnu dot org
--- Comment #1 from kargl at gcc dot gnu dot org 2010-07-03 15:58 --- It's an extension. laptop:kargl[231] gfc4x -o z -std=f95 intrinsic_minmax.f90 intrinsic_minmax.f90:26.17: if (max (4d0, r) .ne. 4d0) call abort 1 Error: Extension: Different type kinds at (1) -

[Bug target/44805] [4.6 Regression] FAIL: gcc.c-torture/execute/builtins/strpcpy-2.c execution, at -O1 and above

2010-07-03 Thread danglin at gcc dot gnu dot org
--- Comment #1 from danglin at gcc dot gnu dot org 2010-07-03 15:20 --- .section.rodata .align 4 L$C: .stringz"abcdefghijklmnop" .align 4 L$C0001: .stringz"ABCDEFG" On hppa, .align 4 advances the location counter until

[Bug target/44805] New: [4.6 Regression] FAIL: gcc.c-torture/execute/builtins/strpcpy-2.c execution, at -O1 and above

2010-07-03 Thread danglin at gcc dot gnu dot org
Executing on host: /test/gnu/gcc/objdir/gcc/xgcc -B/test/gnu/gcc/objdir/gcc/ /te st/gnu/gcc/gcc/gcc/testsuite/gcc.c-torture/execute/builtins/strpcpy-2.c /test/gn u/gcc/gcc/gcc/testsuite/gcc.c-torture/execute/builtins/strpcpy-2-lib.c /test/gnu /gcc/gcc/gcc/testsuite/gcc.c-torture/execute/builtins/li

[Bug testsuite/44795] [4.6 Regression] Bad testsuite changes

2010-07-03 Thread hjl dot tools at gmail dot com
--- Comment #3 from hjl dot tools at gmail dot com 2010-07-03 14:08 --- Fixed by revision 161767: http://gcc.gnu.org/ml/gcc-cvs/2010-07/msg00120.html -- hjl dot tools at gmail dot com changed: What|Removed |Added --

[Bug lto/44802] -flto -fuse-linker-plugin causes undefined references from libc in the link phase

2010-07-03 Thread moonshine at kapsi dot fi
--- Comment #3 from moonshine at kapsi dot fi 2010-07-03 13:35 --- On trunk the same link command fails too, but in a different way. I was able to produce a reduced testcase and filed a new report as these issues are probably not related. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=4480

[Bug lto/44804] lto1 ICE in trunk

2010-07-03 Thread moonshine at kapsi dot fi
--- Comment #1 from moonshine at kapsi dot fi 2010-07-03 13:32 --- Created an attachment (id=21078) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21078&action=view) a self-contained testcase Created with: gcc-trunk -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I../../src/liblzma/api -I

[Bug lto/44804] New: lto1 ICE in trunk

2010-07-03 Thread moonshine at kapsi dot fi
gcc-trunk -r -nostdlib -std=gnu99 -O2 -flto -o xz alone_decoder.i alone_encoder.i filter_encoder.i In file included from common/alone_decoder.c:168:0, from :39: common/alone_encoder.c: In function ‘alone_encoder_init’: common/alone_encoder.c:78:1: error: type mismatch in address e

[Bug c/44803] New: LIBRARY_PATH should work on cross-compilers

2010-07-03 Thread felipe dot contreras at gmail dot com
This is specially useful on cross-compiler, I don't know why it's supposed to work only on native ones. -- Summary: LIBRARY_PATH should work on cross-compilers Product: gcc Version: unknown Status: UNCONFIRMED Severity: enhancement

[Bug lto/44802] -flto -fuse-linker-plugin causes undefined references from libc in the link phase

2010-07-03 Thread moonshine at kapsi dot fi
--- Comment #2 from moonshine at kapsi dot fi 2010-07-03 12:33 --- Created an attachment (id=21077) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21077&action=view) a testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44802

[Bug lto/44802] -flto -fuse-linker-plugin causes undefined references from libc in the link phase

2010-07-03 Thread moonshine at kapsi dot fi
--- Comment #1 from moonshine at kapsi dot fi 2010-07-03 12:32 --- Created an attachment (id=21076) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21076&action=view) full error message -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44802

[Bug lto/44802] New: -flto -fuse-linker-plugin causes undefined references from libc in the link phase

2010-07-03 Thread moonshine at kapsi dot fi
This works fine without -fuse-linker-plugin (with all object files extracted from archive). This reduced testcase has some undefined references of its own but still exposes the bug as shown below. Whole output of linking a complete program is attached because of its 30 kB size. Also a preprocessed

[Bug fortran/44207] ICE with ALLOCATABLE components and SOURCE

2010-07-03 Thread janus at gcc dot gnu dot org
--- Comment #7 from janus at gcc dot gnu dot org 2010-07-03 12:10 --- (In reply to comment #6) > What is the status of this ? Fixed. I guess we can close it. -- janus at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/44800] DECL_SAVED_TREE is always null on the first FUNCTION_DECL and is not null on the others

2010-07-03 Thread asmprog32 at hotmail dot com
--- Comment #5 from asmprog32 at hotmail dot com 2010-07-03 11:22 --- (In reply to comment #4) > bugzilla is not a plugin support forum > Infact is not a request of help, DECL_SAVED_TREE is systematicaly Null ONLY and ALWAYS on the last FUNCTION_DECL, i has thinked this is the normal b

[Bug middle-end/44790] Bootstrap fails after MEM-REF merge

2010-07-03 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-07-03 11:17 --- The code in question is likely expr.c:8830 ff: address_mode = targetm.addr_space.address_mode (as); op0 = expand_expr (TREE_OPERAND (exp, 0), NULL_RTX, address_mode, EXPAND

[Bug fortran/44207] ICE with ALLOCATABLE components and SOURCE

2010-07-03 Thread mikael at gcc dot gnu dot org
--- Comment #6 from mikael at gcc dot gnu dot org 2010-07-03 11:05 --- What is the status of this ? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44207

[Bug c/44801] Finding max element in an unsigned int array fails with -O3

2010-07-03 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-07-03 10:55 --- This is fixed in 4.4.3. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/44800] DECL_SAVED_TREE is always null on the first FUNCTION_DECL and is not null on the others

2010-07-03 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2010-07-03 10:52 --- bugzilla is not a plugin support forum -- rguenth at gcc dot gnu dot org changed: What|Removed |Added --

[Bug c/39959] [4.5 Regression] IMA is broken, gcc.dg/pr34668-1.c, gcc.dg/pr34668-2.c ICE

2010-07-03 Thread rguenth at gcc dot gnu dot org
--- Comment #24 from rguenth at gcc dot gnu dot org 2010-07-03 10:50 --- Fixed in 4.6, wontfix in 4.5. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/44796] segfault with variable named 'xor' (Apple-gcc-4.2.1)

2010-07-03 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2010-07-03 10:49 --- Works on any FSF release (xor is a reserved keyword in C++). > g++-4.2 -S t.C t.C: In function 'int main(int, char**)': t.C:2: error: expected unqualified-id before '^' token You have to report this to apple instea

[Bug tree-optimization/44794] pre- and post-loops should not be unrolled.

2010-07-03 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2010-07-03 10:48 --- It would be interesting to know why/if number-of-iteration analysis fails and if the code the vectorizer emits can be adjusted to fix that. -- rguenth at gcc dot gnu dot org changed: What|Removed

[Bug c++/44789] [4.6 Regression] FAIL: abi_check

2010-07-03 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.6.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44789

[Bug rtl-optimization/44787] [4.6 Regression] internal compiler error: in reload_cse_simplify_operands, at postreload.c:395

2010-07-03 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Summary|[regression]internal|[4.6 Regression] internal |compiler error: in

[Bug fortran/44662] unitialized memory on testcases abstract_type_6.f03 and typebound_call_4.f03

2010-07-03 Thread mikael at gcc dot gnu dot org
--- Comment #8 from mikael at gcc dot gnu dot org 2010-07-03 10:40 --- Fixed, no need for backport. -- mikael at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/44785] [4.6 Regression] Invalid memory access in gfortran.dg/extends_3.f03

2010-07-03 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2010-07-03 10:32 --- Mine then. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unass

[Bug c/44801] Finding max element in an unsigned int array fails with -O3

2010-07-03 Thread paavo at osa dot pri dot ee
--- Comment #1 from paavo at osa dot pri dot ee 2010-07-03 10:20 --- Created an attachment (id=21075) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21075&action=view) Preprocessed source produced by gcc -v -save-temps -O3 minmaxbug.c -- http://gcc.gnu.org/bugzilla/show_bug.cg

[Bug c/44801] New: Finding max element in an unsigned int array fails with -O3

2010-07-03 Thread paavo at osa dot pri dot ee
It seems the optimizer does not cope with the high bit set in unsigned int arrays and does not find the max element in an array. Test case (fails with -O3 and with gcc 4.3 or gcc 4.4). #include #include unsigned int g(const unsigned int* p, int n) { unsigned int max1 = 0; const unsigned

[Bug c++/44800] DECL_SAVED_TREE is always null on the first FUNCTION_DECL and is not null on the others

2010-07-03 Thread asmprog32 at hotmail dot com
--- Comment #3 from asmprog32 at hotmail dot com 2010-07-03 09:54 --- Created an attachment (id=21074) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21074&action=view) example 2 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44800

[Bug c++/44800] DECL_SAVED_TREE is always null on the first FUNCTION_DECL and is not null on the others

2010-07-03 Thread asmprog32 at hotmail dot com
--- Comment #2 from asmprog32 at hotmail dot com 2010-07-03 09:53 --- Created an attachment (id=21073) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21073&action=view) example 1 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44800

[Bug c++/44800] DECL_SAVED_TREE is always null on the first FUNCTION_DECL and is not null on the others

2010-07-03 Thread asmprog32 at hotmail dot com
--- Comment #1 from asmprog32 at hotmail dot com 2010-07-03 09:52 --- Created an attachment (id=21072) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21072&action=view) plugins source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44800

[Bug c++/44800] New: DECL_SAVED_TREE is always null on the first FUNCTION_DECL and is not null on the others

2010-07-03 Thread asmprog32 at hotmail dot com
Look at this simple plugins code bug.cpp compile with g++ -shared -I/usr/local/lib/gcc/i686-pc-linux-gnu/4.5.0/plugin/include -DUNIX -g -Wall -Werror -O0 -fPIC -DPIC -o libbug.so bug.cpp than ran this plugins on example.cpp with g++ -S -fplugin=libbug.so example.cpp the output starting lib

[Bug testsuite/44799] New: MAX arguments should have same kind

2010-07-03 Thread zeccav at gmail dot com
INTRINSIC_MINMAX.f90 line 26 seems to me to have different kinds in MAX arguments. R has different kind from 4D0? Should it be MAX(r,4E0) ? What if in the same source you have MAX(real4var,4D0) and MAX(real8var,4E0) ? Best regards Vittorio Zecca -- Summary: MAX arguments should have s

[Bug fortran/44773] [4.6 Regression] Unnecessary temporaries increase the runtime for channel.f90 by ~70%

2010-07-03 Thread tkoenig at gcc dot gnu dot org
-- tkoenig at gcc dot gnu dot org changed: What|Removed |Added Known to work||4.5.0 Target Milestone|--- |4.6.0 http://

[Bug testsuite/44798] New: inconsistent interfaces

2010-07-03 Thread zeccav at gmail dot com
INTRINSIC_ASSOCIATED.f90 lines 38 and 124 are inconsistent. I believe the same array bounds should be specified. Best regards Vittorio Zecca -- Summary: inconsistent interfaces Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal

[Bug testsuite/44797] New: INQUIRE EXIST variable must be default LOGICAL

2010-07-03 Thread zeccav at gmail dot com
INQUIRE_5.f90 lines 22, 26, and 28 use an EXIST variable which is not default LOGICAL. I believe this is not standard. Best regards Vittorio Zecca -- Summary: INQUIRE EXIST variable must be default LOGICAL Product: gcc Version: 4.5.0 Status: UNCONFIRM

[Bug testsuite/44792] data.f90 accesses undefined variable

2010-07-03 Thread zeccav at gmail dot com
--- Comment #2 from zeccav at gmail dot com 2010-07-03 09:15 --- Subject: Re: data.f90 accesses undefined variable I believe it should be + if (any(tmp2(1)%t1(1)%a(1:3:2) .ne. (/111,113/))) call abort or (1:4:2) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44792

[Bug testsuite/44518] [4.5/4.6 regression] objc++ encode-2.mm and encode-3.mm fail on several platforms

2010-07-03 Thread iains at gcc dot gnu dot org
--- Comment #11 from iains at gcc dot gnu dot org 2010-07-03 08:16 --- Subject: Bug 44518 Author: iains Date: Sat Jul 3 08:15:59 2010 New Revision: 161769 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=161769 Log: 2010-07-03 Iain Sandoe Mikael Pettersson

[Bug bootstrap/44458] [4.6 Regression] Bootstrap fails on arm_float_words_big_endian implicit declaration when Ada on arm-linux

2010-07-03 Thread laurent at guerby dot net
--- Comment #6 from laurent at guerby dot net 2010-07-03 07:13 --- Patch: http://gcc.gnu.org/ml/gcc-patches/2010-07/msg00236.html -- laurent at guerby dot net changed: What|Removed |Added