[Bug tree-optimization/24659] Conversions are not vectorized

2007-05-17 Thread uros at gcc dot gnu dot org
--- Comment #13 from uros at gcc dot gnu dot org 2007-05-17 07:31 --- Subject: Bug 24659 Author: uros Date: Thu May 17 06:31:05 2007 New Revision: 124784 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=124784 Log: PR tree-optimization/24659 * optabs.h (enum

[Bug tree-optimization/31966] New: Miscompiles valid code with -ftree-vectorize and -march=nocona

2007-05-17 Thread lloyd at randombit dot net
$ gcc-4.2.0 -v Using built-in specs. Target: x86_64-unknown-linux-gnu Configured with: ../gcc-4.2.0/configure --enable-languages=c,c++,objc,obj-c++ --program-suffix=-4.2.0 Thread model: posix gcc version 4.2.0 $ gcc-4.2.0 divop.c -o divop $ ./divop 3CBA83 $ gcc-4.2.0 -ftree-vectorize -O2

[Bug tree-optimization/31966] Miscompiles valid code with -ftree-vectorize and -march=nocona

2007-05-17 Thread lloyd at randombit dot net
--- Comment #1 from lloyd at randombit dot net 2007-05-17 07:36 --- Created an attachment (id=13567) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13567action=view) A short testcase for bug 31966 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31966

[Bug tree-optimization/24659] Conversions are not vectorized

2007-05-17 Thread ubizjak at gmail dot com
--- Comment #14 from ubizjak at gmail dot com 2007-05-17 07:45 --- Altivec PPC has int-float cvt insn and provides signed/unsigned vec_unpack v8hi insn. It should be trivial to implement short-float and unsigned short-float conversions by providing vec_unpacks_float_lo_v8hi,

[Bug tree-optimization/24659] Conversions are not vectorized

2007-05-17 Thread ubizjak at gmail dot com
--- Comment #15 from ubizjak at gmail dot com 2007-05-17 08:28 --- Just for the record, the only remaining x86 conversion (sse 4) is vectorized BUILT_IN_LRINT that uses cvtpd2dq. The problem here is that n_in n_out, so we probably need to apply narrowing modifier to

[Bug fortran/31917] GFORTRAN_CONVERT_UNIT is ignored

2007-05-17 Thread burnus at gcc dot gnu dot org
--- Comment #4 from burnus at gcc dot gnu dot org 2007-05-17 09:39 --- Subject: Bug 31917 Author: burnus Date: Thu May 17 08:39:32 2007 New Revision: 124787 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=124787 Log: 2007-05-14 Tobias Burnus [EMAIL PROTECTED] PR

[Bug other/31967] New: Build failed because of incorrect AS

2007-05-17 Thread janka dot gcc at mailnull dot com
Build fails because as is incorrect (??), after deleting it from build tree, compilation continues. ERROR: [EMAIL PROTECTED]' \ SHLIB_EXT='.so' \ SHLIB_MULTILIB='' \ SHLIB_MKMAP='../../gcc/mkmap-symver.awk' \ SHLIB_MKMAP_OPTS='' \ SHLIB_MAPFILES='../../gcc/libgcc-std.ver' \ SHLIB_NM_FLAGS='-pg' \

[Bug other/31968] New: GCC compilation fails on collect-ld

2007-05-17 Thread janka dot gcc at mailnull dot com
GCC compilation fails on bad collect-ld, after removing it from build tree compilation continued. /data/sam/tao-test/gcc-4.2.0/build/./gcc/xgcc -B/data/sam/tao-test/gcc-4.2.0/build/./gcc/ -B/opt/devtools/sparc-sun-solaris2.10/bin/ -B/opt/devtools/sparc-sun-solaris2.10/lib/ -isystem

[Bug other/31969] New: GCC build failed with not covered .register pseudo-op

2007-05-17 Thread janka dot gcc at mailnull dot com
This might be possibly related to bug 31967. ERROR OUTPUT: ... make GCC_FOR_TARGET=/data/sam/tao-test/gcc-4.2.0/build/./gcc/xgcc -B/data/sam/tao-test/gcc-4.2.0/build/./gcc/ -B/opt/devtools/sparc-sun-solaris2.10/bin/ -B/opt/devtools/sparc-sun-solaris2.10/lib/ -isystem

[Bug other/31969] GCC build failed with not covered .register pseudo-op

2007-05-17 Thread ebotcazou at gcc dot gnu dot org
--- Comment #1 from ebotcazou at gcc dot gnu dot org 2007-05-17 11:16 --- Please do not open duplicate entries. *** This bug has been marked as a duplicate of 31967 *** -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added

[Bug other/31967] GCC Build failed because of incorrect AS

2007-05-17 Thread ebotcazou at gcc dot gnu dot org
--- Comment #1 from ebotcazou at gcc dot gnu dot org 2007-05-17 11:16 --- *** Bug 31969 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31967

[Bug other/31967] GCC Build failed because of incorrect AS

2007-05-17 Thread ebotcazou at gcc dot gnu dot org
--- Comment #2 from ebotcazou at gcc dot gnu dot org 2007-05-17 11:17 --- *** Bug 31968 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31967

[Bug other/31968] GCC compilation fails on collect-ld

2007-05-17 Thread ebotcazou at gcc dot gnu dot org
--- Comment #1 from ebotcazou at gcc dot gnu dot org 2007-05-17 11:17 --- Please do not open duplicate entries. *** This bug has been marked as a duplicate of 31967 *** -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added

[Bug other/31967] GCC Build failed because of incorrect AS

2007-05-17 Thread ebotcazou at gcc dot gnu dot org
--- Comment #3 from ebotcazou at gcc dot gnu dot org 2007-05-17 11:21 --- /bin/sh ../../gcc/mkconfig.sh tconfig.h This is incorrect. Please read the build instructions before opening bugs: http://gcc.gnu.org/install/specific.html#x-x-solaris2 CONFIGURE: ../configure

[Bug target/31733] [4.3 Regression] ICE in rtl_verify_flow_info, at cfgrtl.c:2050: {return_internal} (nil)

2007-05-17 Thread tbm at gcc dot gnu dot org
--- Comment #10 from tbm at gcc dot gnu dot org 2007-05-17 11:37 --- I just saw this again with 20070515 r124745. -- tbm at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/31733] [4.3 Regression] ICE in rtl_verify_flow_info, at cfgrtl.c:2050: {return_internal} (nil)

2007-05-17 Thread tbm at cyrius dot com
--- Comment #11 from tbm at cyrius dot com 2007-05-17 11:37 --- [EMAIL PROTECTED]:~$ /usr/lib/gcc-snapshot/bin/g++ -c -O2 ddd-exit.ii /home/tbm/src/ddd-3.3.11/./ddd/exit.C: In function 'void gdb_exceptionHP(Agent*, void*, void*)': /home/tbm/src/ddd-3.3.11/./ddd/exit.C:975: error: return

[Bug target/31733] [4.3 Regression] ICE in rtl_verify_flow_info, at cfgrtl.c:2050: {return_internal} (nil)

2007-05-17 Thread tbm at cyrius dot com
--- Comment #12 from tbm at cyrius dot com 2007-05-17 11:38 --- Created an attachment (id=13568) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13568action=view) preprocessed source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31733

[Bug target/31733] [4.3 Regression] ICE in rtl_verify_flow_info, at cfgrtl.c:2050: {return_internal} (nil)

2007-05-17 Thread tbm at cyrius dot com
--- Comment #13 from tbm at cyrius dot com 2007-05-17 11:38 --- Steve, do you think you could investigate again because this issue is still there. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31733

[Bug c++/31970] New: g++ compiles incorrect c++ code

2007-05-17 Thread asp_ at mail dot ru
problem with tamplates, an example of incorrect c++ code is here: http://mx1.ru/super_example.cpp std::setint, node_less b; std::setint::iterator i = b.begin(); the second line should is incorrect, but compiles well. -- Summary: g++ compiles incorrect c++ code Product:

[Bug fortran/31971] New: Simple Fortran code fails with ICE

2007-05-17 Thread magnus_os at yahoo dot se
gfortran-43 -v Using built-in specs. Target: i686-pc-linux-gnu Configured with: ../gcc/configure --prefix=/usr/local/gcc-43 --program-suffix=-43 --enable-threads=posix --enable-languages=c,c++,fortran Thread model: posix gcc version 4.3.0 20070517 (experimental) gfortran-43 -save-temps -c

[Bug c++/30822] wrong choice of overloaded template functions in recursive call

2007-05-17 Thread Zarathustra at gentlemansclub dot de
--- Comment #7 from Zarathustra at gentlemansclub dot de 2007-05-17 13:27 --- According to my current understanding, the compiler is right not to accept the given example code: Name resolution at the point of instantiation does only work for dependent names. Given a expression which

[Bug fortran/31972] New: Internal Error occurs when TRANSFER with hollerith argument appears in a constructor

2007-05-17 Thread michael dot a dot richmond at nasa dot gov
When I compile the program listed below I get the following message: lsstr.f90:3.18: i = (/ TRANSFER(4HSOLR, 0) /) 1 Warning: Extension: Hollerith constant at (1) lsstr.f90:4.17: END PROGRAM lsstr 1 Internal Error at (1): Invalid expression in

[Bug fortran/31919] ICE in fold_binary in fold-const.c

2007-05-17 Thread dfranke at gcc dot gnu dot org
--- Comment #5 from dfranke at gcc dot gnu dot org 2007-05-17 13:37 --- Subject: Bug 31919 Author: dfranke Date: Thu May 17 12:37:24 2007 New Revision: 124794 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=124794 Log: gcc/fortran: 2007-05-15 Daniel Franke [EMAIL PROTECTED]

[Bug fortran/31929] atan2 accepts non-conforming array shapes

2007-05-17 Thread dfranke at gcc dot gnu dot org
--- Comment #1 from dfranke at gcc dot gnu dot org 2007-05-17 13:37 --- Subject: Bug 31929 Author: dfranke Date: Thu May 17 12:37:24 2007 New Revision: 124794 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=124794 Log: gcc/fortran: 2007-05-15 Daniel Franke [EMAIL PROTECTED]

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

2007-05-17 Thread dfranke at gcc dot gnu dot org
--- Comment #4 from dfranke at gcc dot gnu dot org 2007-05-17 13:37 --- Subject: Bug 31930 Author: dfranke Date: Thu May 17 12:37:24 2007 New Revision: 124794 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=124794 Log: gcc/fortran: 2007-05-15 Daniel Franke [EMAIL PROTECTED]

[Bug fortran/31972] Internal Error occurs when TRANSFER contains hollerith argument

2007-05-17 Thread michael dot a dot richmond at nasa dot gov
--- Comment #1 from michael dot a dot richmond at nasa dot gov 2007-05-17 13:41 --- The constructor is not necessary to produce the error. It is due entirely to the TRANSFER function. -- michael dot a dot richmond at nasa dot gov changed: What|Removed

[Bug rtl-optimization/31691] [4.1 regression] optimized code taking the wrong branch

2007-05-17 Thread ebotcazou at gcc dot gnu dot org
(simplify_set): Build a new src pattern instead of substituting its operands in the COMPARE case. Added: trunk/gcc/testsuite/gcc.c-torture/execute/20070517-1.c Modified: trunk/gcc/ChangeLog trunk/gcc/combine.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla

[Bug rtl-optimization/31691] [4.1 regression] optimized code taking the wrong branch

2007-05-17 Thread ebotcazou at gcc dot gnu dot org
(simplify_set): Build a new src pattern instead of substituting its operands in the COMPARE case. Added: branches/gcc-4_2-branch/gcc/testsuite/gcc.c-torture/execute/20070517-1.c Modified: branches/gcc-4_2-branch/gcc/ChangeLog branches/gcc-4_2-branch/gcc/combine.c branches/gcc

[Bug rtl-optimization/31691] [4.1 regression] optimized code taking the wrong branch

2007-05-17 Thread ebotcazou at gcc dot gnu dot org
(simplify_set): Build a new src pattern instead of substituting its operands in the COMPARE case. Added: branches/gcc-4_1-branch/gcc/testsuite/gcc.c-torture/execute/20070517-1.c Modified: branches/gcc-4_1-branch/gcc/ChangeLog branches/gcc-4_1-branch/gcc/combine.c branches/gcc

[Bug rtl-optimization/31691] [4.1 regression] optimized code taking the wrong branch

2007-05-17 Thread ebotcazou at gcc dot gnu dot org
--- Comment #11 from ebotcazou at gcc dot gnu dot org 2007-05-17 14:34 --- Fixed on all branches. -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added

[Bug libfortran/30694] minval/maxval with +/-Inf

2007-05-17 Thread tkoenig at gcc dot gnu dot org
--- Comment #17 from tkoenig at gcc dot gnu dot org 2007-05-17 14:40 --- Created an attachment (id=13569) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13569action=view) partial implementation Here's a partial implementation that seems to get things right for the (min)|(max)loc0

[Bug rtl-optimization/21507] [4.0/4.1 Regression] BYTEmark floating-point emulation: Regression with -O3

2007-05-17 Thread ebotcazou at gcc dot gnu dot org
--- Comment #5 from ebotcazou at gcc dot gnu dot org 2007-05-17 14:43 --- Confirmed by Richard. -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added

[Bug rtl-optimization/21507] [4.0/4.1 Regression] BYTEmark floating-point emulation: Regression with -O3

2007-05-17 Thread ebotcazou at gcc dot gnu dot org
--- Comment #6 from ebotcazou at gcc dot gnu dot org 2007-05-17 14:44 --- Won't be fixed on the 4.0 and 4.1 branches. -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added

[Bug rtl-optimization/26655] [4.0/4.1 Regression] ICE in ix86_secondary_memory_needed, at config/i386/i386.c:16446

2007-05-17 Thread ebotcazou at gcc dot gnu dot org
--- Comment #21 from ebotcazou at gcc dot gnu dot org 2007-05-17 14:52 --- Definitively closed on the 4.0 and 4.1 branches, it's too late for caring about ICE-on-invalid there at this point. -- ebotcazou at gcc dot gnu dot org changed: What|Removed

[Bug libgomp/31974] New: [4.3 regression]: Many libgomp failures

2007-05-17 Thread hjl at lucon dot org
In http://gcc.gnu.org/ml/gcc-testresults/2007-05/msg00804.html there are FAIL: libgomp.fortran/vla1.f90 -O2 execution test FAIL: libgomp.fortran/vla1.f90 -O3 -fomit-frame-pointer execution test FAIL: libgomp.fortran/vla1.f90 -O3 -fomit-frame-pointer -funroll-loops execution test FAIL:

[Bug libgomp/31974] [4.3 regression]: Many libgomp failures

2007-05-17 Thread hjl at lucon dot org
--- Comment #1 from hjl at lucon dot org 2007-05-17 15:06 --- Failures look like Fortran runtime error: Attempt to allocate a negative amount of memory. FAIL: libgomp.fortran/vla1.f90 -O2 execution test Is this related to http://gcc.gnu.org/ml/gcc-patches/2007-05/msg00148.html --

[Bug rtl-optimization/30815] [4.3 Regression] pr29965.c fails on the mainline, switches and __builtin_trap

2007-05-17 Thread ebotcazou at gcc dot gnu dot org
--- Comment #3 from ebotcazou at gcc dot gnu dot org 2007-05-17 15:11 --- Is this still a problem? I don't see it in the logs. -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added

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

2007-05-17 Thread tbm at cyrius dot com
I'm getting a bootstrap error on mips with 4.3 SVN 20070515 revision 124745. The compiler segfaults when compiling libstdc++-v3/src/strstream.cc with: Program received signal SIGSEGV, Segmentation fault. 0x0074701c in try_split (pat=value optimized out, trial=0x2bfb31e0, last=1) at

[Bug rtl-optimization/17169] optimization bug

2007-05-17 Thread ebotcazou at gcc dot gnu dot org
--- Comment #3 from ebotcazou at gcc dot gnu dot org 2007-05-17 15:17 --- 3.4.x is not maintained anymore. -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added

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

2007-05-17 Thread tbm at cyrius dot com
--- Comment #1 from tbm at cyrius dot com 2007-05-17 15:20 --- Created an attachment (id=13570) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13570action=view) preprocessed source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31975

[Bug rtl-optimization/17241] sh4 application SIGSEGV's with gcc-3.3.4 -O2

2007-05-17 Thread ebotcazou at gcc dot gnu dot org
--- Comment #5 from ebotcazou at gcc dot gnu dot org 2007-05-17 15:28 --- 3.3.x is not maintained anymore. -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added

[Bug rtl-optimization/17700] -Os causes bad build of libgcj.so.5.0.0 file

2007-05-17 Thread ebotcazou at gcc dot gnu dot org
--- Comment #3 from ebotcazou at gcc dot gnu dot org 2007-05-17 15:29 --- 3.4.x is not maintained anymore. -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added

[Bug rtl-optimization/18363] build fails when using optimization

2007-05-17 Thread ebotcazou at gcc dot gnu dot org
--- Comment #9 from ebotcazou at gcc dot gnu dot org 2007-05-17 15:30 --- Not a GCC bug. -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added

[Bug rtl-optimization/20369] noce_emit_move_insn emits invalid insns

2007-05-17 Thread ebotcazou at gcc dot gnu dot org
--- Comment #2 from ebotcazou at gcc dot gnu dot org 2007-05-17 15:34 --- Do you still have the testcase? -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/31952] parameters may be redeclared in a function try-block

2007-05-17 Thread andrew dot stubbs at st dot com
--- Comment #2 from andrew dot stubbs at st dot com 2007-05-17 15:34 --- Another example perhaps? void foo() { try { } catch (void *e) { void *e; // invalid } } The C++ standard, clause 3.3.2 paragraph 3, states that catch exception-declarations may not be

[Bug rtl-optimization/21424] Infinite memory allocation when -O3 is used

2007-05-17 Thread ebotcazou at gcc dot gnu dot org
--- Comment #2 from ebotcazou at gcc dot gnu dot org 2007-05-17 15:36 --- 3.4.x is not maintained anymore. -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/31970] g++ compiles incorrect c++ code

2007-05-17 Thread bangerth at dealii dot org
--- Comment #1 from bangerth at dealii dot org 2007-05-17 15:46 --- The link you give doesn't work. Can you attach your testcase? W. -- bangerth at dealii dot org changed: What|Removed |Added

[Bug c++/31951] local structure problem

2007-05-17 Thread bangerth at dealii dot org
--- Comment #2 from bangerth at dealii dot org 2007-05-17 15:48 --- Indeed, like Andrew says. -- bangerth at dealii dot org changed: What|Removed |Added

[Bug bootstrap/27901] ICE during boostrap with -O3

2007-05-17 Thread ebotcazou at gcc dot gnu dot org
--- Comment #4 from ebotcazou at gcc dot gnu dot org 2007-05-17 15:50 --- *** This bug has been marked as a duplicate of 31523 *** -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added

[Bug rtl-optimization/31523] bootstrap failure with -O2 -finline-functions

2007-05-17 Thread ebotcazou at gcc dot gnu dot org
--- Comment #18 from ebotcazou at gcc dot gnu dot org 2007-05-17 15:50 --- *** Bug 27901 has been marked as a duplicate of this bug. *** -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/31952] parameters may be redeclared in a function try-block

2007-05-17 Thread bangerth at dealii dot org
--- Comment #3 from bangerth at dealii dot org 2007-05-17 15:51 --- Confirmed. -- bangerth at dealii dot org changed: What|Removed |Added CC|

[Bug c++/31954] template function cannot create object of forward declared class

2007-05-17 Thread bangerth at dealii dot org
--- Comment #3 from bangerth at dealii dot org 2007-05-17 15:53 --- I agree as well. -- bangerth at dealii dot org changed: What|Removed |Added CC|

[Bug c/28143] gcc.c-torture/execute/frame-address.c execution FAIL on sparc64

2007-05-17 Thread ebotcazou at gcc dot gnu dot org
--- Comment #1 from ebotcazou at gcc dot gnu dot org 2007-05-17 15:53 --- 2006-10-03 Eric Botcazou [EMAIL PROTECTED] * builtins.c (expand_builtin_return_addr): Deal with FRAME_ADDR_RTX. * doc/tm.texi (Basic Stack Layout): Document FRAME_ADDR_RTX. *

[Bug c++/31960] Premature hiding of symbols makes a copy constructor shooting at its own foot

2007-05-17 Thread bangerth at dealii dot org
--- Comment #2 from bangerth at dealii dot org 2007-05-17 15:55 --- Initializer syntax int i = i; is a gcc extension. You may want to read the documentation of -Winit-self. W. -- bangerth at dealii dot org changed: What|Removed |Added

[Bug rtl-optimization/30815] [4.3 Regression] pr29965.c fails on the mainline, switches and __builtin_trap

2007-05-17 Thread tbm at cyrius dot com
--- Comment #4 from tbm at cyrius dot com 2007-05-17 15:58 --- (In reply to comment #3) Is this still a problem? I don't see it in the logs. Seems to work fine here now. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30815

[Bug fortran/31971] Simple Fortran code fails with ICE

2007-05-17 Thread kargl at gcc dot gnu dot org
--- Comment #1 from kargl at gcc dot gnu dot org 2007-05-17 16:05 --- Works for me. What OS are you using and where did you get the version of gfortran? An illegal instruction error normally means you are using a version of gfortran on the wrong architecture (ie., i686 on amd64).

[Bug target/25780] ICE at -O2

2007-05-17 Thread ebotcazou at gcc dot gnu dot org
--- Comment #3 from ebotcazou at gcc dot gnu dot org 2007-05-17 16:10 --- Fixed in 4.1.x and later. -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/27935] gcc fails to compile code with operator delete(void*,size_t)

2007-05-17 Thread ebotcazou at gcc dot gnu dot org
--- Comment #11 from ebotcazou at gcc dot gnu dot org 2007-05-17 16:13 --- *** Bug 29045 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27935

[Bug c++/29045] gcc fails to compile code with operator delete(void*,size_t)

2007-05-17 Thread ebotcazou at gcc dot gnu dot org
--- Comment #3 from ebotcazou at gcc dot gnu dot org 2007-05-17 16:13 --- *** This bug has been marked as a duplicate of 27935 *** -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added

[Bug java/30035] libjava cannot be built when objdir != srcdir

2007-05-17 Thread ebotcazou at gcc dot gnu dot org
--- Comment #5 from ebotcazou at gcc dot gnu dot org 2007-05-17 16:15 --- Configure using an absolute path as recommended in the build instructions. -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added

[Bug ada/31687] GNAT incorrectly finds its libraries through symlinks

2007-05-17 Thread ebotcazou at gcc dot gnu dot org
--- Comment #1 from ebotcazou at gcc dot gnu dot org 2007-05-17 16:17 --- Nothing platform-specific. -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/31976] New: [4.3 Regression] ICE in ssa_operand_alloc, at tree-ssa-operands.c:487 with -O3

2007-05-17 Thread tbm at cyrius dot com
I'm getting the following ICE with gcc 4.3 20060515 and -O3: (sid)24074:[EMAIL PROTECTED]: ~/delta/bin] /usr/lib/gcc-snapshot/bin/gcc -c -O3 838.c 838.c: In function 'rPIc_entry': 838.c:3181: internal compiler error: in ssa_operand_alloc, at tree-ssa-operands.c:487 Please submit a full bug

[Bug c++/2288] Variable declared in for-loop-header is in wrong scope

2007-05-17 Thread andrew dot stubbs at st dot com
--- Comment #7 from andrew dot stubbs at st dot com 2007-05-17 16:37 --- Another example that might be of interest if anybody eventually tries to fix this: void foo () { for (int i = 0; int i = 0; i++) ; } -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=2288

[Bug c/31977] New: can return OK from int main() without a return statement by using a goto before the return

2007-05-17 Thread bmcfadden at cdp dot com
I'm using gcc 3.4.5, and I was looking into a weird condition. The following program compiles OK: #include stdio.h int alloc() { return 0; } int main(int argc, char* argv[]) { printf(Testing!\n); if(alloc() == 0)goto Radhe; return 0; Radhe: printf(Hello\n); } The

[Bug c/31977] can return OK from int main() without a return statement by using a goto before the return

2007-05-17 Thread bmcfadden at cdp dot com
--- Comment #1 from bmcfadden at cdp dot com 2007-05-17 16:48 --- Created an attachment (id=13571) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13571action=view) The file from -save-temps -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31977

[Bug fortran/31978] New: -x f77-cpp-input causes trouble when linking

2007-05-17 Thread p dot guio at ucl dot ac dot uk
Dear all It looks like specifying the option -x f77-cpp-input forces the preprocessor to be run even though the input files are object or static libraries. As an toy exmple try with a simple prog.f % gfortran -x f77-cpp-input -c prog.f % gfortran -x f77-cpp-input prog.o -o prog It looks like

[Bug c/31977] can return OK from int main() without a return statement by using a goto before the return

2007-05-17 Thread bmcfadden at cdp dot com
--- Comment #2 from bmcfadden at cdp dot com 2007-05-17 16:52 --- Created an attachment (id=13572) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13572action=view) the assembly (.s) file -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31977

[Bug c/31977] can return OK from int main() without a return statement by using a goto before the return

2007-05-17 Thread bmcfadden at cdp dot com
--- Comment #3 from bmcfadden at cdp dot com 2007-05-17 16:54 --- Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.5/specs Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking

[Bug c++/16370] __attribute__((deprecated)) not useful on classes, and ugly function name listed for deperecation warnings on constructor

2007-05-17 Thread bkoz at gcc dot gnu dot org
--- Comment #5 from bkoz at gcc dot gnu dot org 2007-05-17 17:22 --- Also an issue with class templates. See this thread: http://gcc.gnu.org/ml/libstdc++/2007-05/msg00113.html I'm changing this to normal severity, since we absolutely need a solution pronto on this, as it is essential

[Bug fortran/31972] [4.3 regression] Internal Error occurs when TRANSFER contains hollerith argument

2007-05-17 Thread dfranke at gcc dot gnu dot org
--- Comment #2 from dfranke at gcc dot gnu dot org 2007-05-17 17:33 --- Confirmed. Adding Brooks Moses to CC as he recently worked on this. (gdb) bt #0 gfc_internal_error ( format=0x86ca3bc Invalid expression in gfc_target_expr_size.) at ../../../gcc/gcc/fortran/error.c:820 #1

[Bug fortran/31978] -x f77-cpp-input causes trouble when linking

2007-05-17 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-05-17 17:46 --- and this is exactly the way -x should behave. the documention is clear at that. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug rtl-optimization/20369] noce_emit_move_insn emits invalid insns

2007-05-17 Thread amylaar at gcc dot gnu dot org
--- Comment #3 from amylaar at gcc dot gnu dot org 2007-05-17 17:50 --- (In reply to comment #2) Do you still have the testcase? Not as such. However, AFAICR it was triggered by a regression test (i.e. building library or testcase). But the issue should be clear enough without a

[Bug fortran/31972] [4.3 regression] Internal Error occurs when TRANSFER contains hollerith argument

2007-05-17 Thread dfranke at gcc dot gnu dot org
--- Comment #3 from dfranke at gcc dot gnu dot org 2007-05-17 17:59 --- Add Brooks to CC, again. Brooks, could you have a look at this one? -- dfranke at gcc dot gnu dot org changed: What|Removed |Added

[Bug rtl-optimization/29841] [4.2/4.3 regression] ICE with scheduling and __builtin_trap

2007-05-17 Thread pinskia at gcc dot gnu dot org
--- Comment #21 from pinskia at gcc dot gnu dot org 2007-05-17 18:15 --- *** Bug 30815 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29841

[Bug libgomp/31974] [4.3 regression]: Many libgomp failures

2007-05-17 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/31972] [4.3 regression] Internal Error occurs when TRANSFER contains hollerith argument

2007-05-17 Thread dominiq at lps dot ens dot fr
--- Comment #4 from dominiq at lps dot ens dot fr 2007-05-17 18:18 --- Works for me on OSX 10.3.9 gfortran 4.3.0 20070511: PROGRAM lsstr INTEGER, DIMENSION(1) :: i i = (/ TRANSFER(4HSOLR, 0) /) print *, i END PROGRAM lsstr outputs 1397705810 (83797682 hexa) with gfortran, xlf, and

[Bug rtl-optimization/30815] [4.3 Regression] pr29965.c fails on the mainline, switches and __builtin_trap

2007-05-17 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2007-05-17 18:15 --- This was fixed with the same patch that fixed PR 29841. *** This bug has been marked as a duplicate of 29841 *** -- pinskia at gcc dot gnu dot org changed: What|Removed

[Bug c/31979] New: ICE compiling openssl-0.9.8e/apps/ocsp.c

2007-05-17 Thread clemens dot koller at anagramm dot de
The host machine is a mpc8540 embedded PowerPC (e500 core) $ uname -a Linux ecam.anagramm.de 2.6.21-rc5-g9a5ee4cc #4 Mon Apr 2 21:31:53 CEST 2007 ppc e500 GNU/Linux Sources (just in case): http://www.openssl.org/source/openssl-0.9.8e.tar.gz It fails when compiling the file:

[Bug middle-end/31979] ICE compiling openssl-0.9.8e/apps/ocsp.c

2007-05-17 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-05-17 18:39 --- This code is undefined as the warning points out. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/31979] ICE compiling openssl-0.9.8e/apps/ocsp.c

2007-05-17 Thread clemens dot koller at anagramm dot de
--- Comment #2 from clemens dot koller at anagramm dot de 2007-05-17 18:41 --- Created an attachment (id=13573) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13573action=view) preprocessed file It's just big. :-( -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31979

[Bug c/31977] can return OK from int main() without a return statement by using a goto before the return

2007-05-17 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2007-05-17 18:53 --- [pinskia-laptop:~/src] pinskia% gcc -Wreturn-type t.c t.c: In function 'main': t.c:15: warning: control reaches end of non-void function This code is only undefined at runtime which means you cannot error out.

[Bug target/31733] [4.3 Regression] ICE in rtl_verify_flow_info, at cfgrtl.c:2050: {return_internal} (nil)

2007-05-17 Thread sje at cup dot hp dot com
--- Comment #14 from sje at cup dot hp dot com 2007-05-17 18:54 --- Created an attachment (id=13574) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13574action=view) reduced test case Here is a reduced test case. I think the problem is related to having the optimizer remove the

Internal compiler error with May 7 Window's binary

2007-05-17 Thread Al Greynolds
C:\mingw\bugstype bug.f90 subroutine dummy contains function quadric(a,b) result(c) intent(in) a,b; dimension a(0:3),b(0:3),c(0:9) c(0)=a(0)*b(0); c(1:3)=a(1:)*b(0)+a(0)*b(1:); c(4:6)=a(1:)*b(1:) c(7:9)=(/a(1)*b(2)+b(1)*a(2),a(1)*b(3)+b(1)*a(3),a(2)*b(3)+b(2)*a(3)/) end function end

[Bug fortran/31972] [4.3 regression] Internal Error occurs when TRANSFER contains hollerith argument

2007-05-17 Thread dfranke at gcc dot gnu dot org
--- Comment #5 from dfranke at gcc dot gnu dot org 2007-05-17 20:15 --- Dominique, target-memory.c (frame #1 in the backtrace) was newly introduced at 20070516. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31972

[Bug fortran/31716] segfault with real array bounds

2007-05-17 Thread dfranke at gcc dot gnu dot org
--- Comment #6 from dfranke at gcc dot gnu dot org 2007-05-17 20:27 --- I can not reproduce the segfault, so if I can get a backtrace it would help. Jerry, I hope this helps. Let me know if you need something else :) $ gfortran-svn -v gcc version 4.3.0 20070517 (experimental) (gdb

[Bug c/31980] New: ICE in cancel_option()

2007-05-17 Thread John dot Tytgat at aaug dot net
In an arm target which is not in gcc svn (see http://gccsdk.riscos.info/) we have the following options defined in its .opt file: --8-- mlibscl Target Report RejectNegative InverseMask(UNIXLIB,LIBSCL) Compile with the SharedCLibrary headers munixlib Target Report RejectNegative Mask(UNIXLIB)

[Bug c/31977] can return OK from int main() without a return statement by using a goto before the return

2007-05-17 Thread bangerth at dealii dot org
--- Comment #5 from bangerth at dealii dot org 2007-05-17 20:38 --- Both the C99 standard (section 5.1.2.2.3) and the C++ standard (3.6.1/5) say that if you hit the end of the main() function, then this is equivalent to a return 0; statement. W. -- bangerth at dealii dot org

[Bug c/31977] can return OK from int main() without a return statement by using a goto before the return

2007-05-17 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2007-05-17 20:45 --- (In reply to comment #5) Both the C99 standard (section 5.1.2.2.3) and the C++ standard (3.6.1/5) say that if you hit the end of the main() function, then this is equivalent to a return 0; statement. C90 is

[Bug middle-end/31980] ICE in cancel_option()

2007-05-17 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-05-17 20:48 --- I don't think you want the options to be in the MASK anyways. Use Var(a, 0) Var(a, 1) Var(a, 2) etc. instead and that should fix your ICE. -- pinskia at gcc dot gnu dot org changed: What|Removed

[Bug libgcj/31659] config-int.h:327:1: error: INT8_MIN redefined

2007-05-17 Thread andreast at gcc dot gnu dot org
--- Comment #9 from andreast at gcc dot gnu dot org 2007-05-17 21:16 --- I'll take it over and apply it to gcc-head and classpath. Tom did approve it. -- andreast at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/31850] gcc.c-torture/compile/limits-fnargs.c is slow at compiling for spu-elf

2007-05-17 Thread sje at gcc dot gnu dot org
--- Comment #6 from sje at gcc dot gnu dot org 2007-05-17 21:29 --- Subject: Bug 31850 Author: sje Date: Thu May 17 20:29:34 2007 New Revision: 124810 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=124810 Log: PR target/31850 * reload.c (subst_reloads): Remove

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

2007-05-17 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/31972] [4.3 regression] Internal Error occurs when TRANSFER contains hollerith argument

2007-05-17 Thread brooks at gcc dot gnu dot org
--- Comment #6 from brooks at gcc dot gnu dot org 2007-05-17 22:45 --- Yeah, this is to be expected, I think. Holleriths store the memory representation but not the semantic representation of their value, and transfer tries to fold things and gets confused. There's probably an easy

[Bug tree-optimization/31981] New: Missed forw prop with indirect ref and addr.

2007-05-17 Thread pinskia at gcc dot gnu dot org
This testcase should pass: /* { dg-do compile } */ /* { dg-options -O2 -fdump-tree-forwprop } */ /* We should be able to optimize this to b.t[i] = 1 during early optimizations. */ struct a { int t[10]; }; struct a b; void f(__SIZE_TYPE__ i) { int *c = b.t; c[i] = 1; } /* { dg-final

[Bug tree-optimization/31981] Missed forw prop with indirect ref and addr.

2007-05-17 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Severity|normal |enhancement http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31981

[Bug target/31965] _INTEGRAL_MAX_BITS defined incorrectly

2007-05-17 Thread dannysmith at gcc dot gnu dot org
--- Comment #2 from dannysmith at gcc dot gnu dot org 2007-05-17 23:51 --- Subject: Bug 31965 Author: dannysmith Date: Thu May 17 22:51:05 2007 New Revision: 124813 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=124813 Log: PR target/31965 * config/i386/mingw32.h

[Bug target/31965] _INTEGRAL_MAX_BITS defined incorrectly

2007-05-17 Thread dannysmith at users dot sourceforge dot net
--- Comment #3 from dannysmith at users dot sourceforge dot net 2007-05-17 23:59 --- Fixed by: 2007-05-17 Danny Smith [EMAIL PROTECTED] PR target/31965 * config/i386/mingw32.h (_INTEGRAL_MAX_BITS): Define builtin as TYPE_PRECISION (intmax_type_node). --

[Bug target/31965] _INTEGRAL_MAX_BITS defined incorrectly

2007-05-17 Thread dannysmith at users dot sourceforge dot net
--- Comment #4 from dannysmith at users dot sourceforge dot net 2007-05-17 23:59 --- Closing. -- dannysmith at users dot sourceforge dot net changed: What|Removed |Added

[Bug pch/13675] #including a precompiled header more than once in the same unit fails

2007-05-17 Thread tim at klingt dot org
--- Comment #15 from tim at klingt dot org 2007-05-18 00:06 --- 4.2.0 still has this bug ... maybe someone with enough power can add this to the known to fail section? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13675

[Bug tree-optimization/31982] New: Missed forw prop with indirect ref and addr. (and char types or sizeof(type) == 1)

2007-05-17 Thread pinskia at gcc dot gnu dot org
This testcase should pass: /* { dg-do compile } */ /* { dg-options -O2 -fdump-tree-forwprop } */ /* We should be able to optimize this to b-t[i] = 1 during early optimizations. */ struct a { char t[10]; }; struct a *b; void f(__SIZE_TYPE__ i) { int *c = b-t; c[i] = 1; } /* {

  1   2   >