public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/52672] New: internal compiler error: in cxx_eval_indirect_ref, at cp/semantics.c:6766
@ 2012-03-22 16:50 meadori at codesourcery dot com
  2012-03-23  5:52 ` [Bug c++/52672] " meadori at codesourcery dot com
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: meadori at codesourcery dot com @ 2012-03-22 16:50 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 52672
           Summary: internal compiler error: in cxx_eval_indirect_ref, at
                    cp/semantics.c:6766
    Classification: Unclassified
           Product: gcc
           Version: 4.6.4
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: meadori@codesourcery.com


Reproduced on a fresh 4.6 release branch build:

$ cat ~/etc/bugs/issue13031.cpp
typedef void (*func_t)(unsigned long);
typedef unsigned long * ul_ptr;

void
foo (unsigned long ul)
{
  ((func_t)((ul_ptr)(((ul_ptr)0x01000010)[14]))[0])(ul);
}
$ ./install/bin/arm-none-eabi-gcc --version
arm-none-eabi-gcc (GCC) 4.6.4 20120322 (prerelease)
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ ./install/bin/arm-none-eabi-gcc -std=gnu++0x  ~/etc/bugs/issue13031.cpp
/home/meadori/etc/bugs/issue13031.cpp: In function 'void foo(long unsigned
int)':
/home/meadori/etc/bugs/issue13031.cpp:7:50: internal compiler error: in
cxx_eval_indirect_ref, at cp/semantics.c:6766
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


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

end of thread, other threads:[~2012-06-15 14:04 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-22 16:50 [Bug c++/52672] New: internal compiler error: in cxx_eval_indirect_ref, at cp/semantics.c:6766 meadori at codesourcery dot com
2012-03-23  5:52 ` [Bug c++/52672] " meadori at codesourcery dot com
2012-03-23 16:46 ` meadori at codesourcery dot com
2012-03-23 20:27 ` meadori at codesourcery dot com
2012-03-27 18:18 ` jason at gcc dot gnu.org
2012-03-30  6:30 ` jason at gcc dot gnu.org
2012-04-13 23:07 ` meadori at codesourcery dot com
2012-05-07  2:50 ` paolo.carlini at oracle dot com
2012-06-15 14:04 ` nightstrike at gmail dot com

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).