Static const int as array bound inside class

2007-06-28 Thread Torquil Macdonald Sørensen
Hello, it appears that g++-4.1 (or g++-4.2, Debian vers. 4.2-20070609-1) does not support using a static const int as an array bound inside a class. I wrote som example code below. This type of code is described in the section Compile-time constants inside classes on page 295 in the book

Re: I'm sorry, but this is unacceptable (union members and ctors)

2007-06-28 Thread michael.a
mark-28 wrote: I don't understand what is being requested. Have one structure with four fields, and another with two, and allow them to be used automatically interchangeably? How is this a good thing? How will this prevent the implementor from making a stupid mistake? Its less a

Re: I'm sorry, but this is unacceptable (union members and ctors)

2007-06-28 Thread mark
On Wed, Jun 27, 2007 at 11:36:23PM -0700, michael.a wrote: mark-28 wrote: I don't understand what is being requested. Have one structure with four fields, and another with two, and allow them to be used automatically interchangeably? How is this a good thing? How will this prevent the

Re: I'm sorry, but this is unacceptable (union members and ctors)

2007-06-28 Thread michael.a
On Wed, Jun 27, 2007 at 11:36:23PM -0700, michael.a wrote: mark-28 wrote: I agree with the sentiment, but not with the relevance. I don't see how having a four field structure automatically appear as a completley different two field structure, based only upon a match up between field types

Re: [ARM] Cirrus EP93xx Maverick Crunch Support - bge pattern

2007-06-28 Thread Rask Ingemann Lambertsen
On Wed, Jun 27, 2007 at 11:26:41AM +1000, Hasjim Williams wrote: G'day all, As I wrote previously on gcc-patches ( http://gcc.gnu.org/ml/gcc-patches/2007-06/msg00244.html ), I'm working on code to get the MaverickCrunch Floating-Point Co-processor supported on ARM. I mentioned previously

Re: [ARM] Cirrus EP93xx Maverick Crunch Support - condexec / bugfixing / co-processor offset out of range

2007-06-28 Thread Rask Ingemann Lambertsen
On Thu, Jun 28, 2007 at 01:55:24PM +1000, Hasjim Williams wrote: On Wed, 27 Jun 2007 12:31:42 +0200, Rask Ingemann Lambertsen [EMAIL PROTECTED] said: Additionally, look at SELECT_CC_MODE and TARGET_CC_MODE_COMPATIBLE. That should be TARGET_CC_MODES_COMPATIBLE. The significance of

Re: Proposal: adding two zeros to the integer cost to calibrate better.

2007-06-28 Thread Rask Ingemann Lambertsen
On Wed, Jun 27, 2007 at 09:41:08PM +0200, J.C. Pizarro wrote: I recommend to add 2 zeros to the integer costs as if those are 2 decimal zeros, for example, insn_cost 5: 1200 // it's 12.00 insn_cost 6: 800 // it's 8.00 insn_cost 7: 400 // it's 4.00 insn_cost 8: 433 //

Re: Static const int as array bound inside class

2007-06-28 Thread Andrew Pinski
On 6/27/07, Torquil Macdonald Sørensen [EMAIL PROTECTED] wrote: Best regards, Torquil Sørensen / Example code (from the book): class X { static const int size; int array[size]; }; const int X::size = 100; It gives the error message array bound is not an integer

Re: combine corrupts insns + dumps with insn cost problems

2007-06-28 Thread Rask Ingemann Lambertsen
[One-liner alert!] On Wed, Jun 27, 2007 at 07:54:36PM +0200, Eric Botcazou wrote: Combine knows how to add clobbers to make insns recognizable. I'm guessing it accidentally clobbers the original insn in doing so. Where would I look? Anywhere in combine. :-) This is by design, see the

Re: I'm sorry, but this is unacceptable (union members and ctors)

2007-06-28 Thread michael.a
mark-28 wrote: Mark Mielke wrote Why not This?: class Rectangle { Vector2d position; Vector2d size; }; ... rectangle.position.x = ... ... On Thu, Jun 28, 2007 at 03:00:07AM -0700, michael.a wrote: My foremost personal requirement is that no code need

Re: [ARM] Cirrus EP93xx Maverick Crunch Support - CC modes / condexec / CC_REGNUM

2007-06-28 Thread Hasjim Williams
On Thu, 28 Jun 2007 14:55:17 +0200, Rask Ingemann Lambertsen [EMAIL PROTECTED] said: On Wed, Jun 27, 2007 at 11:26:41AM +1000, Hasjim Williams wrote: G'day all, As I wrote previously on gcc-patches ( http://gcc.gnu.org/ml/gcc-patches/2007-06/msg00244.html ), I'm working on code to get

Re: LTO reader support for MEMORY_PARTITION_TAG

2007-06-28 Thread Mark Mitchell
Kenneth Zadeck wrote: now that we can compile, i will start looking inside today. At present, lto_read_function_body doesn't set DECL_SAVED_TREE for the function body, so there's nothing for the back end to even try to output. It doesn't look to me like we've got code to try to read that back

Re: PTR-PLUS merge into the mainline

2007-06-28 Thread Roman Zippel
Hi, On Fri, 15 Jun 2007, [EMAIL PROTECTED] wrote: This patch merges in the pointer_plus branch. Hopefully I did not mess anything up. I found a small regression caused by this, e.g.: int g(void); void f(int *p, int i) { p[i] = g(); p[i + 2] = g(); p[i + 1] = g();

Re: LTO reader support for MEMORY_PARTITION_TAG

2007-06-28 Thread Kenneth Zadeck
Mark Mitchell wrote: Kenneth Zadeck wrote: now that we can compile, i will start looking inside today. At present, lto_read_function_body doesn't set DECL_SAVED_TREE for the function body, so there's nothing for the back end to even try to output. It doesn't look to me like we've

Re: PTR-PLUS merge into the mainline

2007-06-28 Thread Andrew_Pinski
Roman Zippel [EMAIL PROTECTED] wrote on 06/28/2007 07:54:43 PM: Hi, Notice that it generates the (i + 1) * 4 instead of (i * 4) + 4 as with the other cases. While I tried to debug this I narrowed it down to the changes in fold_binary(), but I don't really know how to fix this, so I could

[Bug middle-end/32533] New: [4.2] miscompilation at -O3 -ffast-math -ftree-vectorize -march=native

2007-06-28 Thread jv244 at cam dot ac dot uk
derived from CP2K and discussed in PR 29975, the following is miscompiled with the current 4.2 branch : [EMAIL PROTECTED]:/scratch/vondele/clean/cp2k/src cat test.f90 SUBROUTINE T(nsubcell,sab_max,subcells) INTEGER, PARAMETER :: dp=KIND(0.0D0) REAL(dp) :: sab_max(3),

[Bug fortran/29975] [meta-bugs] ICEs with CP2K

2007-06-28 Thread jv244 at cam dot ac dot uk
--- Comment #127 from jv244 at cam dot ac dot uk 2007-06-28 06:08 --- (In reply to comment #126) As Andrew pointed out in PR 32521 the valgrind warning was fixed in 4.2.1 (prerelease). I've now built the 4.2_branch, and the warning is indeed gone, but unfortunately the same

[Bug middle-end/32493] [4.3 Regression] Fails to inline varargs function with unused arguments

2007-06-28 Thread bangerth at dealii dot org
--- Comment #9 from bangerth at dealii dot org 2007-06-28 06:48 --- Monologues don't help. Get your fingers out of the pockets and help us fix bugs instead of complaining. Richard has already acknowledged that you found a bug two days after you filed it (and quite humorously). Your

[Bug c/32529] ICE, typedef of function taking VLA

2007-06-28 Thread bangerth at dealii dot org
--- Comment #4 from bangerth at dealii dot org 2007-06-28 06:52 --- Apparently not a dup. -- bangerth at dealii dot org changed: What|Removed |Added CC|

[Bug other/31400] enable static linking of support libraries through -static-libXY

2007-06-28 Thread dfranke at gcc dot gnu dot org
--- Comment #8 from dfranke at gcc dot gnu dot org 2007-06-28 07:00 --- FX, thanks for your patch :) As libgfortran is one of many, at least -static-libgomp would be nice to have as well (others?). Reopening, so the request is not lost. -- dfranke at gcc dot gnu dot org changed:

[Bug fortran/31205] aliased operator assignment produces wrong result

2007-06-28 Thread pault at gcc dot gnu dot org
--- Comment #5 from pault at gcc dot gnu dot org 2007-06-28 08:04 --- (In reply to comment #4) (In reply to comment #2) This is related to PR 14771, most likely the parentheses are being ignored. The parentheses are being ignored - in fact they disappear completely; I presume that

[Bug tree-optimization/32533] [4.2 regression] miscompilation at -O3 -ffast-math -ftree-vectorize -march=native

2007-06-28 Thread ubizjak at gmail dot com
--- Comment #1 from ubizjak at gmail dot com 2007-06-28 08:13 --- Looks like problems in tree ifcvt pass. Before ifcvt, we have: M.2_16 = (int4) D.1257_15; if (M.2_16 1) goto L7; else goto L9; L7:; if (M.2_16 20) goto L10; else goto L9; # M.2_64 = PHI M.2_16(6), 1(5); L9:;

[Bug tree-optimization/32533] [4.2 regression] miscompilation at -O3 -ffast-math -ftree-vectorize -march=native

2007-06-28 Thread ubizjak at gmail dot com
--- Comment #2 from ubizjak at gmail dot com 2007-06-28 08:14 --- (In reply to comment #1) This bug could be hidden in 4.3.0 as we use MIN_EXPR and MAX_EXPR here. To clear the typo - we use MIN_EXPR and MAX_EXPR in 4.3.0. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32533

[Bug c/32529] ICE, typedef of function taking VLA

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

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

2007-06-28 Thread ubizjak at gmail dot com
--- Comment #9 from ubizjak at gmail dot com 2007-06-28 08:36 --- (In reply to comment #7) This is what I get without -ftree-vectorize, with -ftree-vectorize (default cost model off) and with -ftree-vectorize -fvect-cost-model respectively on an AMD x86-64 (with trunk plus the patch

[Bug tree-optimization/32533] [4.2 regression] miscompilation at -O3 -ffast-math -ftree-vectorize -march=native

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

[Bug c/32496] fno-builtin-* not working

2007-06-28 Thread schwab at suse dot de
--- Comment #3 from schwab at suse dot de 2007-06-28 08:42 --- A freestanding implementation is required to provide long long support. -- schwab at suse dot de changed: What|Removed |Added

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

2007-06-28 Thread irar at il dot ibm dot com
--- Comment #5 from irar at il dot ibm dot com 2007-06-28 09:02 --- I think it is better to check that the statement is not NULL before calling bsi_insert_on_edge_immediate. I am going to prepare a patch for this. Ira -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32230

[Bug other/31400] enable static linking of support libraries through -static-libXY

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

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

2007-06-28 Thread ubizjak at gmail dot com
--- Comment #10 from ubizjak at gmail dot com 2007-06-28 09:20 --- Well, well - what can be found in _.146r.loop_unroll: Loop 10 is simple: simple exit 40 - 42 number of iterations: (const_int 8 [0x8]) upper bound: 8 ;; Unable to prove that the loop rolls exactly once ;;

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

2007-06-28 Thread pcarlini at suse dot de
--- Comment #6 from pcarlini at suse dot de 2007-06-28 10:22 --- Ok, I'm implementing the idea. -- pcarlini at suse dot de changed: What|Removed |Added

[Bug c++/32534] New: gcc fails to initialize template's static data members before their use in some cases

2007-06-28 Thread vlbel at mail dot ru
the following programm --- #include iostream struct A { A() : value(0) {} int value; }; templateclass T struct B { static A a; }; templateclass T A BT::a; //template A Bint::a; templateclass T struct C { C() {

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

2007-06-28 Thread ubizjak at gmail dot com
--- Comment #11 from ubizjak at gmail dot com 2007-06-28 11:39 --- (In reply to comment #10) ;; Not peeling loop completely, rolls too much (8 iterations 8 [maximum peelings]) This is meant that original + 8 unroll iterations 8. So, loop has 46 insns, and 9 copies of loops is more

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

2007-06-28 Thread rguenth at gcc dot gnu dot org
--- Comment #12 from rguenth at gcc dot gnu dot org 2007-06-28 11:40 --- I suspect the vectorizer leaves us with too much dead statements that confuse the complete unrollers size cost metric. Running dce after vectorization might fix this. --

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

2007-06-28 Thread irar at il dot ibm dot com
--- Comment #6 from irar at il dot ibm dot com 2007-06-28 11:41 --- ((float*) (((sbuf_header_t *) ((buf) == (buf)-buf[0]))-buf[0]))[i] = val; is (after ommiting the casts) *(1B + (i * 4)) = val; Is that legal? Vectorizer assumes that every data-ref has base_address. In the above

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

2007-06-28 Thread eres at il dot ibm dot com
--- Comment #5 from eres at il dot ibm dot com 2007-06-28 11:55 --- (Form off-line discussion with Richard Guenther) For- char str[2][16] = {thisis16charslo,thisis16charslo}; On ppc64 we will get - static char C.0[2][16] = {thisis16charslo, thisis16charslo}; while on x86_64 -

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

2007-06-28 Thread burnus at gcc dot gnu dot org
--- Comment #13 from burnus at gcc dot gnu dot org 2007-06-28 12:03 --- core2 AMD 0m45.215s 0m4.312s (no vectorize) 1m34.046s 0m4.668s -ftree-vectorize 0m45.447s 0m4.300s -ftree-vectorize -fvect-cost-model i.e. -ftree-vectorize -fvect-cost-model is marginally faster than

[Bug fortran/32535] New: namelist with private items contained in sub-sub-procedure of a module rejected

2007-06-28 Thread burnus at gcc dot gnu dot org
Janus, how about submitting a patch for this bug including a testcase? As Janus Weil found out: http://gcc.gnu.org/ml/fortran/2007-06/msg00488.html If a namelist in a procedure contained in a module procedure contains a private item as element, a bogus error message is printed: Error: PRIVATE

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

2007-06-28 Thread rguenther at suse dot de
--- Comment #7 from rguenther at suse dot de 2007-06-28 12:20 --- Subject: Re: [4.3 Regression] Segfault in set_bb_for_stmt with -O -ftree-vectorize On Thu, 28 Jun 2007, irar at il dot ibm dot com wrote: --- Comment #6 from irar at il dot ibm dot com 2007-06-28 11:41

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

2007-06-28 Thread irar at il dot ibm dot com
--- Comment #8 from irar at il dot ibm dot com 2007-06-28 12:29 --- (In reply to comment #7) I suppose rejecting NULL bases should work here? Yes, only it's not NULL it's zero (0B). We can reject it in the vectorizer or not create a dr for it... Ira --

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

2007-06-28 Thread rguenther at suse dot de
--- Comment #9 from rguenther at suse dot de 2007-06-28 12:30 --- Subject: Re: [4.3 Regression] Segfault in set_bb_for_stmt with -O -ftree-vectorize On Thu, 28 Jun 2007, irar at il dot ibm dot com wrote: --- Comment #8 from irar at il dot ibm dot com 2007-06-28 12:29

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

2007-06-28 Thread irar at il dot ibm dot com
--- Comment #10 from irar at il dot ibm dot com 2007-06-28 12:38 --- (In reply to comment #9) I suppose all INTEGER_CST bases should be rejected. Richard. Right. The value actually doesn't matter since the constant part is split to the init part in (tree-data-ref.c:656):

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

2007-06-28 Thread ubizjak at gmail dot com
--- Comment #14 from ubizjak at gmail dot com 2007-06-28 12:59 --- (In reply to comment #13) core2 AMD 0m45.215s 0m4.312s (no vectorize) Ehm, the first is full induct.f90 run on _nocona_, whereas AMD is the result of running the attached test. The table with comparable results

[Bug target/32523] disastrous scheduling for POWER5

2007-06-28 Thread whaley at cs dot utsa dot edu
--- Comment #8 from whaley at cs dot utsa dot edu 2007-06-28 14:18 --- I've been doing further testing on the g5 (the only machine where I have local and root access), and this problem does not occur with stock gcc 4.1.1 either. Therefore, whatever problem is avoided by throwing

[Bug c/32536] New: wrong generated code on complex statement;

2007-06-28 Thread gcc-bugzilla at gcc dot gnu dot org
sample code: #include stdio.h int main() { char cp[2]; cp[0] = 'A'; cp[1] = 'B'; printf(%x %x\n,cp[0],cp[1]); cp[0] ^= (cp[1]^=(cp[0]^=cp[1])); printf(%x %x\n,cp[0],cp[1]); return 0; } The complex byte swapping instruction is far fetched but seems legal. It actually swaps bytes

[Bug bootstrap/32537] New: Boostrap failure: ICE when compiling gengtype-lex.c

2007-06-28 Thread lucier at math dot purdue dot edu
When configured and made with [descartes:gcc/objdirs/objdir-mainline] gcc-test% cat ../../mainline/build-and-check-gcc #!/bin/tcsh /bin/rm -rf *; env CC=/pkgs/gcc-4.2.0-64/bin/gcc ../../mainline/configure --build=powerpc64-apple-darwin8.9.0 --host=powerpc64-apple-darwin8.9.0

[Bug c/32536] wrong generated code on complex statement;

2007-06-28 Thread schwab at suse dot de
--- Comment #1 from schwab at suse dot de 2007-06-28 16:54 --- You are modifying the same object twice between two sequence points. *** This bug has been marked as a duplicate of 11751 *** -- schwab at suse dot de changed: What|Removed |Added

[Bug c/11751] wrong evaluation order of an expression

2007-06-28 Thread schwab at suse dot de
--- Comment #77 from schwab at suse dot de 2007-06-28 16:54 --- *** Bug 32536 has been marked as a duplicate of this bug. *** -- schwab at suse dot de changed: What|Removed |Added

[Bug libgomp/32538] New: All libgomp tests fail to link on IRIX 6: copysignl undefined

2007-06-28 Thread gcc-bugzilla at gcc dot gnu dot org
All libgomp tests fail to link on IRIX 6: Executing on host: /vol/gcc/obj/gcc-4.3.0-20070622/6.5-gcc/gcc/xgcc -B/vol/gcc/obj/gcc-4.3.0-20070622/6.5-gcc/gcc/ /vol/gcc/src/gcc-dist/libgomp/testsuite/libgomp.fortran/appendix-a/a.16.1.f90

[Bug c/32529] [4.1 only] ICE, typedef of function taking VLA

2007-06-28 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2007-06-28 18:01 --- This works for me in both 4.2.0 and the trunk. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/32448] Security - abs / printf bug

2007-06-28 Thread rob1weld at aol dot com
--- Comment #22 from rob1weld at aol dot com 2007-06-28 18:32 --- Why is it a bad idea to leave this flaw in GCC ? Format String Bugs and Exploits http://www.geocities.com/ravecoolr/fmt.doc or if you like: http://www.enderunix.org/docs/formatstr.txt Allowing GCC to stay as-is and

[Bug c/28504] [4.0/4.1 regression] ICE with variable sized array

2007-06-28 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2007-06-28 18:49 --- *** Bug 32529 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28504

[Bug c/32529] [4.1 only] ICE, typedef of function taking VLA

2007-06-28 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2007-06-28 18:49 --- No, this is a dup as the bug there still has not been fixed for 4.1.x. *** This bug has been marked as a duplicate of 28504 *** -- pinskia at gcc dot gnu dot org changed: What|Removed

[Bug c/32448] abs / printf bug

2007-06-28 Thread pinskia at gcc dot gnu dot org
--- Comment #23 from pinskia at gcc dot gnu dot org 2007-06-28 18:51 --- There is a -Wformat for a reason, use it. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

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

2007-06-28 Thread pinskia at gcc dot gnu dot org
--- Comment #8 from pinskia at gcc dot gnu dot org 2007-06-28 19:04 --- Subject: Bug 32417 Author: pinskia Date: Thu Jun 28 19:03:49 2007 New Revision: 126082 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=126082 Log: 2007-06-28 Andrew Pinski [EMAIL PROTECTED] PR

[Bug c/32494] gcc-4.3.x _32-bit_ becoming irrelevant to kernel

2007-06-28 Thread pinskia at gcc dot gnu dot org
--- Comment #13 from pinskia at gcc dot gnu dot org 2007-06-28 19:06 --- Again please read What I wrote about what the C99 standard requires. It requires long long support for a freestanding compiler. So that is provided with libgcc. If the Linux kernel team decides that they don't

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

2007-06-28 Thread pinskia at gcc dot gnu dot org
--- Comment #9 from pinskia at gcc dot gnu dot org 2007-06-28 19:06 --- Fixed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug target/30417] Section .data cannot be moved with -mmcu=atmega88

2007-06-28 Thread e9fritte at etek dot chalmers dot se
--- Comment #3 from e9fritte at etek dot chalmers dot se 2007-06-28 19:29 --- At that time I was probably using binutils 2.16 (Ubunty Edgy). It seems Feisty still has that version. It's great if this has been resolved in 4.2, although my workaround does its job for now. Thanks to

[Bug libgcj/30999] support for GCC4.0's fvisibility option in JNIEXPORT macro

2007-06-28 Thread tromey at gcc dot gnu dot org
--- Comment #3 from tromey at gcc dot gnu dot org 2007-06-28 19:35 --- Subject: Bug 30999 Author: tromey Date: Thu Jun 28 19:35:25 2007 New Revision: 126090 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=126090 Log: 2007-06-28 Jan Nijtmans [EMAIL PROTECTED] PR

[Bug target/30417] Section .data cannot be moved with -mmcu=atmega88

2007-06-28 Thread eweddington at cso dot atmel dot com
--- Comment #4 from eweddington at cso dot atmel dot com 2007-06-28 19:48 --- Closing bug as WORKSFORME. -- eweddington at cso dot atmel dot com changed: What|Removed |Added

[Bug libgcj/30999] support for GCC4.0's fvisibility option in JNIEXPORT macro

2007-06-28 Thread tromey at gcc dot gnu dot org
--- Comment #4 from tromey at gcc dot gnu dot org 2007-06-28 19:59 --- Fix checked in. -- tromey at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/32540] New: Exponential time behavior in PRE

2007-06-28 Thread falk at debian dot org
int f(void); void acceptloop_th(int *t) { int options = 0; if (f()) options |= 0x1 0; if (f()) options |= 0x1 1; if (f()) options |= 0x1 2; if (f()) options |= 0x1 3; if (f()) options |= 0x1 4; if (f()) options |= 0x1 5; if (f()) options |= 0x1 6; if

[Bug tree-optimization/32540] Exponential time behavior in PRE

2007-06-28 Thread falk at debian dot org
--- Comment #1 from falk at debian dot org 2007-06-28 20:15 --- Created an attachment (id=13801) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13801action=view) Original test case -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32540

[Bug tree-optimization/32540] [4.3 Regression] Exponential time behavior in PRE

2007-06-28 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2007-06-28 20:25 --- Confirmed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added CC|

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

2007-06-28 Thread paolo at gcc dot gnu dot org
--- Comment #7 from paolo at gcc dot gnu dot org 2007-06-28 22:58 --- Subject: Bug 32509 Author: paolo Date: Thu Jun 28 22:58:32 2007 New Revision: 126096 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=126096 Log: 2007-06-28 Paolo Carlini [EMAIL PROTECTED] PR

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

2007-06-28 Thread paolo at gcc dot gnu dot org
--- Comment #8 from paolo at gcc dot gnu dot org 2007-06-28 22:59 --- Subject: Bug 32509 Author: paolo Date: Thu Jun 28 22:59:00 2007 New Revision: 126097 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=126097 Log: 2007-06-28 Paolo Carlini [EMAIL PROTECTED] PR

[Bug fortran/30940] Fortran 2003: Scalar CHARACTER supplied to array dummy

2007-06-28 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2007-06-28 23:01 --- Created an attachment (id=13802) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13802action=view) tests, early draft of a patch Attached is some tests plus some minimal patch. Using the patch most valid cases

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

2007-06-28 Thread paolo at gcc dot gnu dot org
--- Comment #9 from paolo at gcc dot gnu dot org 2007-06-28 23:02 --- Subject: Bug 32509 Author: paolo Date: Thu Jun 28 23:02:05 2007 New Revision: 126098 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=126098 Log: 2007-06-28 Paolo Carlini [EMAIL PROTECTED] PR

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

2007-06-28 Thread pcarlini at suse dot de
--- Comment #10 from pcarlini at suse dot de 2007-06-28 23:04 --- Fixed. -- pcarlini at suse dot de changed: What|Removed |Added Target Milestone|---

[Bug tree-optimization/32120] missed PRE/FRE of a*2+4 and (a+2)*2

2007-06-28 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2007-06-29 03:05 --- Note we should also optimize: int f(int a, int b) { int c = a+4; int d = c*2; int e = a*2; int f = e+4; return f+d; } into a*2 + 12; (or (a+6)*2 ) so that only one mutliplication is there. --

[Bug tree-optimization/32527] [4.3 Regression] ICE in build2_stat, at tree.c:3074

2007-06-28 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2007-06-29 03:23 --- Testing a patch for this right now. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32527

[Bug fortran/32483] edit descriptor checking: Compile-time check for zero width for reading

2007-06-28 Thread jvdelisle at gcc dot gnu dot org
--- Comment #2 from jvdelisle at gcc dot gnu dot org 2007-06-29 03:28 --- What was status on this? I think the patch was OK. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32483

[Bug c/32542] New: When -msdata is set, gcc sent -memb to gas.

2007-06-28 Thread tanaka at personal-media dot co dot jp
I have a question about the behavior of gcc for powerpc. I think the arguments -msdata and -msdata=default have same effect to gcc. But gcc sent different argument to gas. When -msdata is set, gcc sent -memb to gas. When -msdata=default is set, gcc doesn't send -memb to gas. I think `specs' has