/home/richard/src/trunk/gcc/testsuite/gcc.dg/pr35899.c:13:1: warning:
conflicting types for 'bar'
/home/richard/src/trunk/gcc/testsuite/gcc.dg/pr35899.c:8:11: note: previous
implicit declaration of 'bar' was here
/home/richard/src/trunk/gcc/testsuite/gcc.dg/pr35899.c: In function 'foo':
/home/richard/src/trunk/gcc/testsuite/gcc.dg/pr35899.c:6:1: error: invalid
conversion in gimple call
int

void

a = bar ();

/home/richard/src/trunk/gcc/testsuite/gcc.dg/pr35899.c:6:1: internal compiler
error: verify_gimple failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


Caused by gimplifying unit-at-a-time.  Should be rejected with an error.

20:55 < jsm28> richi: We can reject it (compile-time undefined in C90, 
               diagnostic required in C99).


-- 
           Summary: [4.5 Regression] ICE: verify_gimple failed in
                    gcc.dg/pr35899.c
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Keywords: accepts-invalid
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rguenth at gcc dot gnu dot org


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

Reply via email to