public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/51321] New: __builtin_types_compatible_p (any_type_t[1][], any_other_type_t) crashes GCC
@ 2011-11-27  8:37 hnarkaytis at gmail dot com
  2011-11-27 10:19 ` [Bug c/51321] " hnarkaytis at gmail dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: hnarkaytis at gmail dot com @ 2011-11-27  8:37 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 51321
           Summary: __builtin_types_compatible_p (any_type_t[1][],
                    any_other_type_t) crashes GCC
    Classification: Unclassified
           Product: gcc
           Version: 4.4.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: hnarkaytis@gmail.com


int main ()
{
  return (__builtin_types_compatible_p (char[1][], char[1][1]));
}


cc -Wall -O2 -g    bug.c   -o bug
bug.c: In function 'main':
bug.c:3: error: array type has incomplete element type
bug.c:3: confused by earlier errors, bailing out
Preprocessed source stored into /tmp/ccPgaiXX.out file, please attach this to
your bugreport.
make: *** [bug] Error 1


// /usr/libexec/gcc/x86_64-redhat-linux/4.4.4/cc1 -quiet bug.c -quiet -dumpbase
bug.c -mtune=generic -auxbase bug -g -O2 -Wall -o - -frandom-seed=0
# 1 "bug.c"
# 1 "/home/smash/development/hello//"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "bug.c"
int main ()
{
  return (__builtin_types_compatible_p (char[1][], char[1][1]));
}


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

end of thread, other threads:[~2011-11-30 19:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-27  8:37 [Bug c/51321] New: __builtin_types_compatible_p (any_type_t[1][], any_other_type_t) crashes GCC hnarkaytis at gmail dot com
2011-11-27 10:19 ` [Bug c/51321] " hnarkaytis at gmail dot com
2011-11-29  7:09 ` pinskia at gcc dot gnu.org
2011-11-29  8:14 ` pinskia at gcc dot gnu.org
2011-11-30 20:04 ` pinskia at gcc dot gnu.org
2011-11-30 20:07 ` 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).