public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/42083] [C++0x] ICE on invalid with "tree check: expected aggr_init_expr, have error_mark in build_value_init"
       [not found] <bug-42083-4@http.gcc.gnu.org/bugzilla/>
@ 2010-12-09 11:27 ` paolo.carlini at oracle dot com
  2010-12-09 16:43 ` paolo.carlini at oracle dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 6+ messages in thread
From: paolo.carlini at oracle dot com @ 2010-12-09 11:27 UTC (permalink / raw)
  To: gcc-bugs

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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2010.12.09 11:26:59
         AssignedTo|unassigned at gcc dot       |paolo.carlini at oracle dot
                   |gnu.org                     |com
   Target Milestone|---                         |4.6.0
     Ever Confirmed|0                           |1

--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> 2010-12-09 11:26:59 UTC ---
Seems simple.


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

* [Bug c++/42083] [C++0x] ICE on invalid with "tree check: expected aggr_init_expr, have error_mark in build_value_init"
       [not found] <bug-42083-4@http.gcc.gnu.org/bugzilla/>
  2010-12-09 11:27 ` [Bug c++/42083] [C++0x] ICE on invalid with "tree check: expected aggr_init_expr, have error_mark in build_value_init" paolo.carlini at oracle dot com
@ 2010-12-09 16:43 ` paolo.carlini at oracle dot com
  2010-12-15 17:35 ` paolo at gcc dot gnu.org
  2010-12-15 17:42 ` paolo.carlini at oracle dot com
  3 siblings, 0 replies; 6+ messages in thread
From: paolo.carlini at oracle dot com @ 2010-12-09 16:43 UTC (permalink / raw)
  To: gcc-bugs

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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-invalid-code

--- Comment #4 from Paolo Carlini <paolo.carlini at oracle dot com> 2010-12-09 16:43:34 UTC ---
Patch here: http://gcc.gnu.org/ml/gcc-patches/2010-12/msg00743.html


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

* [Bug c++/42083] [C++0x] ICE on invalid with "tree check: expected aggr_init_expr, have error_mark in build_value_init"
       [not found] <bug-42083-4@http.gcc.gnu.org/bugzilla/>
  2010-12-09 11:27 ` [Bug c++/42083] [C++0x] ICE on invalid with "tree check: expected aggr_init_expr, have error_mark in build_value_init" paolo.carlini at oracle dot com
  2010-12-09 16:43 ` paolo.carlini at oracle dot com
@ 2010-12-15 17:35 ` paolo at gcc dot gnu.org
  2010-12-15 17:42 ` paolo.carlini at oracle dot com
  3 siblings, 0 replies; 6+ messages in thread
From: paolo at gcc dot gnu.org @ 2010-12-15 17:35 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2010-12-15 17:35:09 UTC ---
Author: paolo
Date: Wed Dec 15 17:35:04 2010
New Revision: 167862

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=167862
Log:
/cp
2010-12-15  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/42083
    * init.c (build_value_init): Check build_special_member_call return
    value for error_mark_node.

/testsuite
2010-12-15  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/42083
    * g++.dg/cpp0x/lambda/lambda-ice2.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-ice2.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/init.c
    trunk/gcc/testsuite/ChangeLog


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

* [Bug c++/42083] [C++0x] ICE on invalid with "tree check: expected aggr_init_expr, have error_mark in build_value_init"
       [not found] <bug-42083-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2010-12-15 17:35 ` paolo at gcc dot gnu.org
@ 2010-12-15 17:42 ` paolo.carlini at oracle dot com
  3 siblings, 0 replies; 6+ messages in thread
From: paolo.carlini at oracle dot com @ 2010-12-15 17:42 UTC (permalink / raw)
  To: gcc-bugs

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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

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

--- Comment #6 from Paolo Carlini <paolo.carlini at oracle dot com> 2010-12-15 17:42:20 UTC ---
Done.


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

* [Bug c++/42083] [C++0x] ICE on invalid with "tree check: expected aggr_init_expr, have error_mark in build_value_init"
  2009-11-17 20:02 [Bug c++/42083] New: " lloyd at randombit dot net
  2010-01-21  5:04 ` [Bug c++/42083] " lloyd at randombit dot net
@ 2010-01-21 10:07 ` paolo dot carlini at oracle dot com
  1 sibling, 0 replies; 6+ messages in thread
From: paolo dot carlini at oracle dot com @ 2010-01-21 10:07 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from paolo dot carlini at oracle dot com  2010-01-21 10:06 -------
Let's CC Jason, but if it's invalid probably has to wait a bit...


-- 

paolo dot carlini at oracle dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jason at gcc dot gnu dot org


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


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

* [Bug c++/42083] [C++0x] ICE on invalid with "tree check: expected aggr_init_expr, have error_mark in build_value_init"
  2009-11-17 20:02 [Bug c++/42083] New: " lloyd at randombit dot net
@ 2010-01-21  5:04 ` lloyd at randombit dot net
  2010-01-21 10:07 ` paolo dot carlini at oracle dot com
  1 sibling, 0 replies; 6+ messages in thread
From: lloyd at randombit dot net @ 2010-01-21  5:04 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from lloyd at randombit dot net  2010-01-21 05:04 -------
Still ICEs with r156097

$ g++-4.5-r156097 -std=c++0x decl.cpp 
decl2.cpp: In function 'int main()':
decl2.cpp:11:9: error: no matching function for call to
'main()::<lambda()>::__lambda0()'
decl2.cpp:9:11: note: candidates are: main()::<lambda()>::<lambda>(const
main()::<lambda()>&)
decl2.cpp:9:11: note:                
main()::<lambda()>::<lambda>(main()::<lambda()>&&)
decl2.cpp:11:9: internal compiler error: tree check: expected aggr_init_expr,
have error_mark in build_value_init, at cp/init.c:319
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

$ g++-4.5-r156097 -v
Using built-in specs.
COLLECT_GCC=g++-4.5-r156097
COLLECT_LTO_WRAPPER=/usr/local/gcc-4.5-r156097/libexec/gcc/x86_64-unknown-linux-gnu/4.5.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc-svn/configure --enable-languages=c,c++
--prefix=/usr/local/gcc-4.5-r156097 --program-suffix=-4.5-r156097
Thread model: posix
gcc version 4.5.0 20100120 (experimental) (GCC) 


-- 


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


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

end of thread, other threads:[~2010-12-15 17:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-42083-4@http.gcc.gnu.org/bugzilla/>
2010-12-09 11:27 ` [Bug c++/42083] [C++0x] ICE on invalid with "tree check: expected aggr_init_expr, have error_mark in build_value_init" paolo.carlini at oracle dot com
2010-12-09 16:43 ` paolo.carlini at oracle dot com
2010-12-15 17:35 ` paolo at gcc dot gnu.org
2010-12-15 17:42 ` paolo.carlini at oracle dot com
2009-11-17 20:02 [Bug c++/42083] New: " lloyd at randombit dot net
2010-01-21  5:04 ` [Bug c++/42083] " lloyd at randombit dot net
2010-01-21 10:07 ` paolo dot carlini at oracle 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).