[Bug target/53362] gcc 4.7 generates invalid code with -O3 and -mtune=bdver2

2012-05-15 Thread ubizjak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53362 --- Comment #5 from Uros Bizjak 2012-05-16 06:13:53 UTC --- (In reply to comment #4) > Is this enough for you to work with? No, please follow the instructions in [1]. Also, since this is a runtime problem, we will need (preferrably minimized)

[Bug target/53362] gcc 4.7 generates invalid code with -O3 and -mtune=bdver2

2012-05-15 Thread valerio at aimale dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53362 --- Comment #4 from Valerio Aimale 2012-05-15 22:15:19 UTC --- On 5/15/12 11:43 AM, pinskia at gcc dot gnu.org wrote: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53362 > > Andrew Pinski changed: > > What|Removed

[Bug target/53362] gcc 4.7 generates invalid code with -O3 and -mtune=bdver2

2012-05-15 Thread valerio at aimale dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53362 --- Comment #3 from Valerio Aimale 2012-05-15 22:13:47 UTC --- First of all, I made a mistake. The FX-8150 (which is family 14h) requires -march=bdver1 not bdver2. The SIGSEGV, however, happens even with bdver1 To reproduce, compile R with CC=g

[Bug target/53362] gcc 4.7 generates invalid code with -O3 and -mtune=bdver2

2012-05-15 Thread valerio at aimale dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53362 --- Comment #2 from Valerio Aimale 2012-05-15 18:07:01 UTC --- Andrew, thank you for your email. I'll extract some code from the R code base and generate a test case. Valerio On 5/15/12 11:43 AM, pinskia at gcc dot gnu.org wrote: > http://gcc

[Bug target/53362] gcc 4.7 generates invalid code with -O3 and -mtune=bdver2

2012-05-15 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53362 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|