public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/49435] New: get_z.c:46: MPFR assertion failed: exp < 0 || exp <= ((mpfr_prec_t)((mpfr_uprec_t)(~(mpfr_uprec_t)0)>>1))
@ 2011-06-16 11:09 longvalery at gmail dot com
  2011-06-16 15:31 ` [Bug other/49435] " rguenth at gcc dot gnu.org
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: longvalery at gmail dot com @ 2011-06-16 11:09 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49435

           Summary: get_z.c:46: MPFR assertion failed: exp < 0 || exp <=
                    ((mpfr_prec_t)((mpfr_uprec_t)(~(mpfr_uprec_t)0)>>1))
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: longvalery@gmail.com


I try build Wine on machine: "Linux comp-MCVC 2.4.32-vniins42 #1 Wed Jul 25
00:00:00 MSD 2007 i686 i686 i386 GNU/Linux"
but got next error (see Summary)
Full log below
-----------------------------start log -------------------------
gcc: warning: -pipe ignored because -save-temps specified
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/i686-pc-linux-gnu/4.6.0/lto-wrapper
Target: i686-pc-linux-gnu
Configured with: ../configure --prefix=/usr --with-gmp=/usr/local
--disable-libquadmath --disable-libquadmath-support --disable-libgcj
--enable-languages=c,c++,objc,obj-c++
Thread model: posix
gcc version 4.6.0 (GCC) 
COLLECT_GCC_OPTIONS='-c' '-I' '.' '-I' '.' '-I' '../../include' '-I'
'../../include' '-D' '__WINESRC__' '-D' '_REENTRANT' '-fPIC' '-Wall' '-pipe'
'-fno-strict-aliasing' '-Wdeclaration-after-statement' '-Wstrict-prototypes'
'-Wtype-limits' '-Wwrite-strings' '-Wpointer-arith' '-Wlogical-op' '-v'
'-save-temps' '-g' '-O2' '-o' 'arb_program_shader.o' '-mtune=generic'
'-march=pentiumpro'
 /usr/libexec/gcc/i686-pc-linux-gnu/4.6.0/cc1 -E -quiet -v -I . -I . -I
../../include -I ../../include -D __WINESRC__ -D _REENTRANT
arb_program_shader.c -mtune=generic -march=pentiumpro -Wall
-Wdeclaration-after-statement -Wstrict-prototypes -Wtype-limits -Wwrite-strings
-Wpointer-arith -Wlogical-op -fPIC -fno-strict-aliasing -g -fworking-directory
-O2 -fpch-preprocess -o arb_program_shader.i
ignoring nonexistent directory
"/usr/lib/gcc/i686-pc-linux-gnu/4.6.0/../../../../i686-pc-linux-gnu/include"
ignoring duplicate directory "."
ignoring duplicate directory "../../include"
#include "..." search starts here:
#include <...> search starts here:
 .
 ../../include
 /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/include
 /usr/local/include
 /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/include-fixed
 /usr/include
End of search list.
COLLECT_GCC_OPTIONS='-c' '-I' '.' '-I' '.' '-I' '../../include' '-I'
'../../include' '-D' '__WINESRC__' '-D' '_REENTRANT' '-fPIC' '-Wall' '-pipe'
'-fno-strict-aliasing' '-Wdeclaration-after-statement' '-Wstrict-prototypes'
'-Wtype-limits' '-Wwrite-strings' '-Wpointer-arith' '-Wlogical-op' '-v'
'-save-temps' '-g' '-O2' '-o' 'arb_program_shader.o' '-mtune=generic'
'-march=pentiumpro'
 /usr/libexec/gcc/i686-pc-linux-gnu/4.6.0/cc1 -fpreprocessed
arb_program_shader.i -quiet -dumpbase arb_program_shader.c -mtune=generic
-march=pentiumpro -auxbase-strip arb_program_shader.o -g -O2 -Wall
-Wdeclaration-after-statement -Wstrict-prototypes -Wtype-limits -Wwrite-strings
-Wpointer-arith -Wlogical-op -version -fPIC -fno-strict-aliasing -o
arb_program_shader.s
GNU C (GCC) version 4.6.0 (i686-pc-linux-gnu)
    compiled by GNU C version 4.6.0, GMP version 5.0.2, MPFR version 3.0.1, MPC
version 0.8.2
GGC heuristics: --param ggc-min-expand=47 --param ggc-min-heapsize=32052
GNU C (GCC) version 4.6.0 (i686-pc-linux-gnu)
    compiled by GNU C version 4.6.0, GMP version 5.0.2, MPFR version 3.0.1, MPC
version 0.8.2
GGC heuristics: --param ggc-min-expand=47 --param ggc-min-heapsize=32052
Compiler executable checksum: 6b9885df530ab8e935fc0944a8cab71e
get_z.c:46: MPFR assertion failed: exp < 0 || exp <=
((mpfr_prec_t)((mpfr_uprec_t)(~(mpfr_uprec_t)0)>>1))
In file included from arb_program_shader.c:35:0:
wined3d_private.h: In function 'float_16_to_32':
wined3d_private.h:202:9: internal compiler error: Aborted
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [arb_program_shader.o] Error 1
-------------------------- end log ---------------------

Can you help me?


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug other/49435] get_z.c:46: MPFR assertion failed: exp < 0 || exp <= ((mpfr_prec_t)((mpfr_uprec_t)(~(mpfr_uprec_t)0)>>1))
  2011-06-16 11:09 [Bug other/49435] New: get_z.c:46: MPFR assertion failed: exp < 0 || exp <= ((mpfr_prec_t)((mpfr_uprec_t)(~(mpfr_uprec_t)0)>>1)) longvalery at gmail dot com
@ 2011-06-16 15:31 ` rguenth at gcc dot gnu.org
  2011-06-17  4:58 ` longvalery at gmail dot com
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-06-16 15:31 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49435

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2011.06.16 15:31:07
     Ever Confirmed|0                           |1

--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-06-16 15:31:07 UTC ---
Please provide preprocessed source as a testcase.


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug other/49435] get_z.c:46: MPFR assertion failed: exp < 0 || exp <= ((mpfr_prec_t)((mpfr_uprec_t)(~(mpfr_uprec_t)0)>>1))
  2011-06-16 11:09 [Bug other/49435] New: get_z.c:46: MPFR assertion failed: exp < 0 || exp <= ((mpfr_prec_t)((mpfr_uprec_t)(~(mpfr_uprec_t)0)>>1)) longvalery at gmail dot com
  2011-06-16 15:31 ` [Bug other/49435] " rguenth at gcc dot gnu.org
@ 2011-06-17  4:58 ` longvalery at gmail dot com
  2011-06-17  4:59 ` longvalery at gmail dot com
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: longvalery at gmail dot com @ 2011-06-17  4:58 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49435

--- Comment #2 from Valery <longvalery at gmail dot com> 2011-06-17 04:58:17 UTC ---
Created attachment 24550
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24550
Error out of the making


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug other/49435] get_z.c:46: MPFR assertion failed: exp < 0 || exp <= ((mpfr_prec_t)((mpfr_uprec_t)(~(mpfr_uprec_t)0)>>1))
  2011-06-16 11:09 [Bug other/49435] New: get_z.c:46: MPFR assertion failed: exp < 0 || exp <= ((mpfr_prec_t)((mpfr_uprec_t)(~(mpfr_uprec_t)0)>>1)) longvalery at gmail dot com
  2011-06-16 15:31 ` [Bug other/49435] " rguenth at gcc dot gnu.org
  2011-06-17  4:58 ` longvalery at gmail dot com
@ 2011-06-17  4:59 ` longvalery at gmail dot com
  2011-06-17  5:06 ` longvalery at gmail dot com
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: longvalery at gmail dot com @ 2011-06-17  4:59 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49435

--- Comment #3 from Valery <longvalery at gmail dot com> 2011-06-17 04:59:00 UTC ---
Created attachment 24551
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24551
Out of the making


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug other/49435] get_z.c:46: MPFR assertion failed: exp < 0 || exp <= ((mpfr_prec_t)((mpfr_uprec_t)(~(mpfr_uprec_t)0)>>1))
  2011-06-16 11:09 [Bug other/49435] New: get_z.c:46: MPFR assertion failed: exp < 0 || exp <= ((mpfr_prec_t)((mpfr_uprec_t)(~(mpfr_uprec_t)0)>>1)) longvalery at gmail dot com
                   ` (2 preceding siblings ...)
  2011-06-17  4:59 ` longvalery at gmail dot com
@ 2011-06-17  5:06 ` longvalery at gmail dot com
  2011-06-27  8:43 ` [Bug pch/49435] " rguenth at gcc dot gnu.org
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: longvalery at gmail dot com @ 2011-06-17  5:06 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49435

--- Comment #4 from Valery <longvalery at gmail dot com> 2011-06-17 05:05:47 UTC ---
Hi Richard!
Many thanks for quick answer.
If I understood you correctly, see result files in attachments.

If I am not right, tell that it is necessary to make for problem elimination.
Valery


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug pch/49435] get_z.c:46: MPFR assertion failed: exp < 0 || exp <= ((mpfr_prec_t)((mpfr_uprec_t)(~(mpfr_uprec_t)0)>>1))
  2011-06-16 11:09 [Bug other/49435] New: get_z.c:46: MPFR assertion failed: exp < 0 || exp <= ((mpfr_prec_t)((mpfr_uprec_t)(~(mpfr_uprec_t)0)>>1)) longvalery at gmail dot com
                   ` (3 preceding siblings ...)
  2011-06-17  5:06 ` longvalery at gmail dot com
@ 2011-06-27  8:43 ` rguenth at gcc dot gnu.org
  2011-06-28 12:00 ` longvalery at gmail dot com
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-06-27  8:43 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49435

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|other                       |pch

--- Comment #5 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-06-27 08:42:55 UTC ---
Please provide the file arb_program_shader.i.


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug pch/49435] get_z.c:46: MPFR assertion failed: exp < 0 || exp <= ((mpfr_prec_t)((mpfr_uprec_t)(~(mpfr_uprec_t)0)>>1))
  2011-06-16 11:09 [Bug other/49435] New: get_z.c:46: MPFR assertion failed: exp < 0 || exp <= ((mpfr_prec_t)((mpfr_uprec_t)(~(mpfr_uprec_t)0)>>1)) longvalery at gmail dot com
                   ` (4 preceding siblings ...)
  2011-06-27  8:43 ` [Bug pch/49435] " rguenth at gcc dot gnu.org
@ 2011-06-28 12:00 ` longvalery at gmail dot com
  2011-06-28 12:03 ` longvalery at gmail dot com
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: longvalery at gmail dot com @ 2011-06-28 12:00 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49435

--- Comment #6 from Valery <longvalery at gmail dot com> 2011-06-28 11:59:52 UTC ---
Created attachment 24614
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24614
Please. But In ZIP only


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug pch/49435] get_z.c:46: MPFR assertion failed: exp < 0 || exp <= ((mpfr_prec_t)((mpfr_uprec_t)(~(mpfr_uprec_t)0)>>1))
  2011-06-16 11:09 [Bug other/49435] New: get_z.c:46: MPFR assertion failed: exp < 0 || exp <= ((mpfr_prec_t)((mpfr_uprec_t)(~(mpfr_uprec_t)0)>>1)) longvalery at gmail dot com
                   ` (5 preceding siblings ...)
  2011-06-28 12:00 ` longvalery at gmail dot com
@ 2011-06-28 12:03 ` longvalery at gmail dot com
  2011-06-28 12:04 ` longvalery at gmail dot com
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: longvalery at gmail dot com @ 2011-06-28 12:03 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49435

--- Comment #7 from Valery <longvalery at gmail dot com> 2011-06-28 12:03:29 UTC ---
Created attachment 24615
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24615
I thing that my problem is here

If I comment body of two functions float_16_to_32() and float_24_to_32
compiler work without any error


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug pch/49435] get_z.c:46: MPFR assertion failed: exp < 0 || exp <= ((mpfr_prec_t)((mpfr_uprec_t)(~(mpfr_uprec_t)0)>>1))
  2011-06-16 11:09 [Bug other/49435] New: get_z.c:46: MPFR assertion failed: exp < 0 || exp <= ((mpfr_prec_t)((mpfr_uprec_t)(~(mpfr_uprec_t)0)>>1)) longvalery at gmail dot com
                   ` (6 preceding siblings ...)
  2011-06-28 12:03 ` longvalery at gmail dot com
@ 2011-06-28 12:04 ` longvalery at gmail dot com
  2011-06-29  7:53 ` longvalery at gmail dot com
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: longvalery at gmail dot com @ 2011-06-28 12:04 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49435

--- Comment #8 from Valery <longvalery at gmail dot com> 2011-06-28 12:04:36 UTC ---
Created attachment 24616
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24616
I thing that my problem is here (2)

If I comment body of function float_32_to_16
compiler work without any error


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug pch/49435] get_z.c:46: MPFR assertion failed: exp < 0 || exp <= ((mpfr_prec_t)((mpfr_uprec_t)(~(mpfr_uprec_t)0)>>1))
  2011-06-16 11:09 [Bug other/49435] New: get_z.c:46: MPFR assertion failed: exp < 0 || exp <= ((mpfr_prec_t)((mpfr_uprec_t)(~(mpfr_uprec_t)0)>>1)) longvalery at gmail dot com
                   ` (7 preceding siblings ...)
  2011-06-28 12:04 ` longvalery at gmail dot com
@ 2011-06-29  7:53 ` longvalery at gmail dot com
  2012-02-07  2:37 ` [Bug middle-end/49435] " pinskia at gcc dot gnu.org
  2013-11-09 23:13 ` pinskia at gcc dot gnu.org
  10 siblings, 0 replies; 12+ messages in thread
From: longvalery at gmail dot com @ 2011-06-29  7:53 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49435

--- Comment #9 from Valery <longvalery at gmail dot com> 2011-06-29 07:53:36 UTC ---
I commented all calls "powf" in the  specified functions (float_XX_to_YY) and
compiler errors do not arise....

I can replace "powf" with something?


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug middle-end/49435] get_z.c:46: MPFR assertion failed: exp < 0 || exp <= ((mpfr_prec_t)((mpfr_uprec_t)(~(mpfr_uprec_t)0)>>1))
  2011-06-16 11:09 [Bug other/49435] New: get_z.c:46: MPFR assertion failed: exp < 0 || exp <= ((mpfr_prec_t)((mpfr_uprec_t)(~(mpfr_uprec_t)0)>>1)) longvalery at gmail dot com
                   ` (8 preceding siblings ...)
  2011-06-29  7:53 ` longvalery at gmail dot com
@ 2012-02-07  2:37 ` pinskia at gcc dot gnu.org
  2013-11-09 23:13 ` pinskia at gcc dot gnu.org
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-02-07  2:37 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49435

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |i686-pc-linux-gnu
          Component|pch                         |middle-end

--- Comment #10 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-02-07 02:36:57 UTC ---
>GMP version 5.0.2, MPFR version 3.0.1

Did you build gmp/mpfr your self?  If so did you run make check to make sure
they are working correctly?


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug middle-end/49435] get_z.c:46: MPFR assertion failed: exp < 0 || exp <= ((mpfr_prec_t)((mpfr_uprec_t)(~(mpfr_uprec_t)0)>>1))
  2011-06-16 11:09 [Bug other/49435] New: get_z.c:46: MPFR assertion failed: exp < 0 || exp <= ((mpfr_prec_t)((mpfr_uprec_t)(~(mpfr_uprec_t)0)>>1)) longvalery at gmail dot com
                   ` (9 preceding siblings ...)
  2012-02-07  2:37 ` [Bug middle-end/49435] " pinskia at gcc dot gnu.org
@ 2013-11-09 23:13 ` pinskia at gcc dot gnu.org
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu.org @ 2013-11-09 23:13 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49435

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |INVALID

--- Comment #11 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
No feedback on information about mpfr/gmp so closing as invalid.  This target
is known to work and does for others.


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2013-11-09 23:13 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-16 11:09 [Bug other/49435] New: get_z.c:46: MPFR assertion failed: exp < 0 || exp <= ((mpfr_prec_t)((mpfr_uprec_t)(~(mpfr_uprec_t)0)>>1)) longvalery at gmail dot com
2011-06-16 15:31 ` [Bug other/49435] " rguenth at gcc dot gnu.org
2011-06-17  4:58 ` longvalery at gmail dot com
2011-06-17  4:59 ` longvalery at gmail dot com
2011-06-17  5:06 ` longvalery at gmail dot com
2011-06-27  8:43 ` [Bug pch/49435] " rguenth at gcc dot gnu.org
2011-06-28 12:00 ` longvalery at gmail dot com
2011-06-28 12:03 ` longvalery at gmail dot com
2011-06-28 12:04 ` longvalery at gmail dot com
2011-06-29  7:53 ` longvalery at gmail dot com
2012-02-07  2:37 ` [Bug middle-end/49435] " pinskia at gcc dot gnu.org
2013-11-09 23:13 ` pinskia at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).