[Bug middle-end/27382] [4.2 regression] ICE in c_common_truthvalue_conversion with label address

2006-06-04 Thread mmitchel at gcc dot gnu dot org


-- 

mmitchel at gcc dot gnu dot org changed:

   What|Removed |Added

   Priority|P3  |P1


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



[Bug middle-end/27382] [4.2 regression] ICE in c_common_truthvalue_conversion with label address

2006-06-04 Thread sayle at gcc dot gnu dot org


--- Comment #3 from sayle at gcc dot gnu dot org  2006-06-05 02:28 ---
Subject: Bug 27382

Author: sayle
Date: Mon Jun  5 02:28:20 2006
New Revision: 114380

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=114380
Log:

PR middle-end/27382
* c-common.c (c_common_truthvalue_conversion): Explicitly check
for LABEL_DECL before calling DECL_WEAK.

PR c/27150
* c-typeck.c (build_binary_op): Likewise, explicitly check for
LABEL_DECL and PARM_DECL.

* gcc.dg/pr27150-1.c: New testcase.
* gcc.dg/pr27382-1.c: New testcase.
* gcc.dg/pr27382-2.c: New testcase.


Added:
trunk/gcc/testsuite/gcc.dg/pr27150-1.c
trunk/gcc/testsuite/gcc.dg/pr27382-1.c
trunk/gcc/testsuite/gcc.dg/pr27382-2.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/c-common.c
trunk/gcc/c-typeck.c


-- 


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



[Bug middle-end/27382] [4.2 regression] ICE in c_common_truthvalue_conversion with label address

2006-06-04 Thread sayle at gcc dot gnu dot org


--- Comment #4 from sayle at gcc dot gnu dot org  2006-06-05 02:31 ---
Subject: Bug 27382

Author: sayle
Date: Mon Jun  5 02:31:41 2006
New Revision: 114381

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=114381
Log:

PR middle-end/27382
PR c/27150
* gcc.dg/pr27150-1.c: New testcase.
* gcc.dg/pr27382-1.c: New testcase.
* gcc.dg/pr27382-2.c: New testcase.


Modified:
trunk/gcc/testsuite/ChangeLog


-- 


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



[Bug middle-end/27382] [4.2 regression] ICE in c_common_truthvalue_conversion with label address

2006-06-04 Thread pinskia at gcc dot gnu dot org


--- Comment #5 from pinskia at gcc dot gnu dot org  2006-06-05 03:08 ---
Fixed.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED


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



[Bug middle-end/27382] [4.2 regression] ICE in c_common_truthvalue_conversion with label address

2006-05-08 Thread pinskia at gcc dot gnu dot org


--- Comment #2 from pinskia at gcc dot gnu dot org  2006-05-08 07:57 ---
I am taking care about this one too.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |pinskia at gcc dot gnu dot
   |dot org |org
 Status|NEW |ASSIGNED


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



[Bug middle-end/27382] [4.2 regression] ICE in c_common_truthvalue_conversion with label address

2006-05-02 Thread pinskia at gcc dot gnu dot org


--- Comment #1 from pinskia at gcc dot gnu dot org  2006-05-02 14:52 ---
void foo()
{
L:
L != 0 ;
}
---
Most likely also fails but is done in a different place.
PARM_DECL has the same issue but I already filed/fixed them.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||pinskia at gcc dot gnu dot
   ||org
 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2006-05-02 14:52:15
   date||
   Target Milestone|--- |4.2.0


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