[Bug c/83637] New: Inline assembly allocates the same register twice

2017-12-31 Thread mini at cs dot technion.ac.il
: c Assignee: unassigned at gcc dot gnu.org Reporter: mini at cs dot technion.ac.il Target Milestone: --- Hi, I am compiling this code: int cmov(int pred, int t_val, int f_val) { int result; __asm__ volatile ( "mov %2, %

[Bug c++/79425] Inline assembly getting clobbered in some case

2017-02-08 Thread mini at cs dot technion.ac.il
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79425 --- Comment #3 from Marina Minkin --- What do you mean by "You need to set the section to verify correct in top level inline-asm and then"? This is a stripped code just to reproduce this behavior. What I initially tried to do, was to make a func

[Bug c++/79425] New: Inline assembly getting clobbered in some case

2017-02-08 Thread mini at cs dot technion.ac.il
++ Assignee: unassigned at gcc dot gnu.org Reporter: mini at cs dot technion.ac.il Target Milestone: --- I am getting inline assembly code clobbered if I #include, it is the 1st code in the .text segment, AND I use -std=c++11 This is the INCORRECT behavior. As you can see

[Bug c++/79416] [5/6/7 Regression] Internal compiler error for recursive template expansion

2017-02-08 Thread mini at cs dot technion.ac.il
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79416 --- Comment #2 from Marina Minkin --- I was able to get a different error on gcc 4.4.7 $ gcc -v Using built-in specs. Target: x86_64-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --wit

[Bug c++/79416] New: Internal compiler error for recursive template expansion

2017-02-07 Thread mini at cs dot technion.ac.il
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: mini at cs dot technion.ac.il Target Milestone: --- Target: x86_64-linux-gnu gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4) I ran it about 10 times. 9 times I got this output: $ g

[Bug c++/79407] New: -fcall-saved-rax flag causes an internal segmentation fault

2017-02-07 Thread mini at cs dot technion.ac.il
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: mini at cs dot technion.ac.il Target Milestone: --- I am getting internal error with the -fcall-saved-rax flag gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4) to reproduce