[Bug c++/40138] [4.5 Regression] ICE with invalid va_arg
--- Comment #8 from hjl at gcc dot gnu dot org 2010-02-07 04:42 --- Subject: Bug 40138 Author: hjl Date: Sun Feb 7 04:41:22 2010 New Revision: 156562 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=156562 Log: Backport testcases from mainline to 4.4. 2010-02-06 H.J. Lu hongjiu...@intel.com Backport from mainline: 2010-02-05 Dodji Seketeli do...@redhat.com PR c++/42915 * g++.dg/other/crash-9.C: New test. 2010-02-03 Jason Merrill ja...@redhat.com PR c++/40138 * g++.dg/ext/builtin11.C: New. 2010-02-03 Richard Guenther rguent...@suse.de PR tree-optimization/42944 * gcc.dg/errno-1.c: New testcase. 2010-02-03 Richard Guenther rguent...@suse.de PR middle-end/42927 * gcc.c-torture/compile/pr42927.c: New testcase. 2010-01-29 Dodji Seketeli do...@redhat.com PR c++/42758 PR c++/42634 PR c++/42336 PR c++/42797 PR c++/42880 * g++.dg/other/crash-5.C: New test. * g++.dg/other/crash-7.C: New test. * g++.dg/other/crash-8.C: New test. 2010-01-28 Uros Bizjak ubiz...@gmail.com PR target/42891 * gcc.target/i386/pr42891.c: New test. 2010-01-28 Richard Guenther rguent...@suse.de PR middle-end/42883 * g++.dg/torture/pr42883.C: New testcase. 2010-01-28 Michael Matz m...@suse.de * gcc.target/i386/pr42881.c: New test. 2010-01-28 Dodji Seketeli do...@redhat.com PR c++/42713 PR c++/42820 * g++.dg/template/typedef27.C: New test case. * g++.dg/template/typedef28.C: New test case. 2010-01-27 Jakub Jelinek ja...@redhat.com PR middle-end/42874 * gcc.dg/vla-22.c: New test. 2010-01-26 Richard Guenther rguent...@suse.de PR tree-optimization/42250 * gcc.dg/pr42250.c: New testcase. 2010-01-25 Tobias Burnus bur...@net-b.de PR fortran/42858 * gfortran.dg/generic_21.f90: New test. 2010-01-21 Martin Jambor mjam...@suse.cz PR tree-optimization/42585 * gcc.dg/tree-ssa/pr42585.c: New test. 2010-01-20 Alexandre Oliva aol...@redhat.com PR debug/42715 * gcc.dg/pr42715.c: New. 2010-01-20 Richard Guenther rguent...@suse.de PR tree-optimization/42717 * gcc.c-torture/compile/pr42717.c: New testcase. 2010-01-19 Paul Thomas pa...@gcc.gnu.org PR fortran/42783 * gfortran.dg/bounds_check_15.f90 : New test. 2010-01-18 Dodji Seketeli do...@redhat.com PR c++/42766 * g++.dg/conversion/op6.C: New test. 2010-01-18 Richard Guenther rguent...@suse.de PR tree-optimization/42781 * gfortran.fortran-torture/compile/pr42781.f90: New testcase. 2010-01-17 Richard Guenther rguent...@suse.de PR middle-end/42248 * gcc.c-torture/execute/pr42248.c: New testcase. 2010-01-17 Janus Weil ja...@gcc.gnu.org PR fortran/42677 * gfortran.dg/interface_assignment_5.f90: New test. 2010-01-15 Richard Guenther rguent...@suse.de PR middle-end/42739 * g++.dg/torture/pr42739.C: New testcase. 2010-01-14 Jerry DeLisle jvdeli...@gcc.gnu.org PR fortran/42684 * gfortran.dg/interface_31.f90: New test. 2010-01-14 Martin Jambor mjam...@suse.cz PR tree-optimization/42706 * gcc.dg/ipa/pr42706.c: New testcase. 2010-01-14 Martin Jambor mjam...@suse.cz PR tree-optimization/42714 * g++.dg/torture/pr42714.C: New test. 2010-01-14 Alexander Monakov amona...@ispras.ru PR rtl-optimization/42388 * gcc.dg/pr42388.c: New. 2010-01-14 Alexander Monakov amona...@ispras.ru PR rtl-optimization/42294 * gfortran.dg/pr42294.f: New. 2010-01-14 Ira Rosen i...@il.ibm.com PR tree-optimization/42709 * gcc.dg/vect/pr42709.c: New test. 2010-01-13 Richard Guenther rguent...@suse.de PR tree-optimization/42730 * gcc.c-torture/compile/pr42730.c: New testcase. 2010-01-13 Martin Jambor mjam...@suse.cz PR tree-optimization/42704 * g++.dg/torture/pr42704.C: New test. 2010-01-13 Martin Jambor mjam...@suse.cz PR tree-optimization/42703 * gcc.c-torture/compile/pr42703.c: New test. 2010-01-13 Richard Guenther rguent...@suse.de PR tree-optimization/42705 * gcc.c-torture/compile/pr42705.c: New testcase. 2010-01-13 Richard Guenther rguent...@suse.de PR middle-end/42716 * gcc.c-torture/compile/pr42716.c: New testcase. 2010-01-12 Joseph Myers jos...@codesourcery.com PR c/42708 * gcc.c-torture/compile/pr42708-1.c: New test. 2010-01-09 Alexandre Oliva
[Bug c++/40138] [4.5 Regression] ICE with invalid va_arg
-- jason at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |jason at gcc dot gnu dot org |dot org | Status|NEW |ASSIGNED Last reconfirmed|2009-09-09 10:00:28 |2010-02-03 17:56:49 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40138
[Bug c++/40138] [4.5 Regression] ICE with invalid va_arg
--- Comment #6 from jason at gcc dot gnu dot org 2010-02-03 21:53 --- Subject: Bug 40138 Author: jason Date: Wed Feb 3 21:53:41 2010 New Revision: 156483 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=156483 Log: PR c++/40138 * fold-const.c (operand_equal_p): Handle erroneous types. Added: trunk/gcc/testsuite/g++.dg/ext/builtin11.C Modified: trunk/gcc/ChangeLog trunk/gcc/fold-const.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40138
[Bug c++/40138] [4.5 Regression] ICE with invalid va_arg
--- Comment #7 from jason at gcc dot gnu dot org 2010-02-03 21:53 --- Fixed. -- jason at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40138
[Bug c++/40138] [4.5 Regression] ICE with invalid va_arg
--- Comment #2 from reichelt at gcc dot gnu dot org 2009-09-09 07:31 --- The problem still persists (revision 151550 on x86_64-unknown-linux-gnu): bug.cc: In function 'void foo(int, ...)': bug.cc:8:3: error: 'V' was not declared in this scope bug.cc:8:5: error: expected ';' before 'v' bug.cc:9:22: error: 'v' was not declared in this scope bug.cc:10:31: internal compiler error: tree check: expected class 'type', have 'exceptional' (error_mark) in operand_equal_p, at fold-const.c:3111 You probably need to have checking enabled to see the ICE. The ICE only shows with the C++ frontend and not the C frontend. -- reichelt at gcc dot gnu dot org changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED Resolution|WORKSFORME | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40138
[Bug c++/40138] [4.5 Regression] ICE with invalid va_arg
--- Comment #3 from paolo dot carlini at oracle dot com 2009-09-09 09:45 --- I didn't have -Wall in the command line, checking was fine. Strange this -Wall thing... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40138
[Bug c++/40138] [4.5 Regression] ICE with invalid va_arg
--- Comment #4 from paolo dot carlini at oracle dot com 2009-09-09 10:00 --- I think I can fix this reasonably quickly... -- paolo dot carlini at oracle dot com changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |paolo dot carlini at oracle |dot org |dot com Status|UNCONFIRMED |ASSIGNED Ever Confirmed|0 |1 Last reconfirmed|-00-00 00:00:00 |2009-09-09 10:00:28 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40138
[Bug c++/40138] [4.5 Regression] ICE with invalid va_arg
--- Comment #5 from paolo dot carlini at oracle dot com 2009-09-09 15:37 --- In fact, with checking disabled no ICE or any other user visible anomalous behavior, I'm not going to spend time on this. -- paolo dot carlini at oracle dot com changed: What|Removed |Added AssignedTo|paolo dot carlini at oracle |unassigned at gcc dot gnu |dot com |dot org Status|ASSIGNED|NEW http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40138
[Bug c++/40138] [4.5 Regression] ICE with invalid va_arg
--- Comment #1 from paolo dot carlini at oracle dot com 2009-09-08 19:14 --- Right now (151529) I can't reproduce this problem. In case, please reopen. -- paolo dot carlini at oracle dot com changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||WORKSFORME http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40138
[Bug c++/40138] [4.5 Regression] ICE with invalid va_arg
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P5 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40138
[Bug c++/40138] [4.5 Regression] ICE with invalid va_arg
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.5.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40138