This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/60211] [4.9/5 Regression] ICE with #pragma GCC ivdep and for-loop on global scope
- From: "paolo.carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 21 Jan 2015 18:48:46 +0000
- Subject: [Bug c++/60211] [4.9/5 Regression] ICE with #pragma GCC ivdep and for-loop on global scope
- Auto-submitted: auto-generated
- References: <bug-60211-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60211
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org,
| |paolo.carlini at oracle dot com
--- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> ---
This is strictly speaking a regression that would be easy to fix in
cp_parser_pragma. I wonder, however, if we want to handle the pragma as, eg,
PRAGMA_CILK_SIMD, thus explicitly reject the pragma itself when context ==
pragma_external, or we want to eseentially ignore it in that case, thus do not
call cp_parser_iteration_statement and return. Or something else?!?