re PR c++/57362 (unsupported __attribute__((target())) values appear to cause loop...
authorSriraman Tallam <tmsriram@google.com>
Thu, 11 Jul 2013 22:09:55 +0000 (22:09 +0000)
committerSriraman Tallam <tmsriram@gcc.gnu.org>
Thu, 11 Jul 2013 22:09:55 +0000 (22:09 +0000)
commit78039734658d68e1acc5d10ad8e14363ac606ba3
tree8f9f514bcc5926df1b6a1b21cf6f61cefa69c737
parent2c6215249d06acdca6d7ba5c810f33b2b0395bd1
re PR c++/57362 (unsupported __attribute__((target())) values appear to cause loop and/or pathological behavior)

PR 57362

PR target/57362
* config/i386/i386.c (dispatch_function_versions): Fix array
indexing of function_version_info to match actual_versions.

PR target/57362
* g++.dg/ext/pr57362.C: New.

From-SVN: r200913
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/pr57362.C [new file with mode: 0644]