[Bug middle-end/37236] [4.3/4.4 Regression] ICE: in mark_operand_necessary, at tree-ssa-dce.c:242

kargl at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Aug 25 22:33:00 GMT 2008



------- Comment #8 from kargl at gcc dot gnu dot org  2008-08-25 22:32 -------
(In reply to comment #7)
>  Whether it is the current standard or
> not, it was legal years ago, and tons of legacy code (like this one) have it.

It has never been legal.  Yes, legacy codes abuse the dummy argument 
syntax of X(1) to mean X(*), but it has never been legal to access
X(2) if you declared the dummy argument as X(1).

> Like Dominique in Comment #6, I'd urge you to fix this.

If you re-read my original comment, you'll note that I stated that
gcc should never ICE.  This would imply that, yes, gcc should be 
fixed.


-- 


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



More information about the Gcc-bugs mailing list