This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Policy about ICE on illegal code?
- From: Jack Lloyd <lloyd at acm dot jhu dot edu>
- To: <gcc at gcc dot gnu dot org>
- Date: Tue, 16 Jul 2002 12:44:56 -0400 (EDT)
- Subject: Policy about ICE on illegal code?
- Organization: JHU ACM/CS/SRL
I have some code (~30 lines, no includes) that is not legal C++ (it shifts
16 bit values >> 32). It causes an ICE with GCC 3.1 when compiled with -O
(or higher) on x86. It works with GCC 3.0.4 (with and w/o -O). I looked at
the list of PRs fixed in 3.1.1 and didn't see anything likely (it doesn't
have anything to do with templates or the SIMD extensions).
Should I file a PR on this? I personally don't care either way, the only
reason I noticed at all was I forgot to fix those files before running
make, and saw the ICE. But if the PR will just be ignored because the code
is not legal, I don't want to waste my time, or that of people working on
GCC.
Thanks,
Jack