--- Comment #3 from thor at math dot tu-berlin dot de 2006-12-25 18:36
---
Subject: Re: left-shift by 16 + int to double conversion
broken in optimized code
pinskia at gcc dot gnu dot org wrote:
> --- Comment #2 from pinskia at gcc dot gnu dot org 2006-12-25 16
--- Comment #1 from thor at math dot tu-berlin dot de 2006-12-25 12:41
---
Addition: The following compiler switches also seem to be necessary to
reproduce the bug:
-fpic (or -fPIC), -On (n>0) and -mcpu=v9
-mcpu=v8 *does not* have the problem.
--
http://gcc.gnu.org/bugzi
Status: UNCONFIRMED
Severity: critical
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: thor at math dot tu-berlin dot de
GCC build triplet: sparc-sun-solaris5.7
GCC host triplet: sparc-sun-solaris5.7
GCC target tr
ias attribute casting
Product: gcc
Version: 4.0.3
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: thor at math dot tu-berlin dot de
GCC build tri
t: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: thor at math dot tu-berlin dot de
GCC build triplet: i486-pc-linux-gnu
GCC host triplet: i486-pc-linux-gnu
GCC target triplet: i486-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27464
--- Comment #2 from thor at math dot tu-berlin dot de 2006-01-16 09:29
---
HI Andrew,
even though I'm not sure whether this is a duplicate of 11774 (I'm not
competent enough to judge that), let me explain:
i) The reason why you are able to set a breakpoint here is the cons
destructors
Product: gcc
Version: 4.0.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: debug
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: thor at math dot tu-berlin dot de
GCC build triplet:
--- Additional Comments From thor at math dot tu-berlin dot de 2005-07-29
21:18 ---
Subject: Re: -pedantic -ffast-math breaks working code
pinskia at gcc dot gnu dot org wrote:
> --- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-29
> 21:06 ---
>
--- Additional Comments From thor at math dot tu-berlin dot de 2005-07-29
21:14 ---
As per request, here is the preprocessed source code:
int main(int argc,char **argv)
{
double v = (__extension__ 0x1.0p2047);
printf("%f\n",v);
return 0;
}
--
http://gcc.gnu.or
rity: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: thor at math dot tu-berlin dot de
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
ry: -pedantic -ffast-math breaks working code
Product: gcc
Version: 4.0.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: thor at math dot tu-be
11 matches
Mail list logo