public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/38771]  New: error: non-trivial conversion in unary operation
@ 2009-01-09  0:34 regehr at cs dot utah dot edu
  2009-01-09  8:55 ` [Bug c/38771] [4.4 regression] " jakub at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: regehr at cs dot utah dot edu @ 2009-01-09  0:34 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2325 bytes --]

Seen using r143187 on Ubuntu Hardy on x86.

regehr@john-home:~/volatile/tmp116$ current-gcc -O0 -c small.c
small.c: In function ‘foo’:
small.c:1: error: non-trivial conversion in unary operation
long long unsigned int
long long int
iftmp.0 = -p_37.1;

small.c:1: error: non-trivial conversion in unary operation
long long unsigned int
long long int
iftmp.0 = -p_37;

small.c:1: internal compiler error: verify_gimple failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

regehr@john-home:~/volatile/tmp116$ cat small.c

unsigned long long foo (long long p_37)
{
  return -(unsigned long long) (p_37 ? : p_37);
}

regehr@john-home:~/volatile/tmp116$ current-gcc -v

Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../configure --program-prefix=current-
--enable-languages=c,c++ --prefix=/home/regehr : (reconfigured) ../configure
--program-prefix=current- --enable-languages=c,c++ --prefix=/home/regehr :
(reconfigured) ../configure --program-prefix=current- --enable-languages=c,c++
--prefix=/home/regehr : (reconfigured) ../configure --program-prefix=current-
--prefix=/home/regehr --enable-languages=c,c++ --no-create --no-recursion :
(reconfigured) ../configure --program-prefix=current- --prefix=/home/regehr
--enable-languages=c,c++ --no-create --no-recursion : (reconfigured)
../configure --program-prefix=current- --prefix=/home/regehr
--enable-languages=c,c++ --no-create --no-recursion : (reconfigured)
../configure --program-prefix=current- --prefix=/home/regehr
--enable-languages=c,c++ --no-create --no-recursion : (reconfigured)
../configure --program-prefix=current- --prefix=/home/regehr
--enable-languages=c,c++ --no-create --no-recursion
Thread model: posix
gcc version 4.4.0 20090108 (experimental) (GCC)


-- 
           Summary: error: non-trivial conversion in unary operation
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: regehr at cs dot utah dot edu
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


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

end of thread, other threads:[~2009-01-09 14:03 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-09  0:34 [Bug c/38771] New: error: non-trivial conversion in unary operation regehr at cs dot utah dot edu
2009-01-09  8:55 ` [Bug c/38771] [4.4 regression] " jakub at gcc dot gnu dot org
2009-01-09  9:04 ` [Bug middle-end/38771] " jakub at gcc dot gnu dot org
2009-01-09 10:31 ` rguenth at gcc dot gnu dot org
2009-01-09 13:41 ` jakub at gcc dot gnu dot org
2009-01-09 14:03 ` jakub at gcc dot gnu dot 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).