public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/49290] New: [C++0x] [4.6 Regression] ICE in in cxx_eval_indirect_ref, at cp/semantics.c:6795
@ 2011-06-05 14:03 pluto at agmk dot net
  2011-06-05 22:21 ` [Bug c++/49290] [C++0x] [4.6/4.7 " jakub at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: pluto at agmk dot net @ 2011-06-05 14:03 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: [C++0x] [4.6 Regression] ICE in in
                    cxx_eval_indirect_ref, at cp/semantics.c:6795
           Product: gcc
           Version: 4.6.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: pluto@agmk.net


Created attachment 24437
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24437
testcase

$ g++46 0x.ii -c -std=gnu++0x
camellia.cpp: In member function 'virtual void
CryptoPP::Camellia::Base::ProcessAndXorBlock(const byte*, const byte*, byte*)
const':
camellia.cpp:213:31: internal compiler error: in cxx_eval_indirect_ref, at
cp/semantics.c:6795


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

* [Bug c++/49290] [C++0x] [4.6/4.7 Regression] ICE in in cxx_eval_indirect_ref, at cp/semantics.c:6795
  2011-06-05 14:03 [Bug c++/49290] New: [C++0x] [4.6 Regression] ICE in in cxx_eval_indirect_ref, at cp/semantics.c:6795 pluto at agmk dot net
@ 2011-06-05 22:21 ` jakub at gcc dot gnu.org
  2011-06-07  4:29 ` [Bug c++/49290] [4.6/4.7 Regression][C++0x] " jason at gcc dot gnu.org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-06-05 22:21 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2011.06.05 22:20:50
                 CC|                            |jakub at gcc dot gnu.org
   Target Milestone|---                         |4.6.1
            Summary|[C++0x] [4.6 Regression]    |[C++0x] [4.6/4.7
                   |ICE in in                   |Regression] ICE in in
                   |cxx_eval_indirect_ref, at   |cxx_eval_indirect_ref, at
                   |cp/semantics.c:6795         |cp/semantics.c:6795
     Ever Confirmed|0                           |1
      Known to fail|                            |4.7.0

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-06-05 22:20:50 UTC ---
Started http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170488
Smaller testcase for -std=c++0x:
typedef unsigned T;
struct S
{
  T foo (void);
  static unsigned s1[16];
};
T
S::foo ()
{
  T u = *(T *) (s1 + 10);
  return u;
}


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

* [Bug c++/49290] [4.6/4.7 Regression][C++0x] ICE in in cxx_eval_indirect_ref, at cp/semantics.c:6795
  2011-06-05 14:03 [Bug c++/49290] New: [C++0x] [4.6 Regression] ICE in in cxx_eval_indirect_ref, at cp/semantics.c:6795 pluto at agmk dot net
  2011-06-05 22:21 ` [Bug c++/49290] [C++0x] [4.6/4.7 " jakub at gcc dot gnu.org
@ 2011-06-07  4:29 ` jason at gcc dot gnu.org
  2011-06-12 13:46 ` rguenth at gcc dot gnu.org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: jason at gcc dot gnu.org @ 2011-06-07  4:29 UTC (permalink / raw)
  To: gcc-bugs

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

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
         AssignedTo|unassigned at gcc dot       |jason at gcc dot gnu.org
                   |gnu.org                     |


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

* [Bug c++/49290] [4.6/4.7 Regression][C++0x] ICE in in cxx_eval_indirect_ref, at cp/semantics.c:6795
  2011-06-05 14:03 [Bug c++/49290] New: [C++0x] [4.6 Regression] ICE in in cxx_eval_indirect_ref, at cp/semantics.c:6795 pluto at agmk dot net
  2011-06-05 22:21 ` [Bug c++/49290] [C++0x] [4.6/4.7 " jakub at gcc dot gnu.org
  2011-06-07  4:29 ` [Bug c++/49290] [4.6/4.7 Regression][C++0x] " jason at gcc dot gnu.org
@ 2011-06-12 13:46 ` rguenth at gcc dot gnu.org
  2011-06-14 18:16 ` jason at gcc dot gnu.org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-06-12 13:46 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2


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

* [Bug c++/49290] [4.6/4.7 Regression][C++0x] ICE in in cxx_eval_indirect_ref, at cp/semantics.c:6795
  2011-06-05 14:03 [Bug c++/49290] New: [C++0x] [4.6 Regression] ICE in in cxx_eval_indirect_ref, at cp/semantics.c:6795 pluto at agmk dot net
                   ` (2 preceding siblings ...)
  2011-06-12 13:46 ` rguenth at gcc dot gnu.org
@ 2011-06-14 18:16 ` jason at gcc dot gnu.org
  2011-06-14 22:13 ` jason at gcc dot gnu.org
  2011-06-14 23:42 ` jason at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: jason at gcc dot gnu.org @ 2011-06-14 18:16 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> 2011-06-14 18:15:46 UTC ---
Author: jason
Date: Tue Jun 14 18:15:43 2011
New Revision: 175041

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175041
Log:
    PR c++/49290
    * semantics.c (cxx_fold_indirect_ref): Local, more permissive copy
    of fold_indirect_ref_1.
    (cxx_eval_indirect_ref): Use it.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-array-ptr7.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/semantics.c
    trunk/gcc/testsuite/ChangeLog


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

* [Bug c++/49290] [4.6/4.7 Regression][C++0x] ICE in in cxx_eval_indirect_ref, at cp/semantics.c:6795
  2011-06-05 14:03 [Bug c++/49290] New: [C++0x] [4.6 Regression] ICE in in cxx_eval_indirect_ref, at cp/semantics.c:6795 pluto at agmk dot net
                   ` (3 preceding siblings ...)
  2011-06-14 18:16 ` jason at gcc dot gnu.org
@ 2011-06-14 22:13 ` jason at gcc dot gnu.org
  2011-06-14 23:42 ` jason at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: jason at gcc dot gnu.org @ 2011-06-14 22:13 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> 2011-06-14 22:13:24 UTC ---
Author: jason
Date: Tue Jun 14 22:13:19 2011
New Revision: 175058

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175058
Log:
    PR c++/49290
    * semantics.c (cxx_eval_indirect_ref): Remove assert.

Added:
    branches/gcc-4_6-branch/gcc/testsuite/g++.dg/cpp0x/regress/49290.C
Modified:
    branches/gcc-4_6-branch/gcc/cp/ChangeLog
    branches/gcc-4_6-branch/gcc/cp/semantics.c


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

* [Bug c++/49290] [4.6/4.7 Regression][C++0x] ICE in in cxx_eval_indirect_ref, at cp/semantics.c:6795
  2011-06-05 14:03 [Bug c++/49290] New: [C++0x] [4.6 Regression] ICE in in cxx_eval_indirect_ref, at cp/semantics.c:6795 pluto at agmk dot net
                   ` (4 preceding siblings ...)
  2011-06-14 22:13 ` jason at gcc dot gnu.org
@ 2011-06-14 23:42 ` jason at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: jason at gcc dot gnu.org @ 2011-06-14 23:42 UTC (permalink / raw)
  To: gcc-bugs

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

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> 2011-06-14 23:41:15 UTC ---
Fixed for 4.6.1.


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

end of thread, other threads:[~2011-06-14 23:42 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-05 14:03 [Bug c++/49290] New: [C++0x] [4.6 Regression] ICE in in cxx_eval_indirect_ref, at cp/semantics.c:6795 pluto at agmk dot net
2011-06-05 22:21 ` [Bug c++/49290] [C++0x] [4.6/4.7 " jakub at gcc dot gnu.org
2011-06-07  4:29 ` [Bug c++/49290] [4.6/4.7 Regression][C++0x] " jason at gcc dot gnu.org
2011-06-12 13:46 ` rguenth at gcc dot gnu.org
2011-06-14 18:16 ` jason at gcc dot gnu.org
2011-06-14 22:13 ` jason at gcc dot gnu.org
2011-06-14 23:42 ` jason 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).