[Bug target/24367] [4.0/4.1/4.2 Regression] unrecognizable insn with -fPIC -O2 -funroll-loops

2006-08-31 Thread krebbel at gcc dot gnu dot org
--- Comment #6 from krebbel at gcc dot gnu dot org 2006-08-31 07:43 --- Subject: Bug 24367 Author: krebbel Date: Thu Aug 31 07:43:36 2006 New Revision: 116599 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116599 Log: 2006-08-31 Andreas Krebbel <[EMAIL PROTECTED]> PR

[Bug target/24367] [4.0/4.1/4.2 Regression] unrecognizable insn with -fPIC -O2 -funroll-loops

2006-08-31 Thread krebbel at gcc dot gnu dot org
--- Comment #7 from krebbel at gcc dot gnu dot org 2006-08-31 07:50 --- Subject: Bug 24367 Author: krebbel Date: Thu Aug 31 07:50:19 2006 New Revision: 116600 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116600 Log: 2006-08-31 Andreas Krebbel <[EMAIL PROTECTED]> PR

[Bug target/24367] [4.0/4.1/4.2 Regression] unrecognizable insn with -fPIC -O2 -funroll-loops

2006-08-31 Thread krebbel at gcc dot gnu dot org
--- Comment #8 from krebbel at gcc dot gnu dot org 2006-08-31 08:06 --- Although the bug is latent in gcc 4.0 as well I've applied the patch to 4.1 and 4.2 only. I could not reproduce a failure with gcc 4.0 so I've left it as is rather than risking new problems. -- krebbel at gcc dot

[Bug tree-optimization/27742] [4.2 regression] ICE with -ftree-vectorizer-verbose

2006-08-31 Thread dorit at il dot ibm dot com
--- Comment #9 from dorit at il dot ibm dot com 2006-08-31 08:08 --- I have been unsuccessful in reproducing this problem on a i386-redhat-linux. I don't get a failure compiling the testcase from comment 8. I tried to compile the testcase from comment 7 and got the following errors: g

[Bug tree-optimization/26969] [4.1 Regression] ICE with -O1 -funswitch-loops -ftree-vectorize

2006-08-31 Thread dorit at il dot ibm dot com
--- Comment #10 from dorit at il dot ibm dot com 2006-08-31 08:22 --- I think this can be closed? (I opened a missed-optimization PR instead - PR28643) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26969

[Bug libstdc++/28671] [4.2 regression] undefined reference to `__sync_fetch_and_add_4'

2006-08-31 Thread bkoz at gcc dot gnu dot org
--- Comment #16 from bkoz at gcc dot gnu dot org 2006-08-31 09:08 --- Mine. -- bkoz at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at

[Bug c++/28899] [4.2 regression] gimplification failed

2006-08-31 Thread tbm at cyrius dot com
--- Comment #4 from tbm at cyrius dot com 2006-08-31 09:55 --- (In reply to comment #3) > I almost think it was caused by the patch which fixed PR 27115. > Martin, can you try a newer gcc 4.1.2 to double check that it is not a > regression there also? No, 4.1.2 20060

Re: [Bug tree-optimization/27742] [4.2 regression] ICE with -ftree-vectorizer-verbose

2006-08-31 Thread Andrew Pinski
On Thu, 2006-08-31 at 08:08 +, dorit at il dot ibm dot com wrote: > > --- Comment #9 from dorit at il dot ibm dot com 2006-08-31 08:08 --- > I have been unsuccessful in reproducing this problem on a i386-redhat-linux. I think the failure can only reproduce on x86_64-linux-gnu and I c

[Bug tree-optimization/27742] [4.2 regression] ICE with -ftree-vectorizer-verbose

2006-08-31 Thread pinskia at physics dot uc dot edu
--- Comment #10 from pinskia at physics dot uc dot edu 2006-08-31 10:33 --- Subject: Re: [4.2 regression] ICE with -ftree-vectorizer-verbose On Thu, 2006-08-31 at 08:08 +, dorit at il dot ibm dot com wrote: > > --- Comment #9 from dorit at il dot ibm dot com 2006-08-

[Bug tree-optimization/26969] [4.1 Regression] ICE with -O1 -funswitch-loops -ftree-vectorize

2006-08-31 Thread pinskia at gcc dot gnu dot org
--- Comment #11 from pinskia at gcc dot gnu dot org 2006-08-31 10:34 --- (In reply to comment #10) > I think this can be closed? Except we still crash on the 4.1 branch. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26969

[Bug libstdc++/28671] [4.2 regression] undefined reference to `__sync_fetch_and_add_4'

2006-08-31 Thread bkoz at gcc dot gnu dot org
--- Comment #17 from bkoz at gcc dot gnu dot org 2006-08-31 10:46 --- Subject: Bug 28671 Author: bkoz Date: Thu Aug 31 10:45:59 2006 New Revision: 116601 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116601 Log: 2006-08-31 Benjamin Kosnik <[EMAIL PROTECTED]> PR libst

[Bug c++/28906] [4.2 regression] rejects valid arrays

2006-08-31 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2006-08-31 10:59 --- Yes this was casued by that patch. Anyways we do: 1627 /* ??? The middle-end will error on us for building a VLA outside a 1628 function context. Methinks that's not it's purvey. So we'll do 16

[Bug c/27184] [4.0/4.1 Regression] Wrong code with pointers to arrays and types and strict aliasing

2006-08-31 Thread pinskia at gcc dot gnu dot org
--- Comment #13 from pinskia at gcc dot gnu dot org 2006-08-31 11:00 --- (In reply to comment #12) > So, how's this going for 4.1? Well a regression was found in 4.2 caused by this patch so I am going to fix that first. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27184

[Bug c++/28906] [4.2 regression] rejects valid arrays

2006-08-31 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2006-08-31 11:06 --- Doing: Index: init.c === --- init.c (revision 116553) +++ init.c (working copy) @@ -1628,7 +1628,7 @@ build_new_1 (tree placement, tree type,

[Bug c++/28906] [4.2 regression] rejects valid arrays

2006-08-31 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2006-08-31 11:18 --- Mine, we want/need to use build_distinct_type_copy instead but other than that it should be ok. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28906

[Bug c++/28906] [4.2 regression] rejects valid arrays

2006-08-31 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |pinskia at gcc dot gnu dot |dot org

[Bug tree-optimization/28915] New: [4.2 regression] ICE: tree check: expected class 'constant', have 'declaration' (var_decl) in build_vector, at tree.c:973

2006-08-31 Thread tbm at cyrius dot com
ICE/tree check with ftree-vectorize -O2: (sid)44:[EMAIL PROTECTED]: ~] x86_64-unknown-linux-gnu-gcc -ftree-vectorize -O2 -c xskat-xdial.c xskat-xdial.c: In function 'di_eigenertisch': xskat-xdial.c:9694: internal compiler error: tree check: expected class 'constant', have 'declaration' (var_decl)

[Bug tree-optimization/28915] [4.2 regression] ICE: tree check: expected class 'constant', have 'declaration' (var_decl) in build_vector, at tree.c:973

2006-08-31 Thread tbm at cyrius dot com
--- Comment #1 from tbm at cyrius dot com 2006-08-31 12:30 --- Created an attachment (id=12160) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12160&action=view) test case Testcase from application "xskat". -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28915

[Bug fortran/28916] New: Build of the head fails on Mac Intel

2006-08-31 Thread federico dot carminati at cern dot ch
build of gfortran fails. Configure is ../configure --prefix=/opt/gcc-4_0 --with-gmp=/sw --enable-languages=fortran,c++ built fails with [...rwin8.7.1/libgfortran] /usr/local/gcc-4_0/build/./gcc/xgcc -B/usr/local/gcc-4_0/build/./gcc/ -B/opt/gcc-4_0/i686-apple-darwin8.7.1/bin/ -B/opt/gcc-4_0/i686

[Bug target/27287] [4.1/4.2 Regression] returning constant double

2006-08-31 Thread dje at watson dot ibm dot com
--- Comment #34 from dje at watson dot ibm dot com 2006-08-31 13:50 --- Subject: Re: [4.1/4.2 Regression] returning constant double > guenter at roeck-us dot net writes: guenter> Hmm ... what would be the point ? evlwwsplat copies 32 bit memory content into guenter> the upper and

[Bug java/28891] [4.2 regression] ICE, segmentation fault

2006-08-31 Thread aph at gcc dot gnu dot org
--- Comment #1 from aph at gcc dot gnu dot org 2006-08-31 13:58 --- -findirect-dispatch doesn't work with Java source. Compile to.class first. -- aph at gcc dot gnu dot org changed: What|Removed |Added -

[Bug target/27287] [4.1/4.2 Regression] returning constant double

2006-08-31 Thread dje at watson dot ibm dot com
--- Comment #35 from dje at watson dot ibm dot com 2006-08-31 14:23 --- Subject: Re: [4.1/4.2 Regression] returning constant double > guenter at roeck-us dot net writes: guenter> Hmm ... what would be the point ? evlwwsplat copies 32 bit memory content into guenter> the upper and

[Bug target/19087] Overflowed address in dwarf debug line information

2006-08-31 Thread eweddington at cso dot atmel dot com
--- Comment #21 from eweddington at cso dot atmel dot com 2006-08-31 15:39 --- Created an attachment (id=12161) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12161&action=view) Patch to select 32 bit DWARF addresses for the AVR target. -- http://gcc.gnu.org/bugzilla/show_bug.

[Bug target/19087] Overflowed address in dwarf debug line information

2006-08-31 Thread eweddington at cso dot atmel dot com
--- Comment #22 from eweddington at cso dot atmel dot com 2006-08-31 15:41 --- Created an attachment (id=12162) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12162&action=view) Patch to add a note to the ELF file to notify the difference between old ELF files and new ELF files wit

[Bug fortran/28916] Build of the head fails on Mac Intel

2006-08-31 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-08-31 16:02 --- What version of gfortran are you trying to build? -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug tree-optimization/28915] [4.2 regression] ICE: tree check: expected class 'constant', have 'declaration' (var_decl) in build_vector, at tree.c:973

2006-08-31 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-08-31 16:13 --- I cannot reproduce this on either a powerpc64-linux-gnu build or a i686-linux-gnu build. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/28908] [4.1/4.2 Regression]: fold_convert fails for Fortran operator

2006-08-31 Thread hjl at lucon dot org
--- Comment #12 from hjl at lucon dot org 2006-08-31 16:57 --- It also fails with gcc 4.1 revision 116602. -- hjl at lucon dot org changed: What|Removed |Added

[Bug libstdc++/28671] [4.2 regression] undefined reference to `__sync_fetch_and_add_4'

2006-08-31 Thread pinskia at gcc dot gnu dot org
--- Comment #18 from pinskia at gcc dot gnu dot org 2006-08-31 16:59 --- Fixed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNE

[Bug libgcj/28698] [gcj] libgcj-bc only used when building shared libs, not executables

2006-08-31 Thread tromey at gcc dot gnu dot org
--- Comment #8 from tromey at gcc dot gnu dot org 2006-08-31 17:24 --- Subject: Bug 28698 Author: tromey Date: Thu Aug 31 17:23:57 2006 New Revision: 116603 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116603 Log: PR libgcj/28698: * libgcj_bc.c (DECLARE_PRIM_TY

[Bug other/22313] [4.2 Regression] profiledbootstrap is broken on the mainline

2006-08-31 Thread sayle at gcc dot gnu dot org
--- Comment #41 from sayle at gcc dot gnu dot org 2006-08-31 17:35 --- Subject: Bug 22313 Author: sayle Date: Thu Aug 31 17:35:32 2006 New Revision: 116604 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116604 Log: PR other/22313 * dwarf2out.c (add_fde_cfi): Use

[Bug fortran/28908] [4.1/4.2 Regression]: fold_convert fails for Fortran operator

2006-08-31 Thread paulthomas2 at wanadoo dot fr
--- Comment #13 from paulthomas2 at wanadoo dot fr 2006-08-31 17:41 --- Subject: Re: [4.1/4.2 Regression]: fold_convert fails for Fortran operator hjl at lucon dot org wrote: >--- Comment #12 from hjl at lucon dot org 2006-08-31 16:57 --- >It also fails with gcc 4.1 revision

[Bug other/22313] [4.2 Regression] profiledbootstrap is broken on the mainline

2006-08-31 Thread pinskia at gcc dot gnu dot org
--- Comment #42 from pinskia at gcc dot gnu dot org 2006-08-31 17:53 --- Fixed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|NEW

[Bug c++/28903] [4.2 Regression] Rejects VLA in template class's member with using

2006-08-31 Thread janis at gcc dot gnu dot org
--- Comment #3 from janis at gcc dot gnu dot org 2006-08-31 17:57 --- A regression hunt on powerpc-linux identified this patch: http://gcc.gnu.org/viewcvs?view=rev&rev=116276 r116276 | mmitchel | 2006-08-20 23:53:10 + (Sun, 20 Aug 2006) -- janis at gcc dot gnu dot org c

[Bug fortran/28908] [4.1/4.2 Regression]: fold_convert fails for Fortran operator

2006-08-31 Thread hjl at lucon dot org
--- Comment #14 from hjl at lucon dot org 2006-08-31 18:08 --- I don't think it is specific to operator. I got the same failure with function: [EMAIL PROTECTED] wrf-1]$ cat yyy.f90 ! { dg-do compile } ! Tests the fix for a further regression caused by the ! fix for PR28788 and posted as

[Bug libstdc++/24469] Possible race condition in mt_allocator causing SIGSEGV

2006-08-31 Thread pcarlini at suse dot de
--- Comment #8 from pcarlini at suse dot de 2006-08-31 18:08 --- Now I know how to fix it... -- pcarlini at suse dot de changed: What|Removed |Added AssignedTo|un

[Bug c++/28903] [4.2 Regression] Rejects VLA in template class's member with using

2006-08-31 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-08-31 18:09 --- Confirmed by Janis. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added OtherBugsDependi

[Bug fortran/28908] [4.1/4.2 Regression]: fold_convert fails for Fortran operator

2006-08-31 Thread hjl at lucon dot org
--- Comment #15 from hjl at lucon dot org 2006-08-31 18:11 --- I think the issue may be that gfc_get_derived_type creates a new TREE_TYPE for the same type when there is an existing one. type1 == type2 no longer works when type1 and type2 have different memory locations even if they are

[Bug tree-optimization/28839] [4.2 Regression] ICE in tree-vectorizer.c with -O2 -ftree-vectorize -funswitch-loops

2006-08-31 Thread rakdver at gcc dot gnu dot org
--- Comment #7 from rakdver at gcc dot gnu dot org 2006-08-31 18:16 --- Patch: http://gcc.gnu.org/ml/gcc-patches/2006-08/msg01171.html -- rakdver at gcc dot gnu dot org changed: What|Removed |Added --

[Bug fortran/28908] [4.1/4.2 Regression]: fold_convert fails for Fortran operator

2006-08-31 Thread paulthomas2 at wanadoo dot fr
--- Comment #16 from paulthomas2 at wanadoo dot fr 2006-08-31 18:20 --- Subject: Re: [4.1/4.2 Regression]: fold_convert fails for Fortran operator HJ Yes, I think that function interfaces in general are of the same horrible kind. Thanks Paul -- http://gcc.gnu.org/bugzilla/sho

[Bug fortran/28908] [4.1/4.2 Regression]: fold_convert fails for Fortran operator

2006-08-31 Thread hjl at lucon dot org
--- Comment #17 from hjl at lucon dot org 2006-08-31 18:28 --- The previous gfc_get_derived_type tries to reuse the same TREE_TYPE: /* In a module, if an equal derived type is already available in the specification block, use its backend declaration and those of its

[Bug fortran/28908] [4.1/4.2 Regression]: fold_convert fails for Fortran operator

2006-08-31 Thread paulthomas2 at wanadoo dot fr
--- Comment #18 from paulthomas2 at wanadoo dot fr 2006-08-31 18:41 --- Subject: Re: [4.1/4.2 Regression]: fold_convert fails for Fortran operator hjl, >--- Comment #17 from hjl at lucon dot org 2006-08-31 18:28 --- >The previous gfc_get_derived_type tries to reuse the same

[Bug other/28917] New: try/catch block removed. too optimistic optimization?

2006-08-31 Thread pluto at agmk dot net
with fixed PR26208 we can throw exceptions from signal handlers. catch() works pretty fine with complex call-chain but fails on simple testcase. #include void signalHandler( int signalNumber ) { throw 0; } int main() { signal( SIGSEGV, signalHandler ); try {

[Bug other/28917] try/catch block removed. too optimistic optimization?

2006-08-31 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-08-31 19:08 --- I think you forgot "-fnon-call-exceptions" which is need to be used if you want non calls to be able to throw. Can you try with that option and report if that fixes the problem? -- http://gcc.gnu.org/bugzilla/sh

[Bug other/28917] try/catch block removed. too optimistic optimization?

2006-08-31 Thread pluto at agmk dot net
--- Comment #2 from pluto at agmk dot net 2006-08-31 19:13 --- it doesn't help. `jmp .L2` skips catch block :) main: pushq %rbx movl$_Z13signalHandleri, %esi movl$11, %edi callsignal movl$0, 0 jmp .L2 .L8: cmp

[Bug tree-optimization/28915] [4.2 regression] ICE: tree check: expected class 'constant', have 'declaration' (var_decl) in build_vector, at tree.c:973

2006-08-31 Thread uros at kss-loka dot si
--- Comment #3 from uros at kss-loka dot si 2006-08-31 19:15 --- Confirmed on x86_64. Backtrace: (gdb) bt #0 build_vector (type=0x2db3e6e0, vals=0x2db37cc0) at ../../gcc-svn/trunk/gcc/tree.c:973 #1 0x007b829d in force_const_mem (mode=V2DImode, x=0x2da089e0) at ../

[Bug tree-optimization/28915] [4.2 regression] ICE: tree check: expected class 'constant', have 'declaration' (var_decl) in build_vector, at tree.c:973

2006-08-31 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-08-31 19:21 --- Can someone add the dump of -fdump-tree-final_cleanup ? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28915

[Bug rtl-optimization/28917] try/catch block removed. too optimistic optimization?

2006-08-31 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-08-31 19:27 --- Actually yes it is branched because it should be but movl$0, 0 Means store 0 into the address of 0 so it works. The branch over is ok because well this is the way zero overhead exceptions works. --

[Bug tree-optimization/28915] [4.2 regression] ICE: tree check: expected class 'constant', have 'declaration' (var_decl) in build_vector, at tree.c:973

2006-08-31 Thread tbm at cyrius dot com
--- Comment #5 from tbm at cyrius dot com 2006-08-31 19:28 --- (In reply to comment #4) > Can someone add the dump of -fdump-tree-final_cleanup ? ;; Function set_names (set_names) set_names (ob, idx) { char * * vect_ptt1.38; vector char * vect_cst_.34; static struct tx_typ tt1;

[Bug tree-optimization/28839] [4.2 Regression] ICE in tree-vectorizer.c with -O2 -ftree-vectorize -funswitch-loops

2006-08-31 Thread rakdver at gcc dot gnu dot org
--- Comment #8 from rakdver at gcc dot gnu dot org 2006-08-31 19:34 --- Subject: Bug 28839 Author: rakdver Date: Thu Aug 31 19:33:56 2006 New Revision: 116605 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116605 Log: PR tree-optimization/28839 * tree-into-ssa.c

[Bug c++/28906] [4.2 regression] rejects valid arrays

2006-08-31 Thread tbm at cyrius dot com
--- Comment #8 from tbm at cyrius dot com 2006-08-31 20:10 --- Is this the same bug? (sid)59:[EMAIL PROTECTED]: ~/delta/bin] /usr/lib/gcc-snapshot/bin/g++ -c mini.c mini.c:40: error: variable-size type declared outside of any function mini.c:40: error: variable-size type declared outsi

[Bug c++/28906] [4.2 regression] rejects valid arrays

2006-08-31 Thread tbm at cyrius dot com
--- Comment #9 from tbm at cyrius dot com 2006-08-31 20:21 --- Created an attachment (id=12163) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12163&action=view) preprocessed source Actually, can you please check when you get home if this is the same bug? -- http://gcc.gnu.org

[Bug pch/13676] GCC failes to recognize files ending in .hpp as headers to be precompiled

2006-08-31 Thread pluto at agmk dot net
--- Comment #7 from pluto at agmk dot net 2006-08-31 20:22 --- (In reply to comment #6) > The author didn't respond to my question about copyright assignment, so I > don't > think the patch can be applied. it's weird to waiting years for respond about such trivial patch. -- http:/

[Bug tree-optimization/28900] [4.1/4.2 regression] ICE verify_stmts failed (invalid operand to unary operator)

2006-08-31 Thread janis at gcc dot gnu dot org
--- Comment #5 from janis at gcc dot gnu dot org 2006-08-31 20:27 --- A regression hunt on powerpc-linux identified this patch: http://gcc.gnu.org/viewcvs?view=rev&rev=99691 r99691 | kazu | 2005-05-14 00:46:12 + (Sat, 14 May 2005) -- janis at gcc dot gnu dot org changed

[Bug tree-optimization/28900] [4.1/4.2 regression] ICE verify_stmts failed (invalid operand to unary operator)

2006-08-31 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2006-08-31 20:28 --- (In reply to comment #5) > A regression hunt on powerpc-linux identified this patch: That means it is a latent bug :) oh well, nothing useful really. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28900

[Bug tree-optimization/28905] [4.2 regression] ICE in compare_name_with_value, at tree-vrp.c:3557

2006-08-31 Thread janis at gcc dot gnu dot org
--- Comment #4 from janis at gcc dot gnu dot org 2006-08-31 20:29 --- A regression hunt on powerpc-linux identified this patch: http://gcc.gnu.org/viewcvs?view=rev&rev=116213 r116213 | rakdver | 2006-08-17 08:22:05 + (Thu, 17 Aug 2006) -- janis at gcc dot gnu dot org ch

[Bug c++/28918] New: [4.2 regression] rejects minimum/maximum operator in some c++ code

2006-08-31 Thread tbm at cyrius dot com
We're now rejecting the minimum/maximum operator in some c++ code. This is a new regression. It works with 20060806. (sid)106:[EMAIL PROTECTED]: ~] /usr/lib/gcc-snapshot/bin/g++ -c orig.c orig.c: In member function 'virtual void IBox::Rebuild()': orig.c:10: error: expected primary-expression befo

[Bug c++/28918] [4.2 regression] rejects minimum/maximum operator in some c++ code

2006-08-31 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-08-31 20:45 --- This extension was removed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/28908] [4.1/4.2 Regression]: fold_convert fails for Fortran operator

2006-08-31 Thread hjl at lucon dot org
--- Comment #19 from hjl at lucon dot org 2006-08-31 21:00 --- The new patch works for the testcase. But wrf still fails: [EMAIL PROTECTED] build_base_o2.]$ /usr/gcc-4.2/bin/gfortran -c -o ESMF_Clock.fppized.o -I. -I./netcdf/include -O2 -ffast-math -DSPEC_CPU_LINUX -DSPEC_CP

[Bug middle-end/28911] Cross compiler build for m68k--elf fails on x86_64-linux-gnu

2006-08-31 Thread luke dot powell at bjservices dot com
--- Comment #4 from luke dot powell at bjservices dot com 2006-08-31 21:59 --- (In reply to comment #3) > It is the SVN trunk, so a svn snapshot will be a snapshot of the mainline. > I attempted a rebuild with the trunk at SVN revision 116602. The compilation did get past the previous

[Bug libgcj/28698] [gcj] libgcj-bc only used when building shared libs, not executables

2006-08-31 Thread tromey at gcc dot gnu dot org
--- Comment #9 from tromey at gcc dot gnu dot org 2006-08-31 22:00 --- Subject: Bug 28698 Author: tromey Date: Thu Aug 31 22:00:06 2006 New Revision: 116607 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116607 Log: PR libgcj/28698: * libgcj_bc.c (DECLARE_PRIM_TY

[Bug bootstrap/26999] [4.2 Regression] bootstrap failure with --disable-libdecnumber or --disable-libcpp

2006-08-31 Thread echristo at apple dot com
--- Comment #7 from echristo at apple dot com 2006-08-31 22:14 --- After discussion with DJ I'm going to mark this as WONTFIX. We'll just allow people to shoot themselves in the foot if they try to disable a directory that they shouldn't. -- echristo at apple dot com changed:

[Bug libstdc++/28671] [4.2 regression] undefined reference to `__sync_fetch_and_add_4'

2006-08-31 Thread bkoz at gcc dot gnu dot org
--- Comment #19 from bkoz at gcc dot gnu dot org 2006-08-31 22:20 --- Subject: Bug 28671 Author: bkoz Date: Thu Aug 31 22:20:09 2006 New Revision: 116608 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116608 Log: 2006-08-31 Benjamin Kosnik <[EMAIL PROTECTED]> PR libst

[Bug fortran/28908] [4.1/4.2 Regression]: fold_convert fails for Fortran operator

2006-08-31 Thread hjl at lucon dot org
--- Comment #20 from hjl at lucon dot org 2006-08-31 22:24 --- Here it is: [EMAIL PROTECTED] wrf-1]$ cat zzz.f90 module bar implicit none public type ESMF_Time sequence integer :: MM end type public operator (+) private add interface operator (+) module procedure a

[Bug middle-end/25505] [4.0/4.1/4.2 Regression] gcc uses way too much stack space for this code

2006-08-31 Thread jconner at gcc dot gnu dot org
--- Comment #18 from jconner at gcc dot gnu dot org 2006-08-31 23:44 --- Subject: Bug 25505 Author: jconner Date: Thu Aug 31 23:44:00 2006 New Revision: 116613 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116613 Log: 2006-08-31 Josh Conner <[EMAIL PROTECTED]> PR c+

[Bug target/28919] New: overzealous pointer coalescence leading to poor encoding

2006-08-31 Thread tbptbp at gmail dot com
With code like this (see attachement for a complete silly test case), unsigned int quad = 0; for (unsigned int dec=node.count/4; dec; --dec) { _mm_prefetch(1024+(const char *)&base[quad], _MM_HINT_NTA); sampler.countl[0] = _mm_add_epi32(sampler.countl[0], _mm_cmpgt_epi32(sampler.pos

[Bug target/28919] overzealous pointer coalescence leading to poor encoding

2006-08-31 Thread tbptbp at gmail dot com
--- Comment #1 from tbptbp at gmail dot com 2006-09-01 01:55 --- Created an attachment (id=12164) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12164&action=view) test case source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28919

[Bug target/28919] overzealous pointer coalescence leading to poor encoding

2006-08-31 Thread tbptbp at gmail dot com
--- Comment #2 from tbptbp at gmail dot com 2006-09-01 01:56 --- Created an attachment (id=12165) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12165&action=view) test case preprocessed -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28919

[Bug target/28919] overzealous pointer coalescence leading to poor encoding

2006-08-31 Thread tbptbp at gmail dot com
--- Comment #3 from tbptbp at gmail dot com 2006-09-01 02:04 --- Hmm, that description is a bit wrong. What i really mean is that gcc trades x long encodings for 1 short instead of other way around. Bear with me, it's rather late here :) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?i

[Bug target/28919] IV selection is messed up

2006-08-31 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-09-01 02:46 --- Actually this is just a problem of IV selection, what is happening is the IV selection chooses the 1024+(const char *)&base[quad] as the IV instead of just &base[quad] which causes the bigger encoding. -- pinskia

[Bug target/28919] IV selection is messed up

2006-08-31 Thread tbptbp at gmail dot com
--- Comment #5 from tbptbp at gmail dot com 2006-09-01 02:53 --- (In reply to comment #4) > Actually this is just a problem of IV selection, what is happening is the IV > selection chooses the 1024+(const char *)&base[quad] as the IV instead of just > &base[quad] which causes the bigger

[Bug c++/28906] [4.2 regression] rejects valid arrays

2006-08-31 Thread pinskia at gcc dot gnu dot org
--- Comment #10 from pinskia at gcc dot gnu dot org 2006-09-01 04:01 --- (In reply to comment #9) > Actually, can you please check when you get home if this is the same bug? Yes this is the same bug as my patch (which I am about to submut) fixes it. -- http://gcc.gnu.org/bugzilla/s

[Bug tree-optimization/28839] [4.2 Regression] ICE in tree-vectorizer.c with -O2 -ftree-vectorize -funswitch-loops

2006-08-31 Thread pinskia at gcc dot gnu dot org
--- Comment #9 from pinskia at gcc dot gnu dot org 2006-09-01 04:02 --- Fixed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug fortran/28916] Build of the head fails on Mac Intel

2006-08-31 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-09-01 04:20 --- Also what version of Xcode do you have installed? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28916

[Bug c++/28906] [4.2 regression] rejects valid arrays

2006-08-31 Thread pinskia at gcc dot gnu dot org
--- Comment #11 from pinskia at gcc dot gnu dot org 2006-09-01 04:49 --- I did not add a testcase for one that just ICE but I did add two testcases, one for the wrong code and one for the rejecting valid. The ICE is because of templates which I don't feel like needing a testcase for th

[Bug c++/28906] [4.2 regression] rejects valid arrays

2006-08-31 Thread patchapp at dberlin dot org
--- Comment #12 from patchapp at dberlin dot org 2006-09-01 04:51 --- Subject: Bug number PR C++/28906 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/2006-09/msg7.html -- http://gcc.gnu.org/bugzi

[Bug fortran/28908] [4.1/4.2 Regression]: fold_convert fails for Fortran operator

2006-08-31 Thread paulthomas2 at wanadoo dot fr
--- Comment #21 from paulthomas2 at wanadoo dot fr 2006-09-01 04:58 --- Subject: Re: [4.1/4.2 Regression]: fold_convert fails for Fortran operator hjl at lucon dot org wrote: Thanks HJ. It seems that I am going to have to revert this one; I have spent way too much time on it and was

[Bug tree-optimization/28905] [4.2 regression] ICE in compare_name_with_value, at tree-vrp.c:3557

2006-08-31 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2006-09-01 05:14 --- For 4.1, we get: i_1: VARYING size_2: VARYING size_3: [size_2, size_2] EQUIVALENCES: { size_2 } (1 elements) i_4: [0, +INF] EQUIVALENCES: { i_1 i_7 i_8 i_9 } (4 elements) n_5: [0, size_2 - 1] EQUIVALENCES: { i_1 i

[Bug tree-optimization/26969] [4.1 Regression] ICE with -O1 -funswitch-loops -ftree-vectorize

2006-08-31 Thread dorit at il dot ibm dot com
--- Comment #12 from dorit at il dot ibm dot com 2006-09-01 05:43 --- oops - I didn't notice it was open against 4.1. So hopefully porting Victor's patch to 4.1 would fix it. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26969

[Bug c++/28899] [4.2 regression] gimplification failed

2006-08-31 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2006-09-01 05:46 --- Janis, Could you run a regression hunt on this bug? Thanks, Andrew -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/28899] [4.2 regression] gimplification failed

2006-08-31 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2006-09-01 05:52 --- (In reply to comment #4) > No, 4.1.2 20060831 works. Well the ICE can only happen with checking turned on so it could still be a bug in 4.1.2. -- pinskia at gcc dot gnu dot org changed: W

[Bug c++/27115] [4.0/4.1 Regression] ICE in cp_expr_size or miscompilation with statement expressions and constructors (and ?: )

2006-08-31 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.0.4 |4.2.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27115

[Bug c++/28899] [/4.2 regression] gimplification failed

2006-08-31 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2006-09-01 06:11 --- Here is an even more reduced testcase: void f(void) { unsigned l, l1; l1 = l = ({unsigned __v; __v;}); } Note the double use is required to ICE, otherwise we are ok. There is no question about it after looking a

[Bug tree-optimization/28915] [4.2 regression] ICE: tree check: expected class 'constant', have 'declaration' (var_decl) in build_vector, at tree.c:973

2006-08-31 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2006-09-01 06:27 --- Here is a testcase which ICEs for i686-linux-gnu with -msse: extern char lanip[3][40]; typedef struct { char *t[4]; }tx_typ; int set_names (void) { static tx_typ tt1; int ln; for (ln = 0; ln < 4; ln++)

[Bug tree-optimization/28920] New: vectorizer produces vector long long on powerpc-linux-gnu (and vector long on powerpc64)

2006-08-31 Thread pinskia at gcc dot gnu dot org
Take the following testcase: extern char lanip[3][40]; typedef struct { char *t[4]; }tx_typ; int set_names (void) { static tx_typ tt1; int ln; for (ln = 0; ln < 4; ln++) tt1.t[ln] = lanip[1]; } - With -O2 -ftree-vectorize -maltivec, we produce a vector long long and we get worse

[Bug c/28921] New: vector of a pointer type does not give a warning or error that we are ignoring vector

2006-08-31 Thread pinskia at gcc dot gnu dot org
Testcase: typedef char *cptr; char *a; __attribute__ ((vector_size(16))) cptr t; int f(void) { __attribute__ ((vector_size(16))) int t1 = (__attribute__ ((vector_size(16))) int )t; } We get an error about converting t to a vector int but t looks to me a vector of a char pointer. This happe

[Bug c/28921] vector of a pointer type does not give a warning or error that we are ignoring vector

2006-08-31 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-09-01 06:45 --- Actually this is weird, we are applying the vector_size attribute to the inner type instead of to the typedef type which seems more appropriate. It is evident we are applying the attribute by adding * infront of t i

[Bug c/28921] vector of a typedef applies the vector to the inner most type instead of erroring/warning out that vector does not apply

2006-08-31 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-09-01 06:51 --- The same thing happens with arrays: typedef char cptr[2]; __attribute__ ((vector_size(16))) cptr t; -- And pointer to arrays: typedef char cptr[1]; typedef cptr *cptr1; extern