> Package: gcc-snapshot
> Version: 20060325-1
>
> I get the following build failure of libsndfile with gcc 4.2
> 20060325-1 and 20060408-1. Basically what happens is that abs()
> returns a negative number.
>
>> Automatic build of libsndfile_1.0.15-2 on em64t by sbuild/amd64 1.112
> ...
>> ./lo
--- Comment #5 from reichelt at gcc dot gnu dot org 2006-04-13 12:00
---
Confirmed.
The original testcase compiles fine for me with today's compiler.
If I remove the (unused) typedef in the third line, I get the ICE.
Here's a reduced testcase:
=
struct
--- Comment #6 from reichelt at gcc dot gnu dot org 2006-04-13 12:01
---
Forgot to mention that you have to compile the testcase from comment #5
with "-O2".
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27103
--- You are receiving this mail because: ---
You reported the b
--
reichelt at gcc dot gnu dot org changed:
What|Removed |Added
OtherBugsDependingO||27143
nThis||
http://gcc.
--
tbm at cyrius dot com changed:
What|Removed |Added
CC||debian-gcc at lists dot
||debian
--
tbm at cyrius dot com changed:
What|Removed |Added
Summary|segfault with -O2 on x86_64 |[4.1 regression] segfault
||with
* Nikita V. Youshchenko <[EMAIL PROTECTED]> [2006-04-14 10:55]:
> > sum_abs = abs (sum_abs + abs (abs (data [k]) - 256)) ;
> >
> Looks like you are working near limits of 'int' type, and different
> valid optimizations could change order of calculation, either
> causing data overflow or not. T
* Martin Michlmayr <[EMAIL PROTECTED]> [2006-04-13 12:03]:
> > Preprocessed source is coming.
>
> Attached. Unfortunately I don't know how to run it through delta
> because running gcc-4.0 over the preprocessed source gives me
> "incompatible types in assignment" errors - which I don't get when I
* Martin Michlmayr <[EMAIL PROTECTED]> [2006-04-14 11:08]:
> > > sum_abs = abs (sum_abs + abs (abs (data [k]) - 256)) ;
> > >
> > Looks like you are working near limits of 'int' type, and different
> > valid optimizations could change order of calculation, either
> > causing data overflow or n
--
simon dot strandman at telia dot com changed:
What|Removed |Added
CC||simon dot strandman at telia
|
forwarded 362307 http://gcc.gnu.org/PR27158
tags 362307 + upstream
thanks
Minimal test case forwarded upstream.
--
Martin Michlmayr
http://www.cyrius.com/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Processing commands for [EMAIL PROTECTED]:
> forwarded 362307 http://gcc.gnu.org/PR27158
Bug#362307: ICE on powerpc: error in extract_insn, at recog.c:2084
Noted your statement that Bug has been forwarded to http://gcc.gnu.org/PR27158.
> tags 362307 + upstream
Bug#362307: ICE on powerpc: error in
It seems the problem here is "signed types are undefined on overflow".
abs (2083755264 + abs (abs (79364096) - 256))
Let express in hex on 32bit platform:
abs (0x7c339500 + abs (abs (0x4bb) - 0x100))
abs (0x7c339500 + 0x4baff00)
abs (undefined)
Does help to change definition of sum_abs from
PIC:
> Automatic build of zeroc-ice_3.0.1-3 on em64t by sbuild/amd64 1.112
...
> c++ -shared -g -m64 -ftemplate-depth-128 -Wall -D_REENTRANT -fPIC -g
> -L../../lib -o ../../lib/libFreeze.so.3.0.1 -Wl,-h,libFreeze.so.30
> CatalogData.o Catalog.o ConnectionF.o ConnectionI.o Connection.o DB.o
>
It seems the problem here is "signed types are undefined on overflow".
abs (2083755264 + abs (abs (79364096) - 256))
Let express in hex on 32bit platform:
abs (0x7c339500 + abs (abs (0x4bb) - 0x100))
abs (0x7c339500 + 0x4baff00)
abs (undefined)
Does help to change definition of sum_abs fro
* Petr Salinger <[EMAIL PROTECTED]> [2006-04-14 13:05]:
> Does help to change definition of sum_abs from "int" to "unsigned int" ?
Yes.
> Does help to compile it with "-fwrapv" ?
No.
--
Martin Michlmayr
http://www.cyrius.com/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "u
--- Comment #7 from pinskia at gcc dot gnu dot org 2006-04-13 16:35 ---
*** Bug 27103 has been marked as a duplicate of this bug. ***
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
---
--- Comment #7 from pinskia at gcc dot gnu dot org 2006-04-13 16:35 ---
This is the same as PR 26490.
*** This bug has been marked as a duplicate of 26490 ***
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
-
--- Comment #11 from pinskia at gcc dot gnu dot org 2006-04-13 16:37
---
*** Bug 27143 has been marked as a duplicate of this bug. ***
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26757
--- You are receiving this mail because: ---
You reported the bug, or are watching th
--- Comment #6 from law at redhat dot com 2006-04-13 16:38 ---
Fixed a couple days ago.
--
law at redhat dot com changed:
What|Removed |Added
Status|NEW
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
Summary|[4.1 regression] ICE|[4.1 regression] C++ front-
|(Segmentation fault)
--- Comment #12 from pinskia at gcc dot gnu dot org 2006-04-13 16:42
---
This is a latent bug as show by PR 16792 and PR 20357. Both show the same
problem of two DECLs pointing to the same variable and having the same UID.
--
pinskia at gcc dot gnu dot org changed:
What
--- Comment #7 from pinskia at gcc dot gnu dot org 2006-04-13 16:51 ---
But only fixed on the mainline for 4.2 and not for 4.1.
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
-
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-04-13 16:55 ---
((unsigned int *) t1->p) is most likely giving it troubles.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27144
--- You are receiving this mail because: ---
You are on the CC list for the bug, or are w
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-04-13 16:57 ---
It is an ICE while doing scev.
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-04-13 17:01 ---
Confirmed, here is a slightly reduced testcase:
typedef struct {unsigned *p; }
hvl_t;
test_vltypes_compound_vlen_vlen (void) {
typedef struct {
int i;
float f;
hvl_t v;
}
s1;
s1 wdata[128];
unsi
--- Comment #8 from law at redhat dot com 2006-04-13 17:05 ---
Subject: Re: [4.1 regression] ICE in
merge_alias_info
On Thu, 2006-04-13 at 16:51 +, pinskia at gcc dot gnu dot org wrote:
>
> --- Comment #7 from pinskia at gcc dot gnu dot org 2006-04-13 16:51
> ---
--
law at redhat dot com changed:
What|Removed |Added
CC|law at redhat dot com |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27087
--- You are receiving
dann frazier wrote:
> If for no other reason, upstream release process changes will likely
> make this much more difficult. As I'm sure you know, 2.6 is being
> actively developed indefinitely, as opposed to the previous method of
> branching off and stabalising a development tree. Since there is
Package: gcc-4.1-base
Version: 4.1.0-1
Severity: minor
desktop:~# dpkg -L gcc-4.1-base
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/gcc-4.1-base
/usr/share/doc/gcc-4.1-base/TODO.Debian
/usr/share/doc/gcc-4.1-base/copyright
/usr/share/doc/gcc-4.1-base/README.Debian.gz
/usr/share/doc/gcc-4.1-bas
Your message dated Fri, 14 Apr 2006 21:55:57 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Bug#362638: gcc-4.1-base: package includes duplicate files
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not
--
tbm at cyrius dot com changed:
What|Removed |Added
CC||debian-gcc at lists dot
||debian
--- Comment #1 from tbm at cyrius dot com 2006-04-14 10:04 ---
Created an attachment (id=11266)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11266&action=view)
test case for 4.1
shows the ICE in gcc 4.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27158
--- You are re
--- Comment #2 from tbm at cyrius dot com 2006-04-14 10:31 ---
Created an attachment (id=11267)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11267&action=view)
test case for 4.2
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27158
--- You are receiving this mail because:
--- Comment #3 from tbm at cyrius dot com 2006-04-14 10:33 ---
Created an attachment (id=11268)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11268&action=view)
preprocessed source
Unfortunately, I don't get delta to generate a test case that shows the bug
both in 4.1 and 4.2. Th
--- Comment #4 from tbm at cyrius dot com 2006-04-14 10:33 ---
Created an attachment (id=11269)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11269&action=view)
preprocessed source
Unfortunately, I don't get delta to generate a test case that shows the bug
both in 4.1 and 4.2. Th
--- Comment #5 from pinskia at gcc dot gnu dot org 2006-04-14 16:57 ---
Usually what is happening is that reload is doing the constant loading for some
reason.
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
-
--- Comment #6 from pinskia at gcc dot gnu dot org 2006-04-14 17:34 ---
Thanks for the testcases.
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
38 matches
Mail list logo