This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/60211] [4.9/5 Regression] ICE with #pragma GCC ivdep and for-loop on global scope


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?!?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]