[Bug fortran/40110] New: Bind(C): gfortran rejects the questionable but formally correct INTEGER(C_CHAR)

2009-05-11 Thread burnus at gcc dot gnu dot org
The following program is formally valid though the use of of C_CHAR as INTEGER kind is doubtful and will not work on all systems. (C_CHAR is for CHARACTERS; there is C_SIGNED_CHAR for INTEGERS, which may or may not have the same kind number; in gfortran is has.) However, it is simply a PARAMETER (

[Bug fortran/40006] allow type cheating for procedures with an implicit interface

2009-05-11 Thread pault at gcc dot gnu dot org
--- Comment #9 from pault at gcc dot gnu dot org 2009-05-12 06:07 --- Since I am working on it, I had better take it :-) Paul -- pault at gcc dot gnu dot org changed: What|Removed |Added

[Bug rtl-optimization/40086] [4.5 Regression]: cris-elf gfortran.dg/forall_1.f90 -O1 execution

2009-05-11 Thread bonzini at gnu dot org
--- Comment #10 from bonzini at gnu dot org 2009-05-12 05:58 --- Thanks H-P. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40086

[Bug target/37137] [4.4 Regression] unrecognized command line option "-minterlink-mips16"

2009-05-11 Thread aoliva at gcc dot gnu dot org
--- Comment #7 from aoliva at gcc dot gnu dot org 2009-05-12 05:49 --- Subject: Bug 37137 Author: aoliva Date: Tue May 12 05:49:28 2009 New Revision: 147415 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=147415 Log: ChangeLog: PR target/37137 * Makefile.def (flags_to_pass): Remo

[Bug bootstrap/40103] CLooG header files are not -Wc++-compat ready

2009-05-11 Thread ian at airs dot com
--- Comment #4 from ian at airs dot com 2009-05-12 01:31 --- Suspending until CLooG is fixed. -- ian at airs dot com changed: What|Removed |Added Status|ASSIG

[Bug bootstrap/40103] CLooG header files are not -Wc++-compat ready

2009-05-11 Thread ian at airs dot com
--- Comment #3 from ian at airs dot com 2009-05-12 01:30 --- The bootstrap problem has been fixed by adding a #pragma. When and if the CLooG header files are made -Wc++-compat compatible, that #pragma should be removed. -- ian at airs dot com changed: What|Removed

[Bug bootstrap/40103] [4.5 Regression] error: enum constant defined in struct or union is not visible in C++

2009-05-11 Thread ian at gcc dot gnu dot org
--- Comment #2 from ian at gcc dot gnu dot org 2009-05-12 01:26 --- Subject: Bug 40103 Author: ian Date: Tue May 12 01:26:45 2009 New Revision: 147407 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=147407 Log: PR bootstrap/40103 * graphite.c: Force -Wc++-compat t

[Bug bootstrap/40105] SH: 4.3/4.4 compilers segfault when recompiling itself on gentoo system

2009-05-11 Thread kkojima at gcc dot gnu dot org
--- Comment #1 from kkojima at gcc dot gnu dot org 2009-05-12 00:43 --- Your compilers are the gentoo special versions, aren't they? If so, you should try the original FSF compiler sources for both build/target compilers. See http://gcc.gnu.org/bugs.html#dontwant. FSF 4.3/4.4 release co

[Bug tree-optimization/38632] ICE with try/catch and -ftree-parallelize-loops

2009-05-11 Thread hjl dot tools at gmail dot com
--- Comment #6 from hjl dot tools at gmail dot com 2009-05-12 00:10 --- Fixed. -- hjl dot tools at gmail dot com changed: What|Removed |Added Status|REOPENED

[Bug tree-optimization/38632] ICE with try/catch and -ftree-parallelize-loops

2009-05-11 Thread hjl at gcc dot gnu dot org
--- Comment #5 from hjl at gcc dot gnu dot org 2009-05-12 00:09 --- Subject: Bug 38632 Author: hjl Date: Tue May 12 00:09:17 2009 New Revision: 147401 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=147401 Log: 2009-05-11 H.J. Lu PR tree-optimization/38632 * g

[Bug tree-optimization/38632] ICE with try/catch and -ftree-parallelize-loops

2009-05-11 Thread hjl dot tools at gmail dot com
--- Comment #4 from hjl dot tools at gmail dot com 2009-05-12 00:00 --- It is fixed by revision 146776: http://gcc.gnu.org/ml/gcc-cvs/2009-04/msg01418.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38632

[Bug fortran/39997] Procedure(), pointer & implicit typing: rejects-valid / accepts-invalid?

2009-05-11 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2009-05-11 22:56 --- Now tracked as official Interpretation Request. Request: http://www.j3-fortran.org/doc/year/09/09-236.txt (answer = proposed answer by me). Submitted for: J3 MEETING 189 LAS VEGAS, NEVADA, August 10 - 14, 2009 http:

[Bug rtl-optimization/40086] [4.5 Regression]: cris-elf gfortran.dg/forall_1.f90 -O1 execution

2009-05-11 Thread hp at gcc dot gnu dot org
--- Comment #9 from hp at gcc dot gnu dot org 2009-05-11 21:19 --- (In reply to comment #8) > dbr moves an increment of $r9 *over a use* Actually, "copies", not "moves", which is even worse (sort of; like "how could it be worse"). I'll take it. -- hp at gcc dot gnu dot org changed:

[Bug rtl-optimization/40086] [4.5 Regression]: cris-elf gfortran.dg/forall_1.f90 -O1 execution

2009-05-11 Thread hp at gcc dot gnu dot org
--- Comment #8 from hp at gcc dot gnu dot org 2009-05-11 21:14 --- I see at least one invalid dbr transformation. Assuming you can read m68k assembler, I'm sure you'll have no problem gripping the important parts of: subq 25,$r13 test.b [$r13+$r9.b] - beq .L6 -

[Bug tree-optimization/38632] ICE with try/catch and -ftree-parallelize-loops

2009-05-11 Thread hjl dot tools at gmail dot com
--- Comment #3 from hjl dot tools at gmail dot com 2009-05-11 21:07 --- We shouldn't close a bug without a testcase. Otherwise, it may come back again. -- hjl dot tools at gmail dot com changed: What|Removed |Added -

[Bug tree-optimization/38632] ICE with try/catch and -ftree-parallelize-loops

2009-05-11 Thread reichelt at gcc dot gnu dot org
--- Comment #2 from reichelt at gcc dot gnu dot org 2009-05-11 20:57 --- The bug disappeared on the trunk between 2009-04-24 and 2009-05-04. -- reichelt at gcc dot gnu dot org changed: What|Removed |Added --

[Bug bootstrap/40103] [4.5 Regression] error: enum constant defined in struct or union is not visible in C++

2009-05-11 Thread ian at airs dot com
--- Comment #1 from ian at airs dot com 2009-05-11 20:53 --- I have posted a patch here: http://gcc.gnu.org/ml/gcc-patches/2009-05/msg00587.html The patch is to CLooG. -- ian at airs dot com changed: What|Removed |Added --

[Bug rtl-optimization/40086] [4.5 Regression]: cris-elf gfortran.dg/forall_1.f90 -O1 execution

2009-05-11 Thread hp at gcc dot gnu dot org
--- Comment #7 from hp at gcc dot gnu dot org 2009-05-11 20:47 --- (In reply to comment #5) > It's a latent bug somewhere, possibly in delayed branch scheduling? With vs. without -fno-delayed-branch at 147274 seems to justify this blame. Ugh. I'll see if I can nail it. But, for the rec

[Bug rtl-optimization/40086] [4.5 Regression]: cris-elf gfortran.dg/forall_1.f90 -O1 execution

2009-05-11 Thread hp at gcc dot gnu dot org
--- Comment #6 from hp at gcc dot gnu dot org 2009-05-11 19:40 --- (In reply to comment #4) > I meant my fwprop patch. :-) That's the patch in that revision range, yes... (FWIW, $SRP is the subroutine return pointer, valid to use as data storage if saved.) It's a bit unclear whether L1

[Bug c++/40099] 64bit constants

2009-05-11 Thread Andrey dot Martchovsky at gmail dot com
--- Comment #5 from Andrey dot Martchovsky at gmail dot com 2009-05-11 19:04 --- (In reply to comment #4) > For C++98 and C90, integer constants can only fit into the long type. You need > to use LL if you want a 64bit integer constant. > Thank you for clarifying this. -- http://

[Bug debug/40109] Incorrect debug info nesting for typedef statements within namespaces

2009-05-11 Thread dodji at gcc dot gnu dot org
--- Comment #1 from dodji at gcc dot gnu dot org 2009-05-11 18:29 --- Created an attachment (id=17853) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17853&action=view) Candidate fix I have tested this patch. It bootstraps and passes regtest on trunk. I need to test it on the bran

[Bug c++/40099] 64bit constants

2009-05-11 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2009-05-11 18:27 --- For C++98 and C90, integer constants can only fit into the long type. You need to use LL if you want a 64bit integer constant. -- pinskia at gcc dot gnu dot org changed: What|Removed

[Bug debug/40109] New: Incorrect debug info nesting for typedef statements within namespaces

2009-05-11 Thread dodji at gcc dot gnu dot org
The following program: namespace A{ class B{ }; typedef A::B AB; } int main(){ A::AB ab; return 0; } compiled with gcc generates the following debug info: ... <1><43>: Abbrev Number: 5 (DW_TAG_subprogram) <44> DW_AT_external: 1 <45> DW_AT_name: (indi

[Bug c++/40099] 64bit constants

2009-05-11 Thread Andrey dot Martchovsky at gmail dot com
--- Comment #3 from Andrey dot Martchovsky at gmail dot com 2009-05-11 18:22 --- (In reply to comment #2) > Why is that a problem? C and C++ are different languages. Compiling with g++ > means you are compiling the C code as C++ (see documentation). > My problem is that the error for

[Bug rtl-optimization/40107] [4.5 Regression] gcc.c-torture/execute/builtins/memmove.c and gcc.c-torture/execute/builtins/memmove-chk.c fail at -O1 on spu-elf

2009-05-11 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-05-11 18:10 --- I forgot to say this fails with: LAST_UPDATED: Fri May 8 15:49:15 UTC 2009 (revision 147292) But passed with: LAST_UPDATED: Wed Feb 11 17:03:51 UTC 2009 (revision 144107) -- http://gcc.gnu.org/bugzilla/show_bu

[Bug c/40108] New: gcc.dg/torture/complex-* tests fail on spu-elf

2009-05-11 Thread pinskia at gcc dot gnu dot org
Most of the gcc.dg/torture/complex-* tests fail on spu-elf. This is due to signed zeros are never produced except when doing a negation so the tests most likely should be disabled for spu-elf. -- Summary: gcc.dg/torture/complex-* tests fail on spu-elf Product: gcc

[Bug rtl-optimization/40107] New: [4.5 Regression] gcc.c-torture/execute/builtins/memmove.c and gcc.c-torture/execute/builtins/memmove-chk.c fail at -O1 on spu-elf

2009-05-11 Thread pinskia at gcc dot gnu dot org
+FAIL: gcc.c-torture/execute/builtins/memmove-chk.c execution, -O1 +FAIL: gcc.c-torture/execute/builtins/memmove.c execution, -O1 These testcases used to work in 4.4.0. -- Summary: [4.5 Regression] gcc.c- torture/execute/builtins/memmove.c and gcc.c-

[Bug middle-end/40106] New: Time increase with inlining for the Polyhedron test air.f90

2009-05-11 Thread dominiq at lps dot ens dot fr
The run time of air.f90 of the Polyhedron test suite takes ~15% more time when compiled with -fwhole-file than without the option. I have checked that the subroutines DERIV(X|Y) are inlined with -finline-limit=100, but not with -finline-limit=50 (for the later I recover the timing without -fwhole-

[Bug middle-end/40029] [4.5 Regression] Big degradation on swim/mgrid on powerpc 32/64 after alias improvement merge (gcc r145494)

2009-05-11 Thread luisgpm at linux dot vnet dot ibm dot com
--- Comment #1 from luisgpm at linux dot vnet dot ibm dot com 2009-05-11 18:04 --- Good asm code for a hot loop in swim's "calc1" function 10001e10: lfd f12,-10672(r11) 10001e14: lfd f9,-10672(r9) 10001e18: addir21,r21,16 10001e1c: lfd f7,-10680(

[Bug bootstrap/40105] New: [4.3/4.4 Regression] SH: segfault when recompiling itself

2009-05-11 Thread armin76 at gentoo dot org
Since gcc-4.3 I'm unable to rebuild gcc, please check the downstream bug: http://bugs.gentoo.org/show_bug.cgi?id=267247 As pointed out there, it compiles with gcc-4.1.2, but after upgrading to gcc-4.3, switching to that compiler, and recompiling itself, it segfaults. sh4-unknown-linux-gnu-gcc -

[Bug fortran/39865] ICE in gfc_conv_scalarized_array_ref

2009-05-11 Thread jakub at gcc dot gnu dot org
--- Comment #10 from jakub at gcc dot gnu dot org 2009-05-11 17:30 --- Testcase: subroutine f1 (a) character(len=1) :: a(7:) character(len=12) :: b character(len=1) :: c(2:10) write (b, a) 'Hell', 'o wo', 'rld!' if (b .ne. 'Hello world!') call abort write (b, a(:)) 'Hell', '

[Bug middle-end/40043] [4.5 Regression] ICE with nested try/catch

2009-05-11 Thread hjl dot tools at gmail dot com
--- Comment #4 from hjl dot tools at gmail dot com 2009-05-11 17:23 --- Fixed. -- hjl dot tools at gmail dot com changed: What|Removed |Added Status|UNCONFIRM

[Bug middle-end/40043] [4.5 Regression] ICE with nested try/catch

2009-05-11 Thread hjl dot tools at gmail dot com
--- Comment #3 from hjl dot tools at gmail dot com 2009-05-11 17:22 --- *** Bug 40100 has been marked as a duplicate of this bug. *** -- hjl dot tools at gmail dot com changed: What|Removed |Added ---

[Bug middle-end/40100] [4.5 Regression] verify_flow_info failed with -O2

2009-05-11 Thread hjl dot tools at gmail dot com
--- Comment #3 from hjl dot tools at gmail dot com 2009-05-11 17:22 --- *** This bug has been marked as a duplicate of 40043 *** -- hjl dot tools at gmail dot com changed: What|Removed |Added --

[Bug other/40104] ARG_MAX erroneously used in upc-4.2.3.6/gcc/upc/upc-cmd.c

2009-05-11 Thread nmm1 at cam dot ac dot uk
--- Comment #2 from nmm1 at cam dot ac dot uk 2009-05-11 17:17 --- I have now found a SECOND set of instructions on how to report a bug in gcc upc. I will copy this to http://www.intrepid.com/upc/bugs.html. Please just cancel this report if this is the wrong place. -- http://gcc.gn

[Bug middle-end/40100] [4.5 Regression] verify_flow_info failed with -O2

2009-05-11 Thread hubicka at gcc dot gnu dot org
--- Comment #2 from hubicka at gcc dot gnu dot org 2009-05-11 17:16 --- It compiles for me at -O2 and x86_64-linux. I fixed bug with similar symptoms last week, does it still reproduce? Honza -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40100

[Bug bootstrap/40103] [4.5 Regression] error: enum constant defined in struct or union is not visible in C++

2009-05-11 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added CC||ian at gcc dot gnu dot org Severity|normal

[Bug other/40104] ARG_MAX erroneously used in upc-4.2.3.6/gcc/upc/upc-cmd.c

2009-05-11 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-05-11 17:12 --- UPC is not part of the FSF GCC at all, report this issue to the UPC folks. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug c/40104] New: ARG_MAX erroneously used in upc-4.2.3.6/gcc/upc/upc-cmd.c

2009-05-11 Thread nmm1 at cam dot ac dot uk
upc-4.2.3.6/gcc/upc/upc-cmd.c contains the line: char *all_exec_args[ARG_MAX]; That is erroneous, because ARG_MAX is not set on a system where it is variable and exceeds the maximum, as under SUSE 11.1. But the failure is generic to all POSIX systems. -- Summary: ARG_MAX errone

[Bug bootstrap/40103] New: [4.5 Regression] error: enum constant defined in struct or union is not visible in C++

2009-05-11 Thread dominiq at lps dot ens dot fr
Bootstrap is broken again at revision 147380 (147349 worked): ... /opt/gcc/i686-darwin/./prev-gcc/xgcc -B/opt/gcc/i686-darwin/./prev-gcc/ -B/opt/gcc/gcc4.5w/i686-apple-darwin9/bin/ -c -g -O2 -fomit-frame-pointer -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-q

[Bug middle-end/40102] [4.5 Regression] Revision 147294 caused ICE: verify_cgraph_node

2009-05-11 Thread hjl dot tools at gmail dot com
--- Comment #1 from hjl dot tools at gmail dot com 2009-05-11 16:56 --- It is caused by revision 147294: http://gcc.gnu.org/ml/gcc-cvs/2009-05/msg00268.html -- hjl dot tools at gmail dot com changed: What|Removed |Added ---

[Bug middle-end/40080] [4.5 Regression] error: missing callgraph edge for call stmt

2009-05-11 Thread hjl at gcc dot gnu dot org
--- Comment #7 from hjl at gcc dot gnu dot org 2009-05-11 16:49 --- Subject: Bug 40080 Author: hjl Date: Mon May 11 16:49:17 2009 New Revision: 147390 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=147390 Log: 2009-05-11 H.J. Lu Backport from mainline: 2009-0

[Bug middle-end/40043] [4.5 Regression] ICE with nested try/catch

2009-05-11 Thread hjl at gcc dot gnu dot org
--- Comment #2 from hjl at gcc dot gnu dot org 2009-05-11 16:49 --- Subject: Bug 40043 Author: hjl Date: Mon May 11 16:49:17 2009 New Revision: 147390 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=147390 Log: 2009-05-11 H.J. Lu Backport from mainline: 2009-0

[Bug middle-end/40080] [4.5 Regression] error: missing callgraph edge for call stmt

2009-05-11 Thread hjl dot tools at gmail dot com
--- Comment #6 from hjl dot tools at gmail dot com 2009-05-11 16:40 --- Fixed. -- hjl dot tools at gmail dot com changed: What|Removed |Added Status|NEW

[Bug middle-end/40083] [4.5 Regression] Revision 147294 failed 403.gcc in SPEC CPU 2006 at -O3

2009-05-11 Thread hjl dot tools at gmail dot com
--- Comment #4 from hjl dot tools at gmail dot com 2009-05-11 16:39 --- Fixed by revision 147320: http://gcc.gnu.org/ml/gcc-cvs/2009-05/msg00294.html -- hjl dot tools at gmail dot com changed: What|Removed |Added --

[Bug middle-end/40080] [4.5 Regression] error: missing callgraph edge for call stmt

2009-05-11 Thread hjl at gcc dot gnu dot org
--- Comment #5 from hjl at gcc dot gnu dot org 2009-05-11 16:37 --- Subject: Bug 40080 Author: hjl Date: Mon May 11 16:37:07 2009 New Revision: 147389 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=147389 Log: 2009-05-11 H.J. Lu PR middle-end/40080 * gcc.c-to

[Bug c++/40075] deprecated("xxx") doesn't work on function parameter

2009-05-11 Thread hjl dot tools at gmail dot com
--- Comment #2 from hjl dot tools at gmail dot com 2009-05-11 16:27 --- This patch: --- cp/decl.c.foo 2009-05-08 13:54:31.0 -0700 +++ cp/decl.c 2009-05-11 09:26:21.0 -0700 @@ -8065,6 +8065,9 @@ grokdeclarator (const cp_declarator *dec type = cp_build_qualified

[Bug middle-end/40026] [4.5 Regression] ICE during gimplify_init_constructor

2009-05-11 Thread bonzini at gcc dot gnu dot org
--- Comment #7 from bonzini at gnu dot org 2009-05-11 16:06 --- Subject: Bug 40026 Author: bonzini Date: Mon May 11 16:05:45 2009 New Revision: 147386 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=147386 Log: 2009-05-11 Paolo Bonzini PR tree-optimization/40026

[Bug middle-end/40102] [4.5 Regression] ICE: verify_cgraph_node

2009-05-11 Thread reichelt at gcc dot gnu dot org
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.5.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40102

[Bug middle-end/40102] New: [4.5 Regression] ICE: verify_cgraph_node

2009-05-11 Thread reichelt at gcc dot gnu dot org
The following testcase triggers an ICE on trunk when compiled with "-O2": bool foo0(int) { return true; } bool foo1(); void foo2(bool); template inline void bar1(T f) { if (f(0)) foo1(); } template void bar2(T f) { while (foo1()) {

[Bug fortran/40089] Public type with public component which has a private type

2009-05-11 Thread janus at gcc dot gnu dot org
--- Comment #6 from janus at gcc dot gnu dot org 2009-05-11 14:19 --- Fixed with r147379. Closing. -- janus at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/40089] Public type with public component which has a private type

2009-05-11 Thread janus at gcc dot gnu dot org
--- Comment #5 from janus at gcc dot gnu dot org 2009-05-11 14:14 --- Subject: Bug 40089 Author: janus Date: Mon May 11 14:14:38 2009 New Revision: 147379 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=147379 Log: 2009-05-11 Janus Weil PR fortran/40089 * reso

[Bug rtl-optimization/40101] [4.5 Regression] 200.sixtrack ICEs in get_seqno_by_preds, at sel-sched-ir.c:3752

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

[Bug rtl-optimization/40101] New: [4.5 Regression] 200.sixtrack ICEs in get_seqno_by_preds, at sel-sched-ir.c:3752

2009-05-11 Thread rguenth at gcc dot gnu dot org
/gcc/spec/sb-terbium-head-64/ia64/install-200905081754/bin/gfortran -c -o daten.o -O3 daten.f daten.f: In function 'daten': daten.f:1850: internal compiler error: in get_seqno_by_preds, at sel-sched-ir.c:3752 Please submit a full bug report, with preprocessed source if appropriate. Se

[Bug middle-end/39509] [4.3/4.4/4.5 Regression] bad optimization(?) pure virtual function call with -O2

2009-05-11 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Known to fail|4.3.3 |4.2.4 4.3.3 4.4.0 Known to work||4.1

[Bug middle-end/39509] bad optimization(?) pure virtual function call with -O2

2009-05-11 Thread rguenther at suse dot de
--- Comment #12 from rguenther at suse dot de 2009-05-11 13:10 --- Subject: Re: bad optimization(?) pure virtual function call with -O2 On Mon, 11 May 2009, jwakely dot gcc at gmail dot com wrote: > --- Comment #11 from jwakely dot gcc at gmail dot com 2009-05-11 13:09 > --

[Bug middle-end/39509] bad optimization(?) pure virtual function call with -O2

2009-05-11 Thread jwakely dot gcc at gmail dot com
--- Comment #11 from jwakely dot gcc at gmail dot com 2009-05-11 13:09 --- It does seem to be a regression. I preprocessed the program in comment 4 with GCC version 4.1.2 20071124 (Red Hat 4.1.2-42), then ran uninclude to produce a standalone testcase and compiled it with different ver

[Bug tree-optimization/40074] [4.4/4.5 Regression] ICE in vect_get_vec_def_for_operand, at tree-vect-stmts.c:944

2009-05-11 Thread irar at il dot ibm dot com
--- Comment #18 from irar at il dot ibm dot com 2009-05-11 12:45 --- Fixed. -- irar at il dot ibm dot com changed: What|Removed |Added Status|ASSIGNED

[Bug middle-end/39509] bad optimization(?) pure virtual function call with -O2

2009-05-11 Thread rguenther at suse dot de
--- Comment #10 from rguenther at suse dot de 2009-05-11 12:44 --- Subject: Re: bad optimization(?) pure virtual function call with -O2 On Mon, 11 May 2009, jwakely dot gcc at gmail dot com wrote: > --- Comment #9 from jwakely dot gcc at gmail dot com 2009-05-11 12:42 > ---

[Bug middle-end/39509] bad optimization(?) pure virtual function call with -O2

2009-05-11 Thread jwakely dot gcc at gmail dot com
--- Comment #9 from jwakely dot gcc at gmail dot com 2009-05-11 12:42 --- The testcase will have included lots of code from Boost headers conditionally based on __GNUC__ etc. so it's not surprising it doesn't compile with 4.1 or 4.2 If wanted I can produce an unincluded version using 4

[Bug tree-optimization/40074] [4.4/4.5 Regression] ICE in vect_get_vec_def_for_operand, at tree-vect-stmts.c:944

2009-05-11 Thread irar at gcc dot gnu dot org
--- Comment #17 from irar at gcc dot gnu dot org 2009-05-11 12:33 --- Subject: Bug 40074 Author: irar Date: Mon May 11 12:33:13 2009 New Revision: 147372 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=147372 Log: PR tree-optimization/40074 * tree-vect-data-refs.c

[Bug rtl-optimization/40086] [4.5 Regression]: cris-elf gfortran.dg/forall_1.f90 -O1 execution

2009-05-11 Thread bonzini at gnu dot org
--- Comment #5 from bonzini at gnu dot org 2009-05-11 12:28 --- It's a latent bug somewhere, possibly in delayed branch scheduling? fwprop1 does a single copy propagation which is trivially valid. Analyzing -O1 -fno-delayed-branch vs. -O1 -fno-delayed-branch -fno-forward-propagate, I'm

[Bug tree-optimization/40081] verify_stmts failed with -O2

2009-05-11 Thread rguenth at gcc dot gnu dot org
--- Comment #10 from rguenth at gcc dot gnu dot org 2009-05-11 12:23 --- Did I say fixed? -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Stat

[Bug tree-optimization/40081] verify_stmts failed with -O2

2009-05-11 Thread rguenth at gcc dot gnu dot org
--- Comment #9 from rguenth at gcc dot gnu dot org 2009-05-11 12:23 --- Ok, I simply consider this fixed for 4.5. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug middle-end/39509] bad optimization(?) pure virtual function call with -O2

2009-05-11 Thread rguenth at gcc dot gnu dot org
--- Comment #8 from rguenth at gcc dot gnu dot org 2009-05-11 12:04 --- 4.1 and 4.2 cannot compile the testcase. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/39509] bad optimization(?) pure virtual function call with -O2

2009-05-11 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2009-05-11 12:03 --- Created an attachment (id=17852) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17852&action=view) unincluded testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39509

[Bug tree-optimization/40074] [4.4/4.5 Regression] ICE in vect_get_vec_def_for_operand, at tree-vect-stmts.c:944

2009-05-11 Thread irar at gcc dot gnu dot org
--- Comment #16 from irar at gcc dot gnu dot org 2009-05-11 11:54 --- Subject: Bug 40074 Author: irar Date: Mon May 11 11:54:02 2009 New Revision: 147370 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=147370 Log: PR tree-optimization/40074 * tree-vect-analyze.c (

[Bug middle-end/39509] bad optimization(?) pure virtual function call with -O2

2009-05-11 Thread jwakely dot gcc at gmail dot com
--- Comment #6 from jwakely dot gcc at gmail dot com 2009-05-11 11:23 --- I was using Boost 1.37.0 with: Using built-in specs. Target: x86_64-unknown-linux-gnu Configured with: ../gcc-4.5-20090402/configure --prefix=/dev/shm/wakelyjo/insroot/4.5-20090402 --enable-languages=c,c++ --disa

[Bug middle-end/39509] bad optimization(?) pure virtual function call with -O2

2009-05-11 Thread jwakely dot gcc at gmail dot com
--- Comment #5 from jwakely dot gcc at gmail dot com 2009-05-11 11:15 --- I can reproduce this on x86_64-unknown-linux-gnu at -O2 with 4.3.2 and 4.5-20090402 snapshot, and at -O3 with 4.2.2 I can't reproduce it with 4.1.2 -- jwakely dot gcc at gmail dot com changed: Wha

[Bug fortran/40089] Public type with public component which has a private type

2009-05-11 Thread burnus at gcc dot gnu dot org
--- Comment #4 from burnus at gcc dot gnu dot org 2009-05-11 10:20 --- > && !gfc_check_access (c->ts.derived->attr.access, > c->ts.derived->ns->default_access)) > { > - gfc_notify_std (GFC_STD_F2003, "Fortran 2003: the component '

[Bug rtl-optimization/40086] [4.5 Regression]: cris-elf gfortran.dg/forall_1.f90 -O1 execution

2009-05-11 Thread bonzini at gnu dot org
--- Comment #4 from bonzini at gnu dot org 2009-05-11 10:15 --- I meant my fwprop patch. :-) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40086

[Bug middle-end/40100] [4.5 Regression] verify_flow_info failed with -O2

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

[Bug fortran/40089] Public type with public component which has a private type

2009-05-11 Thread janus at gcc dot gnu dot org
--- Comment #3 from janus at gcc dot gnu dot org 2009-05-11 09:55 --- Actually gfortran even has the same check as NAG that rejects a private type as component of a public type with -std=f95. And it happens that the bug which leads to the bogus error message lies just in this check. Thus

[Bug c++/40100] verify_flow_info failed with -O2

2009-05-11 Thread dcb314 at hotmail dot com
--- Comment #1 from dcb314 at hotmail dot com 2009-05-11 09:23 --- Created an attachment (id=17851) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17851&action=view) C++ source code -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40100

[Bug c++/40100] New: verify_flow_info failed with -O2

2009-05-11 Thread dcb314 at hotmail dot com
I just tried to compile the Suse Linux package djvulibre-3.5.21-1.85 with the GNU g++ version 4.5 snapshot 20090507. The compiler said DjVuDocEditor.cpp:596: error: EH edge 283->1258 is missing DjVuDocEditor.cpp:596: error: unnecessary EH edge 283->982 DjVuDocEditor.cpp:596: error: EH edge 285->1

[Bug fortran/39791] [4.3 Regression] Bad Dwarf debug information from gfortran for a character string.

2009-05-11 Thread burnus at gcc dot gnu dot org
--- Comment #5 from burnus at gcc dot gnu dot org 2009-05-11 09:17 --- The patch caused a regression, see PR 40061 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39791

[Bug middle-end/40026] [4.5 Regression] ICE during gimplify_init_constructor

2009-05-11 Thread bonzini at gnu dot org
--- Comment #6 from bonzini at gnu dot org 2009-05-11 09:04 --- Created an attachment (id=17850) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17850&action=view) patch to fix the bug -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40026

[Bug fortran/40089] Public type with public component which has a private type

2009-05-11 Thread janus at gcc dot gnu dot org
--- Comment #2 from janus at gcc dot gnu dot org 2009-05-11 08:23 --- > Thus I would reason that g95, ifort and NAG (assuming Juergen Reuter is using > it) are correct in accepting it. NAG indeed accepts it with -f2003. With -f95 it reports Extension: c0.f90, line 32: Dummy ARG of PUB

[Bug fortran/40089] Public type with public component which has a private type

2009-05-11 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2009-05-11 08:07 --- Without heavily thinking about it: > print *,public_var_with_private_type%i Seems to be valid in Fortran 2003 (but not in 2003). The components are not PRIVATE and thus accessibly, even if the TYPE declaration is no

[Bug middle-end/40026] [4.5 Regression] ICE during gimplify_init_constructor

2009-05-11 Thread bonzini at gnu dot org
--- Comment #5 from bonzini at gnu dot org 2009-05-11 07:02 --- I have a patch. It's just that TREE_OPERAND (*expr, 1) must be changed to new_ctor. -- bonzini at gnu dot org changed: What|Removed |Added