[Bug target/47315] ICE: in extract_insn, at recog.c:2109 (unrecognizable insn) with -mvzeroupper and __attribute__((target("avx")))

2021-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47315
Bug 47315 depends on bug 37565, which changed state.

Bug 37565 Summary: __optimize__  attribute doesn't work correctly
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37565

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

[Bug target/47315] ICE: in extract_insn, at recog.c:2109 (unrecognizable insn) with -mvzeroupper and __attribute__((target("avx")))

2018-03-11 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47315

Eric Gallager  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||egallager at gcc dot gnu.org
 Resolution|--- |FIXED

--- Comment #6 from Eric Gallager  ---
(In reply to H.J. Lu from comment #5)
> (In reply to comment #4)
> > (In reply to comment #2)
> > > A patch is posted at
> > > 
> > > http://gcc.gnu.org/ml/gcc-patches/2011-05/msg01649.html
> > 
> > H.J., Since this bug shows up in gcc 4.6, could you backport to gcc 4.6
> > branch? Thanks,
> > 
> 
> I have no plan to backport. Please feel free to backport.

Since gcc 4.6 branch is closed, there's no more need to backport, so I'm going
to assume that this:

(In reply to h...@gcc.gnu.org from comment #3)
> Author: hjl
> Date: Mon May 23 16:51:42 2011
> New Revision: 174078
> 
> URL: http://gcc.gnu.org/viewcvs?root=gcc=rev=174078
> Log:
> Save the initial options after checking vzeroupper.
> 
> gcc/
> 
> 2011-05-23  H.J. Lu  
> 
>   PR target/47315
>   * config/i386/i386.c (ix86_option_override_internal): Save the
>   initial options after checking vzeroupper.
> 
> gcc/testsuite/
> 
> 2011-05-23  H.J. Lu  
> 
>   PR target/47315
>   * gcc.target/i386/pr47315.c: New test.
> 
> Added:
> trunk/gcc/testsuite/gcc.target/i386/pr47315.c
> Modified:
> trunk/gcc/ChangeLog
> trunk/gcc/config/i386/i386.c
> trunk/gcc/testsuite/ChangeLog

fixed it.

[Bug target/47315] ICE: in extract_insn, at recog.c:2109 (unrecognizable insn) with -mvzeroupper and __attribute__((target(avx)))

2011-06-27 Thread changpeng.fang at amd dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47315

Changpeng Fang changpeng.fang at amd dot com changed:

   What|Removed |Added

 CC||changpeng.fang at amd dot
   ||com

--- Comment #4 from Changpeng Fang changpeng.fang at amd dot com 2011-06-27 
22:54:47 UTC ---
(In reply to comment #2)
 A patch is posted at
 
 http://gcc.gnu.org/ml/gcc-patches/2011-05/msg01649.html

H.J., Since this bug shows up in gcc 4.6, could you backport to gcc 4.6
branch? Thanks,

Changpeng


[Bug target/47315] ICE: in extract_insn, at recog.c:2109 (unrecognizable insn) with -mvzeroupper and __attribute__((target(avx)))

2011-06-27 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47315

--- Comment #5 from H.J. Lu hjl.tools at gmail dot com 2011-06-27 23:01:16 
UTC ---
(In reply to comment #4)
 (In reply to comment #2)
  A patch is posted at
  
  http://gcc.gnu.org/ml/gcc-patches/2011-05/msg01649.html
 
 H.J., Since this bug shows up in gcc 4.6, could you backport to gcc 4.6
 branch? Thanks,
 

I have no plan to backport. Please feel free to backport.


[Bug target/47315] ICE: in extract_insn, at recog.c:2109 (unrecognizable insn) with -mvzeroupper and __attribute__((target(avx)))

2011-05-23 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47315

H.J. Lu hjl.tools at gmail dot com changed:

   What|Removed |Added

URL||http://gcc.gnu.org/ml/gcc-p
   ||atches/2011-05/msg01649.htm
   ||l

--- Comment #2 from H.J. Lu hjl.tools at gmail dot com 2011-05-23 16:00:22 
UTC ---
A patch is posted at

http://gcc.gnu.org/ml/gcc-patches/2011-05/msg01649.html


[Bug target/47315] ICE: in extract_insn, at recog.c:2109 (unrecognizable insn) with -mvzeroupper and __attribute__((target(avx)))

2011-05-23 Thread hjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47315

--- Comment #3 from hjl at gcc dot gnu.org hjl at gcc dot gnu.org 2011-05-23 
16:51:46 UTC ---
Author: hjl
Date: Mon May 23 16:51:42 2011
New Revision: 174078

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=174078
Log:
Save the initial options after checking vzeroupper.

gcc/

2011-05-23  H.J. Lu  hongjiu...@intel.com

PR target/47315
* config/i386/i386.c (ix86_option_override_internal): Save the
initial options after checking vzeroupper.

gcc/testsuite/

2011-05-23  H.J. Lu  hongjiu...@intel.com

PR target/47315
* gcc.target/i386/pr47315.c: New test.

Added:
trunk/gcc/testsuite/gcc.target/i386/pr47315.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/i386.c
trunk/gcc/testsuite/ChangeLog


[Bug target/47315] ICE: in extract_insn, at recog.c:2109 (unrecognizable insn) with -mvzeroupper and __attribute__((target(avx)))

2011-01-16 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47315

H.J. Lu hjl.tools at gmail dot com changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2011.01.16 15:57:54
 Depends on||37565
 Ever Confirmed|0   |1

--- Comment #1 from H.J. Lu hjl.tools at gmail dot com 2011-01-16 15:57:54 
UTC ---
Another target optimization bug.