------- Additional Comments From falk at debian dot org  2005-02-22 13:40 
-------
Confirmed, this is an ICE on invalid code. This is a test case for 4.0 (but
for some reason it doesn't work for 3.4):

struct ED_Ligne { int x; };
void dealloue_ligne();
void dealloue_buff(struct ED_Ligne *tab_lignes) {
    dealloue_ligne(*tab_lignes);
}
void dealloue_ligne(struct ED_Ligne *lig) { } 

% gcc -O3 -c test.c
test.c: In function 'dealloue_buff':
test.c:4: internal compiler error: in fold_convert, at fold-const.c:1922
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |ice-on-invalid-code
      Known to fail|                            |3.4.3 4.0.0
            Summary|crashing the compiler with -|[3.4, 4.0 regression] ICE on
                   |03                          |bad prototype at -O3


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

Reply via email to