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
--- 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
--
tim at klingt dot org changed:
What|Removed |Added
Severity|normal |enhancement
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34604
+===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
--- 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
--- 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
--- 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
--- 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
--- 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
---
--- 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
--- 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
--- 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();
}
=
--- 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
--- 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-
--- 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
--- 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
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
--- 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
--
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
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
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());
}
=
--
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
--- 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
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
--
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
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
--
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
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;
}
===
--
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
--- 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
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
CC||pinskia at gcc dot gnu dot
|
[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
--- 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
--- 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
--- 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
--- 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
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
--- 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
--- 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
--
--- 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
---
40 matches
Mail list logo