public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/24138] [4.1 regression] ICE with the code in PR 20407
       [not found] <bug-24138-6528@http.gcc.gnu.org/bugzilla/>
@ 2005-10-31  5:58 ` mmitchel at gcc dot gnu dot org
  2005-11-09 20:25 ` aldyh at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 12+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-10-31  5:58 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from mmitchel at gcc dot gnu dot org  2005-10-31 05:58 -------
I'm not sure whether we want to try to allow this in C++.  (I think this is
valid C99, using the flexible array extension, but I'm not certain.)  Clearly,
however, ICEing is bad; leaving as P2.


-- 


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


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

* [Bug c++/24138] [4.1 regression] ICE with the code in PR 20407
       [not found] <bug-24138-6528@http.gcc.gnu.org/bugzilla/>
  2005-10-31  5:58 ` [Bug c++/24138] [4.1 regression] ICE with the code in PR 20407 mmitchel at gcc dot gnu dot org
@ 2005-11-09 20:25 ` aldyh at gcc dot gnu dot org
  2005-12-06 19:45 ` [Bug c++/24138] [4.1/4.2 " aldyh at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 12+ messages in thread
From: aldyh at gcc dot gnu dot org @ 2005-11-09 20:25 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from aldyh at gcc dot gnu dot org  2005-11-09 20:25 -------
I'll take a look at this.


-- 

aldyh at gcc dot gnu dot org changed:

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


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


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

* [Bug c++/24138] [4.1/4.2 regression] ICE with the code in PR 20407
       [not found] <bug-24138-6528@http.gcc.gnu.org/bugzilla/>
  2005-10-31  5:58 ` [Bug c++/24138] [4.1 regression] ICE with the code in PR 20407 mmitchel at gcc dot gnu dot org
  2005-11-09 20:25 ` aldyh at gcc dot gnu dot org
@ 2005-12-06 19:45 ` aldyh at gcc dot gnu dot org
  2005-12-06 19:48 ` aldyh at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 12+ messages in thread
From: aldyh at gcc dot gnu dot org @ 2005-12-06 19:45 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from aldyh at gcc dot gnu dot org  2005-12-06 19:45 -------
Subject: Bug 24138

Author: aldyh
Date: Tue Dec  6 19:45:00 2005
New Revision: 108126

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=108126
Log:
        PR C++/24138
        * tree.c (integer_all_onesp): Always return true if all bits on.

        * cp/decl.c (reshape_init_array_1): Handle max_index of -1.

        * testsuite/g++.dg/init/array0.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/init/array0.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl.c
    trunk/gcc/tree.c


-- 


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


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

* [Bug c++/24138] [4.1/4.2 regression] ICE with the code in PR 20407
       [not found] <bug-24138-6528@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2005-12-06 19:45 ` [Bug c++/24138] [4.1/4.2 " aldyh at gcc dot gnu dot org
@ 2005-12-06 19:48 ` aldyh at gcc dot gnu dot org
  2005-12-06 20:20 ` [Bug c++/24138] [4.1 " pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 12+ messages in thread
From: aldyh at gcc dot gnu dot org @ 2005-12-06 19:48 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from aldyh at gcc dot gnu dot org  2005-12-06 19:48 -------
Fixed.

http://gcc.gnu.org/ml/gcc-patches/2005-11/msg01175.html


-- 

aldyh at gcc dot gnu dot org changed:

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


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


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

* [Bug c++/24138] [4.1 regression] ICE with the code in PR 20407
       [not found] <bug-24138-6528@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2005-12-06 19:48 ` aldyh at gcc dot gnu dot org
@ 2005-12-06 20:20 ` pinskia at gcc dot gnu dot org
  2005-12-07 11:37 ` aldyh at gcc dot gnu dot org
  2005-12-07 11:38 ` aldyh at gcc dot gnu dot org
  6 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-12-06 20:20 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from pinskia at gcc dot gnu dot org  2005-12-06 20:20 -------
Reopening since this was only fixed for 4.2.0 and not also for 4.1.0.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
      Known to work|4.0.3                       |4.0.3 4.2.0
         Resolution|FIXED                       |
            Summary|[4.1/4.2 regression] ICE    |[4.1 regression] ICE with
                   |with the code in PR 20407   |the code in PR 20407


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


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

* [Bug c++/24138] [4.1 regression] ICE with the code in PR 20407
       [not found] <bug-24138-6528@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2005-12-06 20:20 ` [Bug c++/24138] [4.1 " pinskia at gcc dot gnu dot org
@ 2005-12-07 11:37 ` aldyh at gcc dot gnu dot org
  2005-12-07 11:38 ` aldyh at gcc dot gnu dot org
  6 siblings, 0 replies; 12+ messages in thread
From: aldyh at gcc dot gnu dot org @ 2005-12-07 11:37 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from aldyh at gcc dot gnu dot org  2005-12-07 11:37 -------
Subject: Bug 24138

Author: aldyh
Date: Wed Dec  7 11:37:53 2005
New Revision: 108157

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=108157
Log:
       PR C++/24138
        * tree.c (integer_all_onesp): Always return true if all bits on.

        * testsuite/g++.dg/init/array0.C: New.

        * decl.c (reshape_init_array_1): Handle max_index of -1.

Added:
    branches/gcc-4_1-branch/gcc/testsuite/g++.dg/init/array0.C
Modified:
    branches/gcc-4_1-branch/gcc/ChangeLog
    branches/gcc-4_1-branch/gcc/cp/ChangeLog
    branches/gcc-4_1-branch/gcc/cp/decl.c
    branches/gcc-4_1-branch/gcc/tree.c


-- 


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


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

* [Bug c++/24138] [4.1 regression] ICE with the code in PR 20407
       [not found] <bug-24138-6528@http.gcc.gnu.org/bugzilla/>
                   ` (5 preceding siblings ...)
  2005-12-07 11:37 ` aldyh at gcc dot gnu dot org
@ 2005-12-07 11:38 ` aldyh at gcc dot gnu dot org
  6 siblings, 0 replies; 12+ messages in thread
From: aldyh at gcc dot gnu dot org @ 2005-12-07 11:38 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from aldyh at gcc dot gnu dot org  2005-12-07 11:38 -------
fixed on 4.1 branch as well


-- 

aldyh at gcc dot gnu dot org changed:

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


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


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

* [Bug c++/24138] [4.1 regression] ICE with the code in PR 20407
  2005-09-30  6:06 [Bug c++/24138] New: [4.1 regression] ICE with the code in 20407 pinskia at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2005-09-30 13:49 ` pinskia at gcc dot gnu dot org
@ 2005-09-30 17:12 ` kazu at gcc dot gnu dot org
  4 siblings, 0 replies; 12+ messages in thread
From: kazu at gcc dot gnu dot org @ 2005-09-30 17:12 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From kazu at gcc dot gnu dot org  2005-09-30 17:12 -------
Confirmed


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-09-30 17:12:31
               date|                            |


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


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

* [Bug c++/24138] [4.1 regression] ICE with the code in PR 20407
  2005-09-30  6:06 [Bug c++/24138] New: [4.1 regression] ICE with the code in 20407 pinskia at gcc dot gnu dot org
  2005-09-30  6:06 ` [Bug c++/24138] [4.1 regression] ICE with the code in PR 20407 pinskia at gcc dot gnu dot org
  2005-09-30  6:07 ` pinskia at gcc dot gnu dot org
@ 2005-09-30 13:49 ` pinskia at gcc dot gnu dot org
  2005-09-30 13:49 ` pinskia at gcc dot gnu dot org
  2005-09-30 17:12 ` kazu at gcc dot gnu dot org
  4 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-30 13:49 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-09-30 13:48 -------
the ICE:
t.cc:7: internal compiler error: in process_init_constructor_array, at cp/typeck2.c:786
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |4.1.0
      Known to work|                            |4.0.3


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


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

* [Bug c++/24138] [4.1 regression] ICE with the code in PR 20407
  2005-09-30  6:06 [Bug c++/24138] New: [4.1 regression] ICE with the code in 20407 pinskia at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2005-09-30 13:49 ` pinskia at gcc dot gnu dot org
@ 2005-09-30 13:49 ` pinskia at gcc dot gnu dot org
  2005-09-30 17:12 ` kazu at gcc dot gnu dot org
  4 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-30 13:49 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-09-30 13:49 -------
I think this was caused by:
2005-07-20  Giovanni Bajo  <giovannibajo@libero.it>

        Make CONSTRUCTOR use VEC to store initializers.
        * call.c (convert_default_arg): Update call to digest_init.
        * class.c (dump_class_hierarchy, dump_array): Update to cope with
        VEC in CONSTRUCTOR_ELTS.
        * cp-tree.h (EMPTY_CONSTRUCTOR_P): Likewise.
        (finish_compound_literal, digest_init): Update declaration.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |giovannibajo at libero dot
                   |                            |it


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


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

* [Bug c++/24138] [4.1 regression] ICE with the code in PR 20407
  2005-09-30  6:06 [Bug c++/24138] New: [4.1 regression] ICE with the code in 20407 pinskia at gcc dot gnu dot org
  2005-09-30  6:06 ` [Bug c++/24138] [4.1 regression] ICE with the code in PR 20407 pinskia at gcc dot gnu dot org
@ 2005-09-30  6:07 ` pinskia at gcc dot gnu dot org
  2005-09-30 13:49 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-30  6:07 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.1.0


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


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

* [Bug c++/24138] [4.1 regression] ICE with the code in PR 20407
  2005-09-30  6:06 [Bug c++/24138] New: [4.1 regression] ICE with the code in 20407 pinskia at gcc dot gnu dot org
@ 2005-09-30  6:06 ` pinskia at gcc dot gnu dot org
  2005-09-30  6:07 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-30  6:06 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
OtherBugsDependingO|                            |20407
              nThis|                            |
            Summary|[4.1 regression] ICE with   |[4.1 regression] ICE with
                   |the code in 20407           |the code in PR 20407


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


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

end of thread, other threads:[~2005-12-07 11:38 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-24138-6528@http.gcc.gnu.org/bugzilla/>
2005-10-31  5:58 ` [Bug c++/24138] [4.1 regression] ICE with the code in PR 20407 mmitchel at gcc dot gnu dot org
2005-11-09 20:25 ` aldyh at gcc dot gnu dot org
2005-12-06 19:45 ` [Bug c++/24138] [4.1/4.2 " aldyh at gcc dot gnu dot org
2005-12-06 19:48 ` aldyh at gcc dot gnu dot org
2005-12-06 20:20 ` [Bug c++/24138] [4.1 " pinskia at gcc dot gnu dot org
2005-12-07 11:37 ` aldyh at gcc dot gnu dot org
2005-12-07 11:38 ` aldyh at gcc dot gnu dot org
2005-09-30  6:06 [Bug c++/24138] New: [4.1 regression] ICE with the code in 20407 pinskia at gcc dot gnu dot org
2005-09-30  6:06 ` [Bug c++/24138] [4.1 regression] ICE with the code in PR 20407 pinskia at gcc dot gnu dot org
2005-09-30  6:07 ` pinskia at gcc dot gnu dot org
2005-09-30 13:49 ` pinskia at gcc dot gnu dot org
2005-09-30 13:49 ` pinskia at gcc dot gnu dot org
2005-09-30 17:12 ` kazu 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).