[Bug tree-optimization/34604] New: __restrict__ keyword of inline function arguments is ignored

2007-12-28 Thread tim at klingt dot org
the following code shows two functions, which should be vectorized by the compiler, one is defined inline, the other one isn't: template void copyvec(F * __restrict__ dest, const F * __restrict__ src, unsigned int n) { do *dest++ = *src++; while (--n); } template inline void cop

[Bug fortran/34438] gfortran not compliant w.r.t default initialization of derived type component and implicit SAVE attribute

2007-12-28 Thread sven dot buijssen at math dot uni-dortmund dot de
--- Comment #13 from sven dot buijssen at math dot uni-dortmund dot de 2007-12-28 10:54 --- (In reply to comment #12) No, it is not a regression. All releases since 4.0.0 and the 4.[0-2] branches are affected. I just asked because the only information I could find about the current back

[Bug tree-optimization/34604] __restrict__ keyword of inline function arguments is ignored

2007-12-28 Thread tim at klingt dot org
-- tim at klingt dot org changed: What|Removed |Added Severity|normal |enhancement http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34604

[Bug ada/34605] New: 4.3.0 20071005 (experimental) (i686-pc-linux-gnu) verify_stmts failed

2007-12-28 Thread andry dot ogorodnik at gmail dot com
+===GNAT BUG DETECTED==+ | 4.3.0 20071005 (experimental) (i686-pc-linux-gnu) verify_stmts failed| | Error detected around /home/admin/fp/src/dataset/ds-fld-numeric-int-short.adb:211| | Please submit a bug report; see http://gcc.gnu.org/bugs.ht

[Bug ada/34605] 4.3.0 20071005 (experimental) (i686-pc-linux-gnu) verify_stmts failed

2007-12-28 Thread andry dot ogorodnik at gmail dot com
--- Comment #1 from andry dot ogorodnik at gmail dot com 2007-12-28 11:19 --- Created an attachment (id=14835) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14835&action=view) command line -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34605

[Bug ada/34605] 4.3.0 20071005 (experimental) (i686-pc-linux-gnu) verify_stmts failed

2007-12-28 Thread andry dot ogorodnik at gmail dot com
--- Comment #2 from andry dot ogorodnik at gmail dot com 2007-12-28 11:20 --- Created an attachment (id=14836) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14836&action=view) source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34605

[Bug fortran/34565] internal write to string array fails

2007-12-28 Thread tkoenig at gcc dot gnu dot org
--- Comment #5 from tkoenig at gcc dot gnu dot org 2007-12-28 13:16 --- Created an attachment (id=14837) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14837&action=view) partial patch The attached patch will let the test case from comment #3 succeed, but not the original test case

[Bug tree-optimization/16306] [4.0/4.1/4.2/4.3 Regression] restrict and copying pointers problem

2007-12-28 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2007-12-28 13:36 --- *** Bug 34604 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16306

[Bug tree-optimization/34604] __restrict__ keyword of inline function arguments is ignored

2007-12-28 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-12-28 13:36 --- This is the same issue as PR 16306. *** This bug has been marked as a duplicate of 16306 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug middle-end/34483] wo_prof_two_strs.c:56: internal compiler error: in find_new_var_of_type, at ipa-struct-reorg.c:605

2007-12-28 Thread rsandifo at gcc dot gnu dot org
--- Comment #11 from rsandifo at gcc dot gnu dot org 2007-12-28 14:57 --- Created an attachment (id=14838) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14838&action=view) Patch for double free and iteration bug I'm seeing a struct-reorg.exp ICE on MIPS too, although in wo_prof_m

[Bug fortran/34565] internal write to string array fails

2007-12-28 Thread jvdelisle at gcc dot gnu dot org
--- Comment #6 from jvdelisle at gcc dot gnu dot org 2007-12-28 15:39 --- See in next_array_record where we do not handle negative step size other than -1 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34565

[Bug middle-end/32885] Internal compiler error when using -fopenmp -O3 -fno-unit-at-a-time option

2007-12-28 Thread reichelt at gcc dot gnu dot org
--- Comment #4 from reichelt at gcc dot gnu dot org 2007-12-28 16:40 --- Confirmed. Here's a reduced testcase that segfaults when compiled with "-O -fopenmp -fno-unit-at-a-time": inline void foo() { #pragma omp parallel for (;;) ; } void bar() { foo(); } =

[Bug gcov-profile/32316] internal compiler error: Segmentation fault

2007-12-28 Thread reichelt at gcc dot gnu dot org
--- Comment #4 from reichelt at gcc dot gnu dot org 2007-12-28 16:57 --- No preprocessed source for 6 months. There's no way we can reproduce the bug without it. If you can attach the preprocessed source, please feel free to reopen the PR. -- reichelt at gcc dot gnu dot org changed

[Bug tree-optimization/34458] [4.3 Regression] ICE in int_cst_value, at tree.c:8047 at -O3

2007-12-28 Thread sebpop at gmail dot com
--- Comment #9 from sebpop at gmail dot com 2007-12-28 17:56 --- Subject: Re: [4.3 Regression] ICE in int_cst_value, at tree.c:8047 at -O3 Attached is a fix for this bug. I'll test it and then post it on gcc-patches. Sebastian --- Comment #10 from sebpop at gmail dot com 2007-

[Bug libgcj/33618] libtool passes invalid option to 2.18 linker

2007-12-28 Thread william dot adams at dot dot state dot fl dot us
--- Comment #1 from william dot adams at dot dot state dot fl dot us 2007-12-28 17:36 --- this is libiconv and classpath related. --without-libiconv-prefix passed to configure at the top level fixes it. -- william dot adams at dot dot state dot fl dot us changed: What

[Bug target/34571] [4.3 Regression] Segfault in alpha_expand_mov at -O3

2007-12-28 Thread tbm at cyrius dot com
--- Comment #4 from tbm at cyrius dot com 2007-12-28 18:33 --- Thanks, I started a bootstrap. This may take a few days. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34571

[Bug c++/34606] New: [4.3 regression] ICE with invalid specialization of variadic template

2007-12-28 Thread reichelt at gcc dot gnu dot org
The following invalid code snippet triggers an ICE on mainline: === template struct A; template struct A { template struct B; template struct B {}; }; === bug.cc:3: error: parameter packs

[Bug middle-end/34483] wo_prof_two_strs.c:56: internal compiler error: in find_new_var_of_type, at ipa-struct-reorg.c:605

2007-12-28 Thread olga at gcc dot gnu dot org
--- Comment #12 from olga at gcc dot gnu dot org 2007-12-28 19:28 --- (In reply to comment #11) > Created an attachment (id=14838) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14838&action=view) [edit] > Patch for double free and iteration bug > I'm seeing a struct-reorg.exp ICE o

[Bug c++/34606] [4.3 regression] ICE with invalid specialization of variadic template

2007-12-28 Thread reichelt at gcc dot gnu dot org
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.3.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34606

[Bug c++/34607] New: ICE with invalid for loop after #pragma omp for

2007-12-28 Thread reichelt at gcc dot gnu dot org
The following invalid code snippet triggers an ICE since GCC 4.2.0 when compiled with "-fopenmp": === void foo() { #pragma omp for for (int i=; i<2; ++i) ; } === bug.cc: In function 'void foo

[Bug c++/34608] New: [4.3 regression] ICE with "-ftest-coverage -fopenmp"

2007-12-28 Thread reichelt at gcc dot gnu dot org
The following valid code snippet triggers an ICE on mainline when compiled with "-ftest-coverage -fopenmp": === struct A { ~A() throw(); }; void foo(A); void bar() { #pragma omp parallel foo(A()); } =

[Bug c++/34608] [4.3 regression] ICE with "-ftest-coverage -fopenmp"

2007-12-28 Thread reichelt at gcc dot gnu dot org
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.3.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34608

[Bug middle-end/34483] wo_prof_two_strs.c:56: internal compiler error: in find_new_var_of_type, at ipa-struct-reorg.c:605

2007-12-28 Thread rsandifo at nildram dot co dot uk
--- Comment #13 from rsandifo at nildram dot co dot uk 2007-12-28 19:38 --- Subject: Re: wo_prof_two_strs.c:56: internal compiler error: in find_new_var_of_type, at ipa-struct-reorg.c:605 "olga at gcc dot gnu dot org" <[EMAIL PROTECTED]> writes: > --- Comment #12 from olga at gcc

[Bug c++/34609] New: [4.3 regression] ICE with "-ftest-coverage" and references

2007-12-28 Thread reichelt at gcc dot gnu dot org
The following valid code snippet triggers an ICE on mainline when compiled with "-O -ftest-coverage": === struct A { int i; int& get() { return i; } }; inline A foo() { A a; a.get(); return a; } inline A bar() { return foo(); } voi

[Bug c++/34609] [4.3 regression] ICE with "-ftest-coverage" and references

2007-12-28 Thread reichelt at gcc dot gnu dot org
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.3.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34609

[Bug c++/34610] New: [4.3 regression] ICE with "-fprofile-arcs -fopenmp"

2007-12-28 Thread reichelt at gcc dot gnu dot org
The following valid code snippet triggers an ICE on mainline when compiled with "-fprofile-arcs -fopenmp": === void foo() { #pragma omp for for (int i=0; i<10; ++i) ; } === bug.cc: In fun

[Bug c++/34610] [4.3 regression] ICE with "-fprofile-arcs -fopenmp"

2007-12-28 Thread reichelt at gcc dot gnu dot org
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.3.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34610

[Bug c++/34611] New: [4.3 regression] Broken diagnostic: 'tree_list' not supported by dump_expr

2007-12-28 Thread reichelt at gcc dot gnu dot org
On mainline the compiler issues a broken diagnostic for the following invalid code snippet: === template struct A { template void foo(); }; template<> template void A<0>::foo() { X; } ===

[Bug c++/34611] [4.3 regression] Broken diagnostic: 'tree_list' not supported by dump_expr

2007-12-28 Thread reichelt at gcc dot gnu dot org
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.3.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34611

[Bug middle-end/34483] wo_prof_two_strs.c:56: internal compiler error: in find_new_var_of_type, at ipa-struct-reorg.c:605

2007-12-28 Thread dave at hiauly1 dot hia dot nrc dot ca
--- Comment #14 from dave at hiauly1 dot hia dot nrc dot ca 2007-12-28 19:54 --- Subject: Re: wo_prof_two_strs.c:56: internal compiler error: in find_new_var_of_type, at ipa-struct-reorg.c:605 > But isn't my patch more efficient? I don't see why you need to > build a separate list li

[Bug c++/34606] [4.3 regression] ICE with invalid specialization of variadic template

2007-12-28 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 libffi/34612] New: libffi doesn't work with -fomit-frame-pointer

2007-12-28 Thread hjl at lucon dot org
[EMAIL PROTECTED] testsuite]$ /export/build/gnu/gcc-stack/build-i686-linux/gcc/xgcc -B/export/build/gnu/gcc-stack/build-i686-linux/gcc/ /net/gnu-6/export/gnu/src/gcc-stack/gcc/libffi/testsuite/libffi.call/cls_16byte.c -Os -I/export/build/gnu/gcc-stack/build-i686-linux/i686-pc-linux-gnu/./libffi

[Bug gcov-profile/34610] [4.3 regression] ICE with "-fprofile-arcs -fopenmp"

2007-12-28 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-12-28 20:16 --- It should be noted that -fprofile-arcs is not thread safe yet anyways so at runtime, you will get weird answers. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug preprocessor/31869] stringifying empty macros

2007-12-28 Thread truedfx at gentoo dot org
--- Comment #4 from truedfx at gentoo dot org 2007-12-28 20:59 --- Yes, gcc 2.95.3 got it right, the program used to keep the space: .. . . -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31869

[Bug c++/21008] [4.0/4.1/4.2/4.3 Regression] [DR515] Access failure in accessing data member of base class from derived template class

2007-12-28 Thread pinskia at gcc dot gnu dot org
--- Comment #11 from pinskia at gcc dot gnu dot org 2007-12-29 00:38 --- This was voted in WP in 2005: http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#515 -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/34483] wo_prof_two_strs.c:56: internal compiler error: in find_new_var_of_type, at ipa-struct-reorg.c:605

2007-12-28 Thread dave at hiauly1 dot hia dot nrc dot ca
--- Comment #15 from dave at hiauly1 dot hia dot nrc dot ca 2007-12-29 01:24 --- Subject: Re: wo_prof_two_strs.c:56: internal compiler error: in find_new_var_of_type, at ipa-struct-reorg.c:605 > > But isn't my patch more efficient? I don't see why you need to > > build a separate lis

[Bug c/34613] New: Sharing violation with SEE

2007-12-28 Thread myg at gladesoft dot com
While trying to make GCC remove some sign extensions in some code I got an RTL sharing violation when enabling Sign-Extension Elimination. I am using gcc-4.3-20071221 on an AMD64 FreeBSD system (no cross compilation). $ gcc -c -Os -fsee sharing.c sharing.c: In function 'ReducedTestCase': sharing.c

[Bug c/34613] Sharing violation with SEE

2007-12-28 Thread myg at gladesoft dot com
--- Comment #1 from myg at gladesoft dot com 2007-12-29 02:15 --- Created an attachment (id=14840) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14840&action=view) Reduced test-case. Here is a reduced testcase that triggers the ICE. -- http://gcc.gnu.org/bugzilla/show_bug.cg

[Bug rtl-optimization/34613] Sharing violation with SEE

2007-12-28 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2007-12-29 03:33 --- *** This bug has been marked as a duplicate of 34408 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug rtl-optimization/34408] Invalid RTL sharing with -fsee and inline functions

2007-12-28 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2007-12-29 03:33 --- *** Bug 34613 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---