[Bug fortran/32512] New: efficiency of RESHAPE and SPREAD

2007-06-26 Thread highegg at gmail dot com
gfortran currently implements the TRANSPOSE intrinsic by simply rearranging the array descriptor, which can save considerable time when passed to an assumed-shape argument. Two more intrinsics can be implemented in this way: RESHAPE can check for contiguity of its argument and if so, only

[Bug fortran/32512] efficiency of RESHAPE and SPREAD

2007-06-26 Thread highegg at gmail dot com
--- Comment #1 from highegg at gmail dot com 2007-06-26 06:36 --- Created an attachment (id=13790) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13790action=view) speedtester of TRANSPOSE, RESHAPE and SPREAD this testcase tests speed of constructing an array via TRANSPOSE, RESHAPE

[Bug middle-end/31150] [4.1/4.2/4.3 Regression] Not promoting an whole array to be static const

2007-06-26 Thread eres at il dot ibm dot com
--- Comment #3 from eres at il dot ibm dot com 2007-06-26 07:42 --- Created an attachment (id=13791) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13791action=view) fix PR31150 Attached is a patch to initialize the scalar elmenets of the array which should fix this problem. char

[Bug fortran/32472] ICE in trans-const.c:106 for REPEAT initialization expression of non-parameter

2007-06-26 Thread pault at gcc dot gnu dot org
--- Comment #4 from pault at gcc dot gnu dot org 2007-06-26 09:48 --- (In reply to comment #3) I have a fix for this that needs a bit of cleaning up - will submit tonight. For some reason, gfc_simplify_repeat denies even the possibility of character literal arguments - it's not even

[Bug c++/32492] [4.3 Regression] attribute always_inline - sorry, unimplemented: recursive inlining

2007-06-26 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2007-06-26 10:32 --- The types do not match at gimplification time: (gdb) call debug_tree (x) integer_type 0x2b07ce1fb540 int public SI size integer_cst 0x2b07ce1e8a50 type integer_type 0x2b07ce1fb0c0 bit_size_type constant

[Bug tree-optimization/32500] [4.2 Regression] Loop optimization limits range to size of array used inside loop

2007-06-26 Thread rguenth at gcc dot gnu dot org
--- Comment #10 from rguenth at gcc dot gnu dot org 2007-06-26 10:45 --- Confirmed. This is a VRP or SCEV bug. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/32503] __builtin_powi - optimize for other exponents besides 2 and 0.5

2007-06-26 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2007-06-26 10:47 --- Confirmed. I had done tree-level expansion of powi into add/mul sequences at one time. But this had been rejected for some reason I cannot remember right now. -- rguenth at gcc dot gnu dot org changed:

[Bug fortran/32512] efficiency of RESHAPE and SPREAD

2007-06-26 Thread highegg at gmail dot com
--- Comment #2 from highegg at gmail dot com 2007-06-26 10:56 --- Just an informal note: Apparently (using the testcase), EkoPath 3.0 has a fast RESHAPE but not fast SPREAD, while Intel 9.1 and current g95 have neither. -- highegg at gmail dot com changed: What

[Bug tree-optimization/32500] [4.2 Regression] Loop optimization limits range to size of array used inside loop

2007-06-26 Thread ed at fxq dot nl
--- Comment #11 from ed at fxq dot nl 2007-06-26 11:26 --- It seems to be solved when using -fno-tree-vrp. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32500

[Bug preprocessor/28709] [4.0/4.1 regression] Bad diagnostic pasting tokens with ##

2007-06-26 Thread jakub at gcc dot gnu dot org
--- Comment #14 from jakub at gcc dot gnu dot org 2007-06-26 11:44 --- Subject: Bug 28709 Author: jakub Date: Tue Jun 26 11:43:50 2007 New Revision: 126021 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=126021 Log: PR preprocessor/28709 * macro.c (paste_tokens):

[Bug middle-end/27567] [4.0/4.1 Regression] __builtin_memcpy generates redundant stores/moves.

2007-06-26 Thread jakub at gcc dot gnu dot org
--- Comment #12 from jakub at gcc dot gnu dot org 2007-06-26 11:45 --- Subject: Bug 27567 Author: jakub Date: Tue Jun 26 11:45:35 2007 New Revision: 126022 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=126022 Log: PR middle-end/27567 * builtins.c

[Bug middle-end/29272] [4.2 Regression] memcpy optimization causes wrong-code

2007-06-26 Thread jakub at gcc dot gnu dot org
--- Comment #18 from jakub at gcc dot gnu dot org 2007-06-26 11:47 --- Subject: Bug 29272 Author: jakub Date: Tue Jun 26 11:47:19 2007 New Revision: 126023 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=126023 Log: PR middle-end/29272 * builtins.c

[Bug tree-optimization/29059] [4.2 regression] ICE: verify_stmts failed (invalid operand to unary operator [0];)

2007-06-26 Thread jakub at gcc dot gnu dot org
--- Comment #9 from jakub at gcc dot gnu dot org 2007-06-26 11:49 --- Subject: Bug 29059 Author: jakub Date: Tue Jun 26 11:48:55 2007 New Revision: 126024 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=126024 Log: PR tree-opt/29059 * tree-ssa-propagate.c

[Bug middle-end/29299] [4.2 Regression] gcc used attribute has no effect on local-scope static variables

2007-06-26 Thread jakub at gcc dot gnu dot org
--- Comment #12 from jakub at gcc dot gnu dot org 2007-06-26 11:52 --- Subject: Bug 29299 Author: jakub Date: Tue Jun 26 11:52:20 2007 New Revision: 126026 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=126026 Log: 2006-10-18 Jan Hubicka [EMAIL PROTECTED] PR

[Bug fortran/32512] efficiency of RESHAPE and SPREAD

2007-06-26 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2007-06-26 11:54 --- Just to show how much time can be saved, I compared the speed with different compilers (on x86-64/Linux): gfortran sunstudio12 ifort9.1/10 open64 NAGf95 g95 ---

[Bug c++/31187] [4.2/4.3 regression] extern declaration of variable in anonymous namespace prevents use of its address as template argument

2007-06-26 Thread jakub at gcc dot gnu dot org
--- Comment #10 from jakub at gcc dot gnu dot org 2007-06-26 11:57 --- Subject: Bug 31187 Author: jakub Date: Tue Jun 26 11:57:42 2007 New Revision: 126027 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=126027 Log: 2007-03-30 Jason Merrill [EMAIL PROTECTED] PR

[Bug c++/32492] [4.3 Regression] attribute always_inline - sorry, unimplemented: recursive inlining

2007-06-26 Thread mark at codesourcery dot com
--- Comment #2 from mark at codesourcery dot com 2007-06-26 12:14 --- Subject: Re: [4.3 Regression] attribute always_inline - sorry, unimplemented: recursive inlining rguenth at gcc dot gnu dot org wrote: TYPE_ARG_TYPES says we want a char, but the call expression has an int. I

[Bug tree-optimization/32230] [4.3 Regression] Segfault in set_bb_for_stmt with -O -ftree-vectorize

2007-06-26 Thread eres at il dot ibm dot com
--- Comment #4 from eres at il dot ibm dot com 2007-06-26 12:19 --- There are places which checks that bsi_insert_on_edge_immediate returns NULL so checking for NULL before calling it would change the semantic. Here is the fix for this SIGSEGV: Index: tree-cfg.c

[Bug libstdc++/32509] [4.1 regression] unable to explicitely configure with a given locale model

2007-06-26 Thread debian-gcc at lists dot debian dot org
--- Comment #4 from debian-gcc at lists dot debian dot org 2007-06-26 12:28 --- ok, this is dependent on the build environment; I'm still unsure why I don't see this on the gcc-4_1-branch. both 4.1 and 4.2 are configured with --enable-clocale=gnu. On the gcc-4_1-branch, the sanity test

[Bug target/32342] [4.3 Regression] ICE in reload_cse_simplify_operands, at postreload.c:396

2007-06-26 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-06-26 13:33 --- *** This bug has been marked as a duplicate of 32374 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/32374] [4.3 Regression] internal compiler error: in reload_cse_simplify_operands, at postreload.c:396

2007-06-26 Thread pinskia at gcc dot gnu dot org
--- Comment #10 from pinskia at gcc dot gnu dot org 2007-06-26 13:33 --- *** Bug 32342 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/32492] [4.3 Regression] attribute always_inline - sorry, unimplemented: recursive inlining

2007-06-26 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added CC||pinskia at gcc dot gnu dot |

[Bug preprocessor/23479] Implement binary constants with a 0b prefix

2007-06-26 Thread manu at gcc dot gnu dot org
--- Comment #33 from manu at gcc dot gnu dot org 2007-06-26 14:38 --- (In reply to comment #31) Just mentioning: printf() and std::cout need to be updated if the binary values are also to be *output*. Any ideas on how or where that is to be done? As Joerg pointed out, that is a

[Bug c/32492] [4.3 Regression] attribute always_inline - sorry, unimplemented: recursive inlining

2007-06-26 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2007-06-26 14:39 --- The C front-end has the same wrong type. ./cc1 -funit-at-a-time t.c gives: t33.c: In function 'f3': t33.c:2: sorry, unimplemented: inlining failed in call to 'f2': recursive inlining t33.c:3: sorry, unimplemented:

[Bug c/32492] [4.3 Regression] attribute always_inline - sorry, unimplemented: recursive inlining

2007-06-26 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2007-06-26 14:51 --- Related to PR 15484, at least that PR is the underlying cause. For the C front-end the promoting happens in convert_arguments, c-typeck.c. -- pinskia at gcc dot gnu dot org changed: What|Removed

[Bug middle-end/32492] [4.3 Regression] attribute always_inline - sorry, unimplemented: recursive inlining

2007-06-26 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2007-06-26 14:53 --- I am going to change the component as middle-end while someone figures out if we want to promote in the front-ends or later on. I say we want to promote in front-ends rather than later on because we get more

[Bug fortran/32439] hard-coded memory limit ? f951: out of memory with '-O1 -fbounds-check'

2007-06-26 Thread jv244 at cam dot ac dot uk
--- Comment #3 from jv244 at cam dot ac dot uk 2007-06-26 14:59 --- I ran the compilation now on a machine with 64Gb of memory, and it still failed. According to 'top' the memory used by f951 was about 4Gb. The error message: f951: out of memory allocating 4064 bytes after a total of

[Bug middle-end/32492] [4.3 Regression] attribute always_inline - sorry, unimplemented: recursive inlining

2007-06-26 Thread rguenther at suse dot de
--- Comment #6 from rguenther at suse dot de 2007-06-26 15:03 --- Subject: Re: [4.3 Regression] attribute always_inline - sorry, unimplemented: recursive inlining On Tue, 26 Jun 2007, pinskia at gcc dot gnu dot org wrote: --- Comment #5 from pinskia at gcc dot gnu dot org

[Bug ada/31669] GNAT blows up during compilation

2007-06-26 Thread anhvofrcaus at gmail dot com
--- Comment #3 from anhvofrcaus at gmail dot com 2007-06-26 15:15 --- This problem does not occur in gcc-4.3-20070615. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31669

Re: [Bug c++/32492] [4.3 Regression] attribute always_inline - sorry, unimplemented: recursive inlining

2007-06-26 Thread Daniel Jacobowitz
Can we get a better error message than recursive inlining, btw? :-) -- Daniel Jacobowitz CodeSourcery

[Bug c/32510] can't compile with command recodif

2007-06-26 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-06-26 15:16 --- This is not a GCC bug. Most likely what is happening is recodif is changing LD_LIBRARY_PATH and ignoring the old one. There is nothing GCC can do about this. -- pinskia at gcc dot gnu dot org changed:

Re: [Bug fortran/32439] hard-coded memory limit ? f951: out of memory with '-O1 -fbounds-check'

2007-06-26 Thread Andrew Pinski
On 26 Jun 2007 14:59:27 -, jv244 at cam dot ac dot uk [EMAIL PROTECTED] wrote: f951: out of memory allocating 4064 bytes after a total of 1148219392 bytes Ignore the second number, it just is total count of memory allocated via xmalloc and not the amount of memory used at the time of the

[Bug fortran/32439] hard-coded memory limit ? f951: out of memory with '-O1 -fbounds-check'

2007-06-26 Thread pinskia at gmail dot com
--- Comment #4 from pinskia at gmail dot com 2007-06-26 15:20 --- Subject: Re: hard-coded memory limit ? f951: out of memory with '-O1 -fbounds-check' On 26 Jun 2007 14:59:27 -, jv244 at cam dot ac dot uk [EMAIL PROTECTED] wrote: f951: out of memory allocating 4064 bytes after a

Re: [Bug middle-end/30075] Missed optimizations with -fwhole-program -combine

2007-06-26 Thread Daniel Berlin
On 26 Jun 2007 03:10:26 -, acahalan at gmail dot com [EMAIL PROTECTED] wrote: --- Comment #4 from acahalan at gmail dot com 2007-06-26 03:10 --- (In reply to comment #3) Subject: Re: Missed optimizations with -fwhole-program -combine I would not expect this to be fixed anytime

[Bug middle-end/30075] Missed optimizations with -fwhole-program -combine

2007-06-26 Thread dberlin at dberlin dot org
--- Comment #5 from dberlin at gcc dot gnu dot org 2007-06-26 15:29 --- Subject: Re: Missed optimizations with -fwhole-program -combine On 26 Jun 2007 03:10:26 -, acahalan at gmail dot com [EMAIL PROTECTED] wrote: --- Comment #4 from acahalan at gmail dot com 2007-06-26

[Bug middle-end/32514] New: out of memory using -fprofile-generate

2007-06-26 Thread jv244 at cam dot ac dot uk
the source made available as http://www.pci.unizh.ch/vandevondele/tmp/CP2K_gcc_2007_06.tgz gfortran -O1 -fprofile-generate all.f90 fails with f951: out of memory allocating 9 bytes after a total of 1076375552 bytes even though the machine has 64Gb of ram, and according to top f951 uses

[Bug fortran/32515] New: F2003: Reject COMMON block names if local symbol already exists

2007-06-26 Thread burnus at gcc dot gnu dot org
! F95: 14.1.2.1: ! A common block name in a scoping unit also may be the name of any local ! entity other than a named constant, intrinsic procedure, or a local variable ! that is also an external function in a function subprogram. ! ! F2003: 16.2.1 ! A name that identifies a common block in a

[Bug fortran/32515] F2003: Reject COMMON block names if local symbol already exists

2007-06-26 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2007-06-26 15:52 --- Created an attachment (id=13792) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13792action=view) Test case I believe the attached program is valid in Fortran 2003 (modulo typos; as no compiler accepts it, I

[Bug target/32457] [4.3 Regression] Complete program optimized away (i686, -ftree-vectorize)

2007-06-26 Thread spop at gcc dot gnu dot org
--- Comment #13 from spop at gcc dot gnu dot org 2007-06-26 16:03 --- Subject: Re: [4.3 Regression] Complete program optimized away (i686, -ftree-vectorize) I just reduced the problem to this snippet: the problem seems to be that the data dependence analysis is wrong by answering that

[Bug target/28904] operand out of range on Linux/PowerPC

2007-06-26 Thread srm at schokokeks dot org
--- Comment #4 from srm at schokokeks dot org 2007-06-26 16:12 --- the same here on gentoo-ppc-2.6.21, using gcc-4.1.2 Powerbook G4(5,6) trying to compile Crystalspace v1.2 --with-python When ommiting -fPIC OR using --without-python, the build works. I will see if a revert to 4.1.1

[Bug fortran/25062] same name for parameter and common block

2007-06-26 Thread burnus at gcc dot gnu dot org
-- burnus at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |burnus at gcc dot gnu dot |dot org

[Bug fortran/25062] same name for parameter and common block

2007-06-26 Thread patchapp at dberlin dot org
--- Comment #9 from patchapp at dberlin dot org 2007-06-26 16:25 --- Subject: Bug number PR 25062 A patch for this bug has been added to the patch tracker. The mailing list url for the patch is http://gcc.gnu.org/ml/gcc-patches/2007-06/msg01932.html --

[Bug target/32457] [4.3 Regression] Complete program optimized away (i686, -ftree-vectorize)

2007-06-26 Thread burnus at gcc dot gnu dot org
--- Comment #14 from burnus at gcc dot gnu dot org 2007-06-26 16:25 --- REAL, DIMENSION(0:100) :: RBOUND I thought that the array indices start from 1, and not from 0. Well, dimension(5) means from 1 to 5, but e.g. dimension(-2:4:2) means the indices {-2, 0, 2, 4}. And in the

[Bug middle-end/32492] [4.3 Regression] attribute always_inline - sorry, unimplemented: recursive inlining

2007-06-26 Thread drow at gcc dot gnu dot org
--- Comment #7 from drow at gcc dot gnu dot org 2007-06-26 16:29 --- Can we fix the error message, while we're here? Obviously it wasn't recursive inlining. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32492

[Bug target/32457] [4.3 Regression] Complete program optimized away (i686, -ftree-vectorize)

2007-06-26 Thread spop at gcc dot gnu dot org
--- Comment #15 from spop at gcc dot gnu dot org 2007-06-26 16:33 --- Subject: Re: [4.3 Regression] Complete program optimized away (i686, -ftree-vectorize) Aha, thanks for the clarifications, and sorry for the noise. I should read again some fortran tutorial or some more code written

[Bug target/32437] [4.3 Regression] MIPS: FAIL in gcc.dg/cleanup-[8|9|10|11].c

2007-06-26 Thread daney at gcc dot gnu dot org
--- Comment #15 from daney at gcc dot gnu dot org 2007-06-26 17:14 --- mipsel-linux test results are here: http://gcc.gnu.org/ml/gcc-testresults/2007-06/msg01158.html The offending gcc.dg/cleanup-[8|9|10|11].c tests now pass as do almost all C++ and libstdc++ tests. -- daney at

[Bug target/32437] [4.3 Regression] MIPS: FAIL in gcc.dg/cleanup-[8|9|10|11].c

2007-06-26 Thread zadeck at naturalbridge dot com
--- Comment #16 from zadeck at naturalbridge dot com 2007-06-26 17:27 --- Subject: Re: [4.3 Regression] MIPS: FAIL in gcc.dg/cleanup-[8|9|10|11].c daney at gcc dot gnu dot org wrote: --- Comment #15 from daney at gcc dot gnu dot org 2007-06-26 17:14 --- mipsel-linux test

[Bug target/32437] [4.3 Regression] MIPS: FAIL in gcc.dg/cleanup-[8|9|10|11].c

2007-06-26 Thread dave at hiauly1 dot hia dot nrc dot ca
--- Comment #17 from dave at hiauly1 dot hia dot nrc dot ca 2007-06-26 17:46 --- Subject: Re: [4.3 Regression] MIPS: FAIL in gcc.dg/cleanup-[8|9|10|11].c The offending gcc.dg/cleanup-[8|9|10|11].c tests now pass as do almost all C++ and libstdc++ tests. Unfortunately, we still

[Bug target/32437] [4.3 Regression] MIPS: FAIL in gcc.dg/cleanup-[8|9|10|11].c

2007-06-26 Thread zadeck at naturalbridge dot com
--- Comment #18 from zadeck at naturalbridge dot com 2007-06-26 17:53 --- Subject: Re: [4.3 Regression] MIPS: FAIL in gcc.dg/cleanup-[8|9|10|11].c dave at hiauly1 dot hia dot nrc dot ca wrote: --- Comment #17 from dave at hiauly1 dot hia dot nrc dot ca 2007-06-26 17:46

[Bug target/32457] [4.3 Regression] Complete program optimized away (i686, -ftree-vectorize)

2007-06-26 Thread spop at gcc dot gnu dot org
--- Comment #16 from spop at gcc dot gnu dot org 2007-06-26 18:02 --- Subject: Re: [4.3 Regression] Complete program optimized away (i686, -ftree-vectorize) Hi, The problem comes from the fact that estimated_loop_iterations_int returns HWI whereas the code in

[Bug fortran/32467] structure containing allocatable array is accepted in COPYIN clause

2007-06-26 Thread longb at cray dot com
--- Comment #7 from longb at cray dot com 2007-06-26 18:20 --- Subject: Re: structure containing allocatable array is accepted in COPYIN clause burnus at gcc dot gnu dot org wrote: --- Comment #4 from burnus at gcc dot gnu dot org 2007-06-22 21:06 --- Thanks for the

[Bug middle-end/32503] __builtin_powi - optimize for other exponents besides 2 and 0.5

2007-06-26 Thread jb at gcc dot gnu dot org
--- Comment #3 from jb at gcc dot gnu dot org 2007-06-26 19:00 --- (In reply to comment #2) Confirmed. I had done tree-level expansion of powi into add/mul sequences at one time. But this had been rejected for some reason I cannot remember right now. The middle-end is able to

[Bug c/32517] New: attribute naked on target AVR generate internal compiler error

2007-06-26 Thread simone_arrigo at yahoo dot com
GCC version: GNU C version 4.2.0 (avr) compiled by GNU C version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) System type: Linux xx 2.6.18-4-amd64 #1 SMP Fri May 4 00:37:33 UTC 2007 x86_64 GNU/Linux Options given when GCC was configured/built: Target: avr Configured with: ../configure

[Bug target/32517] attribute naked on target AVR generate internal compiler error

2007-06-26 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Severity|blocker |normal Component|c |target

[Bug target/32517] attribute naked on target AVR generate internal compiler error

2007-06-26 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-06-26 19:32 --- *** This bug has been marked as a duplicate of 31331 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/31331] ICE on invalid function attribute syntax for main()

2007-06-26 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2007-06-26 19:32 --- *** Bug 32517 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/32084] gfortran 4.3 13%-18% slower for induct.f90 than gcc 4.0-based competitor

2007-06-26 Thread ubizjak at gmail dot com
--- Comment #3 from ubizjak at gmail dot com 2007-06-26 19:43 --- (In reply to comment #0) gfortran seemingly generates an significatly inferior internal TREE representation than g95 as for Polyhedron's induct.f90 gfortran is 18% slower than g95, which is based on GCC 4.0.3.

[Bug target/28904] operand out of range on Linux/PowerPC

2007-06-26 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2007-06-26 20:30 --- They have been improvements in 4.2.0 with respect of having a smaller GOT. Can you try 4.2.0? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28904

[Bug c/32511] GCC inlines weak function

2007-06-26 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-06-26 20:32 --- Considering inline candidate bar. Inlining bar into foo. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32511

[Bug target/28904] operand out of range on Linux/PowerPC

2007-06-26 Thread srm at schokokeks dot org
--- Comment #6 from srm at schokokeks dot org 2007-06-26 20:35 --- (In reply to comment #5) They have been improvements in 4.2.0 with respect of having a smaller GOT. Can you try 4.2.0? uh, i'd like to...give me a few days to figure out how i can do a proper upgrade or setup a

[Bug middle-end/32492] [4.3 Regression] attribute always_inline - sorry, unimplemented: recursive inlining

2007-06-26 Thread rguenth at gcc dot gnu dot org
--- Comment #8 from rguenth at gcc dot gnu dot org 2007-06-26 20:45 --- So, without touching all the frontends we can try to lower constraints checked at gimplification time to what is actually needed to avoid the ICE during inlining. Which is to make sure that the actual parameter is

[Bug debug/32507] internal compiler error

2007-06-26 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Severity|major |normal Component|c++ |debug

[Bug middle-end/32492] [4.3 Regression] attribute always_inline - sorry, unimplemented: recursive inlining

2007-06-26 Thread rguenth at gcc dot gnu dot org
--- Comment #9 from rguenth at gcc dot gnu dot org 2007-06-26 21:07 --- I'm testing a patch. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/32492] [4.3 Regression] attribute always_inline - sorry, unimplemented: recursive inlining

2007-06-26 Thread rguenth at gcc dot gnu dot org
--- Comment #10 from rguenth at gcc dot gnu dot org 2007-06-26 21:24 --- And I think we should address PR15484 and not do type promotion until RTL expansion. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32492

[Bug middle-end/32492] [4.3 Regression] attribute always_inline - sorry, unimplemented: recursive inlining

2007-06-26 Thread pinskia at gcc dot gnu dot org
--- Comment #11 from pinskia at gcc dot gnu dot org 2007-06-26 21:33 --- I can find a testcase, if we change where we generate the promotion at the RTL expansion time, worse code. Simple testcase: int f(int b, char a) { if (b) a = 1; g(a); } You can see the difference by

[Bug middle-end/32492] [4.3 Regression] attribute always_inline - sorry, unimplemented: recursive inlining

2007-06-26 Thread rguenther at suse dot de
--- Comment #12 from rguenther at suse dot de 2007-06-26 21:55 --- Subject: Re: [4.3 Regression] attribute always_inline - sorry, unimplemented: recursive inlining On Tue, 26 Jun 2007, pinskia at gcc dot gnu dot org wrote: I can find a testcase, if we change where we generate the

Re: [Bug middle-end/32492] [4.3 Regression] attribute always_inline - sorry, unimplemented: recursive inlining

2007-06-26 Thread Andrew Pinski
On 26 Jun 2007 21:55:34 -, rguenther at suse dot de [EMAIL PROTECTED] wrote: I have a hard time deciding if 3.4 or 4.1 is better: 3.4: f: pushl %ebp movl%esp, %ebp movl8(%ebp), %edx movzbl 12(%ebp), %eax testl %edx, %edx je

[Bug middle-end/32492] [4.3 Regression] attribute always_inline - sorry, unimplemented: recursive inlining

2007-06-26 Thread pinskia at gmail dot com
--- Comment #13 from pinskia at gmail dot com 2007-06-26 21:59 --- Subject: Re: [4.3 Regression] attribute always_inline - sorry, unimplemented: recursive inlining On 26 Jun 2007 21:55:34 -, rguenther at suse dot de [EMAIL PROTECTED] wrote: I have a hard time deciding if 3.4 or

[Bug middle-end/32417] [4.3 Regression] 416.gamess ICEs (in aff_combination_add_elt, tree-affine.c)

2007-06-26 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2007-06-26 22:08 --- Patch testing right now. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32417

[Bug target/32481] ICE in df_refs_verify, at df-scan.c:4058

2007-06-26 Thread zadeck at naturalbridge dot com
--- Comment #9 from zadeck at naturalbridge dot com 2007-06-26 23:01 --- Subject: Re: [Bug target/32437] ICE in df_refs_verify, at df-scan.c:4058 This patch fixes a problem introduced with the patch to fix pr32437. In that patch we introduced recursion in dce:deleteable_insn_p in

[Bug debug/32507] internal compiler error

2007-06-26 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2007-06-26 23:33 --- Reduced testcase: namespace a { class basic_stringstream {}; typedef basic_stringstream istream; typedef basic_stringstream stringstream; } using namespace a; void PerformTest02 () { struct Manipulators

[Bug libstdc++/32509] [4.2 4.3 regression] unable to explicitely configure with a given locale model

2007-06-26 Thread pcarlini at suse dot de
--- Comment #5 from pcarlini at suse dot de 2007-06-26 23:44 --- Yes, today, while offline, I realized that in fact the real issue here was the fix for 31717 not completely ok for everyone. And we already got a report of this type before (upon it I decided to clarify the documentation,

[Bug target/32457] [4.3 Regression] Complete program optimized away (i686, -ftree-vectorize)

2007-06-26 Thread sebpop at gmail dot com
--- Comment #18 from sebpop at gmail dot com 2007-06-26 23:54 --- Subject: Re: [4.3 Regression] Complete program optimized away (i686, -ftree-vectorize) Hi, I'm bootstrapping this patch on both amd64-linux and i686-linux. The patch passed bootstrap and test on both machines with no

[Bug target/32418] [4.3 Regression] ICE in global_alloc, at global.c:514

2007-06-26 Thread rask at sygehus dot dk
--- Comment #14 from rask at sygehus dot dk 2007-06-27 00:35 --- Notice in comment 10 that there is no optimization flag. Just -O1 is enough to make the reload failure go away. I'll see what the libstdc++ people have to say about that. --

[Bug c++/32519] New: g++ allows access to protected template member functions of base class

2007-06-26 Thread gsayfan at numenta dot com
Derived classes may access protected members of their base class only on themselves or other instances of the same type or derived type. Here is a link to the relevant section in the draft of the C++ standard: http://www.csci.csusb.edu/dick/c++std/cd2/access.html#class.protected I don't have

[Bug c/32520] New: C/C++ programs segfault at runtime if arrays larger than 8MB are declared.

2007-06-26 Thread is+gcc at cs dot hmc dot edu
Consider a snippet like the following ---Begin Snippet-- #define N 2048 int main(int argc; char *argv[]) { int mat[N][N]; ,,, ---End Snippet-- or the slightly snazified C99 style ---Begin Snippet-- int main(int argc; char *argv[])