[Bug libfortran/31933] Uninitialized memory when writing real(10) as unformatted

2007-05-21 Thread jb at gcc dot gnu dot org
--- Comment #7 from jb at gcc dot gnu dot org 2007-05-22 06:52 --- (In reply to comment #6) > The following simplistic patch solves this problem. Sometimes I think we get > overzealous with definitions and fancy configury. We all know the size is 10 > bytes and 12 works. No. The non-p

[Bug target/31975] [4.3 Regression] segfault in try_split on mips during bootstrap

2007-05-21 Thread daney at gcc dot gnu dot org
--- Comment #9 from daney at gcc dot gnu dot org 2007-05-22 05:38 --- Confirmed on a cross compiler configured: ../t1/configure --target=mipsel-linux --with-sysroot=/usr/local/mipsel-linux-test --prefix=/usr/local/mipsel-linux-test --with-arch=mips32 --with-float=soft --disable-java-awt

[Bug c++/32029] Internal Compiler Error on instantiation of template parameter

2007-05-21 Thread ejt at andrew dot cmu dot edu
--- Comment #2 from ejt at andrew dot cmu dot edu 2007-05-22 05:01 --- Created an attachment (id=13600) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13600&action=view) Preprocessed source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32029

[Bug libfortran/31933] Uninitialized memory when writing real(10) as unformatted

2007-05-21 Thread jvdelisle at gcc dot gnu dot org
--- Comment #6 from jvdelisle at gcc dot gnu dot org 2007-05-22 05:01 --- The following simplistic patch solves this problem. Sometimes I think we get overzealous with definitions and fancy configury. We all know the size is 10 bytes and 12 works. This works: Index: size_from_kind.c

[Bug c++/32029] Internal Compiler Error on instantiation of template parameter

2007-05-21 Thread ejt at andrew dot cmu dot edu
--- Comment #1 from ejt at andrew dot cmu dot edu 2007-05-22 05:00 --- Created an attachment (id=13599) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13599&action=view) Original source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32029

[Bug c++/32029] New: Internal Compiler Error on instantiation of template parameter

2007-05-21 Thread ejt at andrew dot cmu dot edu
When there is a default template parameter based on a templated class member type, the compiler dies a nasty death. As far as I can tell, gcc prior to 4.1 branch works fine, but all of the 4.1 branch seems to have this problem. Quick summary... This works: template::template Factory > class thi

[Bug libgcj/32028] New: Make fails at gjdoc - gnu.classpath.tools.gjdoc.ParseException: unmatched input in line 1: @Retention(SOURCE) @Target(METHOD)

2007-05-21 Thread rob1weld at aol dot com
Compiling gcc 4.3.0 20070521 using "--with-gjdoc" fails. It works on 4.2.0/1. I don't know enough about gjdoc scripting or Java to go poking around so I leave the fix to someone more capable. For anyone who compiled using "--with-gjdoc" and broke their make there is a &q

[Bug middle-end/32024] ICE - libgcc2.c:557: internal compiler error: in fold_checksum_tree, at fold-const.c:12652

2007-05-21 Thread rob1weld at aol dot com
--- Comment #3 from rob1weld at aol dot com 2007-05-22 03:17 --- Created an attachment (id=13598) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13598&action=view) Notes: diffs of 4.2.1 and 4.3.0 fold-const.c and ICE -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32024

[Bug tree-optimization/32015] pointer-plus ICE in extract_range_from_binary_expr, at tree-vrp.c:1755

2007-05-21 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2007-05-22 02:51 --- Subject: Bug 32015 Author: pinskia Date: Tue May 22 01:50:42 2007 New Revision: 124935 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124935 Log: 2007-05-21 Andrew Pinski <[EMAIL PROTECTED]> PR tr

[Bug tree-optimization/32015] pointer-plus ICE in extract_range_from_binary_expr, at tree-vrp.c:1755

2007-05-21 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2007-05-22 02:50 --- Fixed, thanks for testing out this branch. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug tree-optimization/2462] "restrict" implementation bug

2007-05-21 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2007-05-22 02:09 --- pointer plus branch helps out with the heap allocated memory, may_alias gets less confused with them. It does not fully fix this bug but it does help out. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=2462

[Bug tree-optimization/29708] Alias can go funny with pointer addition

2007-05-21 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2007-05-22 01:51 --- Mine, we always get the correct answer on the pointer plus branch. On the trunk: ANYTHING = &ANYTHING READONLY = &ANYTHING INTEGER = &ANYTHING a = &ANYTHING c_1 = &a b = &ANYTHING c_1 = &b c_6 = c_1 + 32 D.1639_11

[Bug tree-optimization/23384] Clobber list should be flow sensitive

2007-05-21 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2007-05-22 01:38 --- PR 18412 is not really a flow sensitive issue, it is just may_alias getting confused by pointer addition which will be fixed with the merge of the pointer plus branch. -- pinskia at gcc dot gnu dot org changed:

[Bug tree-optimization/18412] missed vectorization opportunity due to aliasing issue

2007-05-21 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2007-05-22 01:37 --- Mine, this is fixed on the pointer plus branch where aliasing is not confused anymore. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug c++/32016] sizeof(class) always a multiple of 4 on 32 bit machine

2007-05-21 Thread bliss1940-bbs at yahoo dot com
--- Comment #8 from bliss1940-bbs at yahoo dot com 2007-05-22 01:16 --- (In reply to comment #7) > On arm-elf structures are padded/aligned to a 4-byte boundary. This is a > "feature" of the ABI. The microsoft compiler obviously conforms to a different > ABI, which is why you get differe

[Bug tree-optimization/31995] can't determine dependence between p->a[x+i] and p->a[x+i+1]

2007-05-21 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.3.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31995

[Bug tree-optimization/31995] can't determine dependence between p->a[x+i] and p->a[x+i+1]

2007-05-21 Thread pinskia at gcc dot gnu dot org
--- Comment #8 from pinskia at gcc dot gnu dot org 2007-05-22 00:09 --- Subject: Bug 31995 Author: pinskia Date: Mon May 21 23:08:54 2007 New Revision: 124927 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124927 Log: 2007-05-21 Andrew Pinski <[EMAIL PROTECTED]> PR mi

[Bug tree-optimization/31995] can't determine dependence between p->a[x+i] and p->a[x+i+1]

2007-05-21 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2007-05-22 00:09 --- Fixed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug c++/32016] sizeof(class) always a multiple of 4 on 32 bit machine

2007-05-21 Thread pbrook at gcc dot gnu dot org
--- Comment #7 from pbrook at gcc dot gnu dot org 2007-05-21 23:55 --- On arm-elf structures are padded/aligned to a 4-byte boundary. This is a "feature" of the ABI. The microsoft compiler obviously conforms to a different ABI, which is why you get different results. Both are "correct".

[Bug c++/32016] sizeof(class) always a multiple of 4 on 32 bit machine

2007-05-21 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2007-05-21 23:53 --- (In reply to comment #5) > (In reply to comment #3) > > > Try: > > struct a33 > > { > > struct Char1 a1; > > struct Char1 a2; > > }; > > And see what size/offset the structs are at. Again this is an ABI issue >

[Bug c++/32016] sizeof(class) always a multiple of 4 on 32 bit machine

2007-05-21 Thread bliss1940-bbs at yahoo dot com
--- Comment #5 from bliss1940-bbs at yahoo dot com 2007-05-21 23:48 --- (In reply to comment #3) > Try: > struct a33 > { > struct Char1 a1; > struct Char1 a2; > }; > And see what size/offset the structs are at. Again this is an ABI issue Simply saying it's an ABI issue doesn't mak

[Bug fortran/32002] [4.2/4.3 regression] insufficient conformance check when assigning the result of an elemental function to an array

2007-05-21 Thread dfranke at gcc dot gnu dot org
--- Comment #6 from dfranke at gcc dot gnu dot org 2007-05-21 23:25 --- Subject: Bug 32002 Author: dfranke Date: Mon May 21 22:24:55 2007 New Revision: 124924 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124924 Log: gcc/fortran: 2005-05-21 Jerry DeLisle <[EMAIL PROTECTED]>

[Bug c++/32016] sizeof(class) always a multiple of 4 on 32 bit machine

2007-05-21 Thread bliss1940-bbs at yahoo dot com
--- Comment #4 from bliss1940-bbs at yahoo dot com 2007-05-21 23:22 --- (In reply to comment #3) I'm using arm-elf. Thanks for the __attribute__((packed)). That does indeed remove the hole at the end. I think we should agree to disagree. You say it's an ABI issue but that seems impo

[Bug fortran/32027] [4.3 Regression] The "DO" variable isn't consistent after loop

2007-05-21 Thread fxcoudert at gcc dot gnu dot org
--- Comment #3 from fxcoudert at gcc dot gnu dot org 2007-05-21 23:04 --- Fixed. -- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added Status|UNCO

[Bug fortran/32027] [4.3 Regression] The "DO" variable isn't consistent after loop

2007-05-21 Thread fxcoudert at gcc dot gnu dot org
--- Comment #2 from fxcoudert at gcc dot gnu dot org 2007-05-21 23:02 --- Subject: Bug 32027 Author: fxcoudert Date: Mon May 21 22:02:26 2007 New Revision: 124923 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124923 Log: PR fortran/32027 * trans-stmt.c (gfc_tr

[Bug fortran/32027] [4.3 Regression] The "DO" variable isn't consistent after loop

2007-05-21 Thread hjl at lucon dot org
--- Comment #1 from hjl at lucon dot org 2007-05-21 22:48 --- This patch http://gcc.gnu.org/ml/gcc-patches/2007-05/msg01387.html works. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32027

[Bug fortran/32027] New: [4.3 Regression] The "DO" variable isn't consistent after loop

2007-05-21 Thread hjl at lucon dot org
The change for bug 31399 makes the "DO" variable inconsistent after loop: [EMAIL PROTECTED] loop-1]$ cat foo.f90 integer(kind=1) :: i integer(kind=8) :: c = 0 do i = 1, 5, 1 c = c + 1 end do print *, i if (i /= 6) call abort do i = 1, 5, 2 c = c + 1 end do print *, i

[Bug bootstrap/32009] [4.3 Regression] building gcc4-4.3.0-20070518 failed on OSX 10.3.9

2007-05-21 Thread andreast at gcc dot gnu dot org
--- Comment #5 from andreast at gcc dot gnu dot org 2007-05-21 22:39 --- Late night comment, Paolo, I think your patch is fine but it exposed an inconsitency in using CFLAGS/BOOT_CFLAGS in libgcc. I could work around the problem with filtering out the mdynamic-no-pic inside the libgcc M

[Bug fortran/32002] [4.2/4.3 regression] insufficient conformance check when assigning the result of an elemental function to an array

2007-05-21 Thread dfranke at gcc dot gnu dot org
--- Comment #5 from dfranke at gcc dot gnu dot org 2007-05-21 22:37 --- Related report: PR26976 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32002

[Bug c++/32016] sizeof(class) always a multiple of 4 on 32 bit machine

2007-05-21 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2007-05-21 22:24 --- (In reply to comment #2) > To beat a dead horse again, the data members are suitably aligned in > Microsoft's struct. For the GNU folk to say the extra padding is for data > alignment or is an ABI issue is misleadin

[Bug c++/32016] sizeof(class) always a multiple of 4 on 32 bit machine

2007-05-21 Thread bliss1940-bbs at yahoo dot com
--- Comment #2 from bliss1940-bbs at yahoo dot com 2007-05-21 22:18 --- (In reply to comment #1) I don't think I said GCC was in error, but just different. Maybe we can come to an agreement here, or maybe not. Let's see. I certainly would expect the ARM7 would prefer that 4 byte oper

[Bug c/31924] gcc accepts invalid suffixes for decimal float constants

2007-05-21 Thread janis at gcc dot gnu dot org
--- Comment #2 from janis at gcc dot gnu dot org 2007-05-21 22:17 --- Subject: Bug 31924 Author: janis Date: Mon May 21 21:17:23 2007 New Revision: 124913 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124913 Log: libcpp/ PR c/31924 * expr.c (interpret_float_suff

[Bug fortran/31399] Wrong code for do loop with large interation count

2007-05-21 Thread hjl at lucon dot org
--- Comment #10 from hjl at lucon dot org 2007-05-21 21:54 --- (In reply to comment #9) > (In reply to comment #6) > > This fix miscompiles tonto in SPEC CPU 2006 on Linux/x86-64. I am checking > > if Linux/ia32 is also miscompiled. > > Can you file a new bug rather than reopening this

[Bug middle-end/32026] [4.3 Regression] misc.c:899: error: 'const struct real_format' has no member named 'log2_b'

2007-05-21 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 fortran/31399] Wrong code for do loop with large interation count

2007-05-21 Thread pinskia at gcc dot gnu dot org
--- Comment #9 from pinskia at gcc dot gnu dot org 2007-05-21 21:41 --- (In reply to comment #6) > This fix miscompiles tonto in SPEC CPU 2006 on Linux/x86-64. I am checking > if Linux/ia32 is also miscompiled. Can you file a new bug rather than reopening this one (mark it as blocking t

[Bug fortran/31399] Wrong code for do loop with large interation count

2007-05-21 Thread hjl at lucon dot org
--- Comment #8 from hjl at lucon dot org 2007-05-21 21:36 --- According to the comment, before the change, we performed [evaluate loop bounds and step] count = (to + step - from) / step; dovar = from; for (;;) { body; cycle_label: dovar += step coun

[Bug fortran/31399] Wrong code for do loop with large interation count

2007-05-21 Thread hjl at lucon dot org
--- Comment #7 from hjl at lucon dot org 2007-05-21 21:19 --- (In reply to comment #6) > This fix miscompiles tonto in SPEC CPU 2006 on Linux/x86-64. I am checking > if Linux/ia32 is also miscompiled. > Tonto is also miscompiled on Linux/ia32. -- http://gcc.gnu.org/bugzilla/show_b

[Bug fortran/31399] Wrong code for do loop with large interation count

2007-05-21 Thread hjl at lucon dot org
--- Comment #6 from hjl at lucon dot org 2007-05-21 21:10 --- This fix miscompiles tonto in SPEC CPU 2006 on Linux/x86-64. I am checking if Linux/ia32 is also miscompiled. -- hjl at lucon dot org changed: What|Removed |Added ---

[Bug middle-end/32024] ICE - libgcc2.c:557: internal compiler error: in fold_checksum_tree, at fold-const.c:12652

2007-05-21 Thread rob1weld at aol dot com
--- Comment #2 from rob1weld at aol dot com 2007-05-21 21:05 --- The BUG is somewhere in here: I put back ALL my origonal (lengthy) configure options but left off the checking. It gets past the ICE. That is not good though... Situation A): The checker is working fine and the code produ

[Bug target/10768] ICEs on compilation of ada support library for avr

2007-05-21 Thread rolf dot ebert dot gcc at gmx dot de
--- Comment #18 from rolf dot ebert dot gcc at gmx dot de 2007-05-21 20:35 --- Created an attachment (id=13597) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13597&action=view) Bernd's patch that fixes the problem Bernd's patch as mentioned in comment #16 -- http://gcc.gnu.o

[Bug fortran/27698] subroutine _foo draws "unclassifiable statement" instead of a useful error.

2007-05-21 Thread dfranke at gcc dot gnu dot org
--- Comment #14 from dfranke at gcc dot gnu dot org 2007-05-21 20:24 --- Can this be considered fixed? -- dfranke at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/32026] New: misc.c:899: error: 'const struct real_format' has no member named 'log2_b'

2007-05-21 Thread danglin at gcc dot gnu dot org
gcc -c -g -fkeep-inline-functions -DIN_GCC -W -Wall -Wwrite-strings -Wstrict -prototypes -Wmissing-prototypes -fno-common -DHAVE_CONFIG_H -I. -Iada -I. ./../gcc/gcc -I../../gcc/gcc/ada -I../../gcc/gcc/../include -I../../gcc/gcc/../l ibcpp/include -I../../gcc/gcc/../libdecnumber -I../../g

[Bug fortran/25252] ICE on invalid code

2007-05-21 Thread dfranke at gcc dot gnu dot org
--- Comment #10 from dfranke at gcc dot gnu dot org 2007-05-21 20:16 --- The testcase of comment #7 seen through valgrind: pr25252.f90:3.26: module procedure X, Y, 1 Error: Syntax error in MODULE PROCEDURE statement at (1) ==12169== Invalid read of size 2

[Bug fortran/31197] [4.3/4.2 regression^2] TRANSPOSE/RESHAPE and strings

2007-05-21 Thread elizabeth dot l dot yip at boeing dot com
--- Comment #11 from elizabeth dot l dot yip at boeing dot com 2007-05-21 20:10 --- Ignore Comment #10. I resubmitted my test case as a new bug (31994) last Friday. The bug is fixed this morning. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31197

[Bug fortran/25095] Disallowed intrinsic in initialization statement

2007-05-21 Thread dfranke at gcc dot gnu dot org
--- Comment #3 from dfranke at gcc dot gnu dot org 2007-05-21 20:07 --- Confirmed by majority vote. $> ifort -warn all pr25095.f90 fortcom: Error: pr25095.f90, line 2: This expression cannot be evaluated. [MODULO] DATA (i(MODULO(j,5)),j=1,4) /4*0/ ^ fortcom: Info: pr25095.f90,

[Bug middle-end/32025] left bitshift is broken with 128-bit TIMode

2007-05-21 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2007-05-21 19:49 --- So closing as fixed as 4.0.x is no longer being maintained. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added -

[Bug middle-end/32025] left bitshift is broken with 128-bit TIMode

2007-05-21 Thread igor at roundbox dot com
--- Comment #4 from igor at roundbox dot com 2007-05-21 19:17 --- Sorry, I should've mentioned that - no -O2, here is my command line: g++ -g test_128.cpp -o test_128 And yes, this does seem to be specific to 4.0.x only - gcc 4.1 works fine. -- http://gcc.gnu.org/bugzilla/show_bug

[Bug middle-end/32025] left bitshift is broken with 128-bit TIMode

2007-05-21 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2007-05-21 19:09 --- Also if only 4.0.x is broken, then this is fixed as 4.0.x is no longer being maintained. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32025

[Bug middle-end/32024] ICE - libgcc2.c:557: internal compiler error: in fold_checksum_tree, at fold-const.c:12652

2007-05-21 Thread rob1weld at aol dot com
s=c,c++,fortran,java,objc' which are not enough for what I prefer - but now it builds I can add some more options back in. So now my xgcc says this: #gcc/xgcc -v Using built-in specs. Target: i686-pc-linux-gnu Configured with: /root/downloads/gcc-4_3-trunk/configure Thread model: posix g

[Bug middle-end/32025] left bitshift is broken with 128-bit TIMode

2007-05-21 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2007-05-21 19:08 --- What options are you using to compile the test program? If you use -O2, then you have an C/C++ aliasing violation in your code. -- pinskia at gcc dot gnu dot org changed: What|Removed

[Bug c++/32025] left bitshift is broken with 128-bit TIMode

2007-05-21 Thread igor at roundbox dot com
-- igor at roundbox dot com changed: What|Removed |Added Severity|normal |major Component|middle-end |c++ http://gcc.gnu.

[Bug libstdc++/30464] -Wconversion triggers warnings for deque<>::push_back()

2007-05-21 Thread manu at gcc dot gnu dot org
--- Comment #20 from manu at gcc dot gnu dot org 2007-05-21 18:32 --- (In reply to comment #19) > I think we can safely at least remove the scary [regression] from the Summary: > first, thanks c++/30500 is now fixed and the warnings are always suppressed; > second, Manuel is splitting ou

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

2007-05-21 Thread manu at gcc dot gnu dot org
--- Comment #26 from manu at gcc dot gnu dot org 2007-05-21 18:16 --- Can someone from GCC confirm me that Joerg Wunsch has a copyright assignment in-place? If so, I will commit the patch. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23479

[Bug libstdc++/21772] exception safety testing allocator

2007-05-21 Thread pcarlini at suse dot de
--- Comment #6 from pcarlini at suse dot de 2007-05-21 18:12 --- (In reply to comment #5) > Use this technique. In fact, if you can, use my code. In fact, Howard already mentioned that, at some point. To be clear, and avoid misunderstandings, I want to clearly state that I consider you

[Bug tree-optimization/30052] [4.2 Regression] possible quadratic behaviour.

2007-05-21 Thread dberlin at dberlin dot org
--- Comment #30 from dberlin at gcc dot gnu dot org 2007-05-21 17:53 --- Subject: Re: [4.2 Regression] possible quadratic behaviour. On 21 May 2007 16:01:29 -, pluto at agmk dot net <[EMAIL PROTECTED]> wrote: > > > --- Comment #29 from pluto at agmk dot net 2007-05-21 17:01 -

[Bug target/19636] [4.0/4.1/4.2 regression] Can't compile large switch statement

2007-05-21 Thread eweddington at cso dot atmel dot com
--- Comment #18 from eweddington at cso dot atmel dot com 2007-05-21 17:17 --- Using the target specific option -mno-tablejump fixes the bug for 4.1.2 and 4.2.0. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19636

[Bug libstdc++/21772] exception safety testing allocator

2007-05-21 Thread dave at boost-consulting dot com
--- Comment #5 from dave at boost-consulting dot com 2007-05-21 17:16 --- Just "adding a throwing allocator" (especially one that throws randomly like this one) will not test the library guarantees anywhere nearly as effectively as the STLPort tests do. The technique is outlined in htt

[Bug target/19636] [4.0/4.1/4.2 regression] Can't compile large switch statement

2007-05-21 Thread eweddington at cso dot atmel dot com
--- Comment #17 from eweddington at cso dot atmel dot com 2007-05-21 17:09 --- Fails on 4.2.0. -- eweddington at cso dot atmel dot com changed: What|Removed |Added

[Bug target/19636] Can't compile ethernut OS (avr-gcc)

2007-05-21 Thread eweddington at cso dot atmel dot com
--- Comment #16 from eweddington at cso dot atmel dot com 2007-05-21 17:03 --- Fails with 4.1.2. -- eweddington at cso dot atmel dot com changed: What|Removed |Added

[Bug fortran/31198] wrong code: Max() with optional arguments

2007-05-21 Thread fxcoudert at gcc dot gnu dot org
--- Comment #3 from fxcoudert at gcc dot gnu dot org 2007-05-21 17:01 --- I've asked in comp.lang.fortran: http://groups.google.com/group/comp.lang.fortran/browse_thread/thread/5804a24398086e50/fd2b07668628a90d -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31198

[Bug tree-optimization/30052] [4.2 Regression] possible quadratic behaviour.

2007-05-21 Thread pluto at agmk dot net
--- Comment #29 from pluto at agmk dot net 2007-05-21 17:01 --- (In reply to comment #28) > Change line 4275 of the patched tree-ssa-structalias.c to be rhs.var = > vi->id instead of rhs.var = id > > Remove the id variable declaration. > > This would have only affected fortran th

[Bug libstdc++/31970] set<>::iterator vs type-safety

2007-05-21 Thread pcarlini at suse dot de
-- pcarlini at suse dot de changed: What|Removed |Added Severity|major |enhancement http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31970

[Bug c++/32025] left bitshift is broken with 128-bit TIMode

2007-05-21 Thread igor at roundbox dot com
--- Comment #1 from igor at roundbox dot com 2007-05-21 16:45 --- Created an attachment (id=13596) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13596&action=view) Simple test code to reproduce the bug -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32025

[Bug c++/32025] New: left bitshift is broken with 128-bit TIMode

2007-05-21 Thread igor at roundbox dot com
With gcc 4.0.x, left bitshift on 128-bit TIMode doesn't seem to be working properly. For example, using the attached code and compiled under 4.0.4, I initialize a 128-bit TIMode variable called "mask" to 1U, left-shift it by the entered number of bits and compute 0U-mask, while printing the content

[Bug testsuite/32014] new gcc failures

2007-05-21 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2007-05-21 16:25 --- > FAIL: gcc.dg/vect/vect-64.c (internal compiler error) I think the all of the ICEs were due to: 2007-05-16 Eric Christopher <[EMAIL PROTECTED]> * config/rs6000/rs6000.c (rs6000_emit_prologue): Move altive

[Bug fortran/18923] segfault after subroutine name confusion

2007-05-21 Thread patchapp at dberlin dot org
--- Comment #18 from patchapp at dberlin dot org 2007-05-21 16:25 --- Subject: Bug number PR18923 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-05/msg01264.html -- http://gcc.gnu.org/bugzilla/s

[Bug libgomp/32013] Use posix95 for libgomp on Irix 6.2

2007-05-21 Thread gcc-tgc at jupiterrise dot com
--- Comment #3 from gcc-tgc at jupiterrise dot com 2007-05-21 16:19 --- (In reply to comment #2) > patches get sent to gcc-patches@, make sure you read > http://gcc.gnu.org/contribute.html also. > I noticed and I just did. Perhaps I should have started there ;) I haven't signed any FSF

[Bug middle-end/32024] ICE - libgcc2.c:557: internal compiler error: in fold_checksum_tree, at fold-const.c:12652

2007-05-21 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Severity|blocker |normal Component|bootstrap |middle-end

[Bug bootstrap/32024] New: ICE - libgcc2.c:557: internal compiler error: in fold_checksum_tree, at fold-const.c:12652

2007-05-21 Thread rob1weld at aol dot com
-stabs --enable-hash-synchronization --enable-gc-debug --enable-interpreter --with-system-zlib --enable-libada --with-tls --with-cpu=athlon-xp --with-arch=athlon-xp --enable-stage1-checking=assert,fold,gc,misc,rtl,rtlflag,runtime,tree Thread model: posix gcc version 4.3.0 20070521 (experimental) T

[Bug libstdc++/21772] exception safety testing allocator

2007-05-21 Thread bkoz at gcc dot gnu dot org
--- Comment #4 from bkoz at gcc dot gnu dot org 2007-05-21 15:58 --- This is now integrated, but the tests are still ad-hoc. We need a more consistent application of eh-safety tests. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21772

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

2007-05-21 Thread jv244 at cam dot ac dot uk
--- Comment #100 from jv244 at cam dot ac dot uk 2007-05-21 15:58 --- (In reply to comment #99) > (In reply to comment #98) > > Got CP2K from CVS, created arch/Linux-i686-gfortran.sdbg from its x86-64 > > equivalent and got the ICE described in PR32018. > > thanks for adding this PR. >

[Bug libstdc++/32017] consistent exception-safety container testing

2007-05-21 Thread bkoz at gcc dot gnu dot org
--- Comment #4 from bkoz at gcc dot gnu dot org 2007-05-21 15:57 --- Dave, just to clarify, this is bug 21772. We're working on it. ;) -benjamin -- bkoz at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/32023] Invalid lvalue in void* increment error inconsitensy

2007-05-21 Thread schwab at suse dot de
--- Comment #1 from schwab at suse dot de 2007-05-21 15:45 --- A cast is not an lvalue. -- schwab at suse dot de changed: What|Removed |Added Status|UNCONFIRM

[Bug bootstrap/29382] Bootstrap comparison failure!

2007-05-21 Thread tru at pasteur dot fr
--- Comment #3 from tru at pasteur dot fr 2007-05-21 15:43 --- [EMAIL PROTECTED] ~]$ gcc -v Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/specs Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=pos

[Bug c++/32020] Invalid template error on non-dependent name

2007-05-21 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |3.4.0 Version|unknown |3.2.3 http://

[Bug c++/32020] Invalid template error on non-dependent name

2007-05-21 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2007-05-21 15:42 --- *** Bug 32022 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32020

[Bug c++/32022] Invalid template error on non-dependent name

2007-05-21 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2007-05-21 15:42 --- *** This bug has been marked as a duplicate of 32020 *** -- rguenth at gcc dot gnu dot org changed: What|Removed |Added --

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

2007-05-21 Thread jv244 at cam dot ac dot uk
--- Comment #99 from jv244 at cam dot ac dot uk 2007-05-21 15:40 --- (In reply to comment #98) > Got CP2K from CVS, created arch/Linux-i686-gfortran.sdbg from its x86-64 > equivalent and got the ICE described in PR32018. thanks for adding this PR. Looking at PR32018, I notice that the

[Bug middle-end/32004] [4.1/4.2/4.3 regression] : can't find a register in class 'GENERAL_REGS' while reloading 'asm'

2007-05-21 Thread hjl at lucon dot org
--- Comment #16 from hjl at lucon dot org 2007-05-21 15:33 --- Gcc 4.1/4.2/4.3 will fail and gcc 3.4 has no problem: --- typedef unsigned long bngdigit; typedef bngdigit *bng; typedef unsigned int bngcarry; typedef unsigned long bngsize; bngdigit bng_ia32_mult_sub_digit (bng a, bngsize

[Bug c/32023] New: Invalid lvalue in void* increment error inconsitensy

2007-05-21 Thread nshmyrev at yandex dot ru
The following program doesn't compile due to invalid lvalue in increment. The most strange thing is that gcc somehow ignores type coercion int main () { int **a; void **b; *b++;/* works fine */ *((void **)a)++; / gives error */ return 0; } -- Summary: Invalid lvalue in

[Bug fortran/31198] wrong code: Max() with optional arguments

2007-05-21 Thread fxcoudert at gcc dot gnu dot org
--- Comment #2 from fxcoudert at gcc dot gnu dot org 2007-05-21 15:25 --- Scanning the F2003 standard, MIN/MAX are the only intrinsics with a variable number of arguments. They probably need special handling. -- fxcoudert at gcc dot gnu dot org changed: What|Removed

[Bug fortran/30964] optional arguments to random_seed

2007-05-21 Thread fxcoudert at gcc dot gnu dot org
--- Comment #4 from fxcoudert at gcc dot gnu dot org 2007-05-21 15:21 --- Created an attachment (id=13595) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13595&action=view) Patch for that issue; not tested yet -- fxcoudert at gcc dot gnu dot org changed: What|Re

[Bug libstdc++/32017] Exception-safety bug

2007-05-21 Thread pcarlini at suse dot de
--- Comment #3 from pcarlini at suse dot de 2007-05-21 15:00 --- This specific bug is already fixed and must be marked as duplicate. Then we have 21772, more general. We know what we are doing, thanks. *** This bug has been marked as a duplicate of 25288 *** -- pcarlini at suse dot

[Bug libstdc++/25288] std::list insert members should have no effects if an exception is thrown

2007-05-21 Thread pcarlini at suse dot de
--- Comment #7 from pcarlini at suse dot de 2007-05-21 15:00 --- *** Bug 32017 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25288

[Bug c++/32022] New: Invalid template error on non-dependent name

2007-05-21 Thread trundeg at hotmail dot com
The following code demonstrates that GCC raises an invalid error on certain template function syntax. It is the same error than on http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19552 but on a NON-DEPENDENT name, so the error is not appropriate here. Please also note that this code compiles on MSVC++

[Bug fortran/32021] Fix,document,remove GFORTRAN_* environment variables

2007-05-21 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2007-05-21 14:29 --- For GFORTRAN_SIG* one could also add an option to backtrace/dump in this case. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32021

[Bug fortran/32021] New: Fix,document,remove GFORTRAN_* environment variables

2007-05-21 Thread burnus at gcc dot gnu dot org
The following environment variables exist in gfortran (inherited from g95, cf. http://ftp.g95.org/G95Manual.pdf). They are not documented and don't seem to work, however they are partially implemented. GFORTRAN_FPU_PRECISION can probably be removed (cf. -mpc32, -mpc64 and -mpc80) GFORTRAN_MEM_INI

[Bug c++/32020] Invalid template error on non-dependent name

2007-05-21 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2007-05-21 14:27 --- GCC 3.2 is no longer maintained. This works with the new C++ parser that went in for GCC 3.4.0. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug libstdc++/32017] Exception-safety bug

2007-05-21 Thread dave at boost-consulting dot com
--- Comment #2 from dave at boost-consulting dot com 2007-05-21 14:25 --- I won't push the subject any further, but again, if you don't adopt the tests mentioned in the threads cited above, you will almost certainly have further exception safety bugs lurking. Howard Hinnant can verify

[Bug fortran/31994] conjg(transpose(a)) produces wrong answer.

2007-05-21 Thread pault at gcc dot gnu dot org
--- Comment #10 from pault at gcc dot gnu dot org 2007-05-21 14:21 --- Fixed on trunk. The patch will be backported to 4.2, as soon as the dust has settled on trunk and 4.2 is open again. Paul -- pault at gcc dot gnu dot org changed: What|Removed

[Bug fortran/31867] [4.2 only] function result with character LEN computed at run time

2007-05-21 Thread pault at gcc dot gnu dot org
--- Comment #12 from pault at gcc dot gnu dot org 2007-05-21 14:18 --- Fixed on trunk Paul -- pault at gcc dot gnu dot org changed: What|Removed |Added Summar

[Bug fortran/31994] conjg(transpose(a)) produces wrong answer.

2007-05-21 Thread pault at gcc dot gnu dot org
--- Comment #9 from pault at gcc dot gnu dot org 2007-05-21 14:16 --- Subject: Bug 31994 Author: pault Date: Mon May 21 13:16:06 2007 New Revision: 124903 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124903 Log: 2007-05-21 Paul Thomas <[EMAIL PROTECTED]> PR fortran/

[Bug fortran/31867] function result with character LEN computed at run time

2007-05-21 Thread pault at gcc dot gnu dot org
--- Comment #11 from pault at gcc dot gnu dot org 2007-05-21 14:16 --- Subject: Bug 31867 Author: pault Date: Mon May 21 13:16:06 2007 New Revision: 124903 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124903 Log: 2007-05-21 Paul Thomas <[EMAIL PROTECTED]> PR fortran

[Bug testsuite/32014] new gcc failures

2007-05-21 Thread ubizjak at gmail dot com
--- Comment #5 from ubizjak at gmail dot com 2007-05-21 14:01 --- (In reply to comment #4) > > Please look to PR tree-optimization/24695 > > Are you sure about the number? PR24695 is Oops, PR24659. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32014

[Bug c++/32020] New: Invalid template error on non-dependent name

2007-05-21 Thread trundeg at hotmail dot com
The following code demonstrates that GCC raises an invalid error on certain template function syntax. It is the same error than on http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19552 but on a NON-DEPENDENT name, so the error is not appropriate here. Please also note that this code compiles on MSVC++

[Bug testsuite/32014] new gcc failures

2007-05-21 Thread dominiq at lps dot ens dot fr
--- Comment #4 from dominiq at lps dot ens dot fr 2007-05-21 13:15 --- > Please look to PR tree-optimization/24695 Are you sure about the number? PR24695 is [csl-arm-branch] Bootstrap failure with current csl-arm-branch and has only three comments. -- http://gcc.gnu.org/bugzilla/

[Bug c++/32019] New: Condition operator ?: and ambiguous convertions

2007-05-21 Thread andrew dot stubbs at st dot com
The following program should not compile (without warnings) on two counts, but in fact only fails on one, and not for the right reason, as far as I can see. class C { public: C(const char *); operator const char *(); }; void foo (bool b) { // Prove that the implicit convertions work both wa

[Bug testsuite/32014] new gcc failures

2007-05-21 Thread ubizjak at gmail dot com
--- Comment #3 from ubizjak at gmail dot com 2007-05-21 13:06 --- (In reply to comment #1) > FAIL: gcc.dg/vect/vect-intfloat-conversion-4a.c scan-tree-dump-times > vectorized > 1 loops 1 > FAIL: gcc.dg/vect/vect-intfloat-conversion-4b.c scan-tree-dump-times > vectorized > 1 loops 1 T

[Bug bootstrap/32009] [4.3 Regression] building gcc4-4.3.0-20070518 failed on OSX 10.3.9

2007-05-21 Thread andreast at gcc dot gnu dot org
--- Comment #4 from andreast at gcc dot gnu dot org 2007-05-21 13:06 --- Nope. It clinches somehow with this one: config/mh-ppc-darwin. Here the BOOT_CFLAGS is set to -g -O2 -mdynamic-no-pic. In the libgcc Makefile.in I see that MULTILIB_CFLAGS is set to CFLAGS + extra stuff. CFLAGS it

[Bug fortran/31930] [4.1/4.2 only] bes[jy]n intrinsics do not follow definition of elemental functions

2007-05-21 Thread pault at gcc dot gnu dot org
--- Comment #5 from pault at gcc dot gnu dot org 2007-05-21 13:05 --- Daniel cleared this one on trunk. Paul -- pault at gcc dot gnu dot org changed: What|Removed |Added

  1   2   >