[Bug driver/89026] [mingw] -I directives in response files assume C:/ as '/', but C:/msys2 when passed directly

2019-01-23 Thread felipe at expertisesolutions dot com.br
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89026 --- Comment #2 from Felipe Magno de Almeida --- Also happens when I call cc1 directly. So, it doesn't seem to be the driver's fault.

[Bug driver/89026] [mingw] -I directives in response files assume C:/ as '/', but C:/msys2 when passed directly

2019-01-23 Thread felipe at expertisesolutions dot com.br
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89026 --- Comment #1 from Felipe Magno de Almeida --- Tested on GCC 7.4.0 and it doesn't show the same bug.

[Bug driver/89026] New: [mingw] -I directives in response files assume C:/ as '/', but C:/msys2 when passed directly

2019-01-23 Thread felipe at expertisesolutions dot com.br
NCONFIRMED Severity: normal Priority: P3 Component: driver Assignee: unassigned at gcc dot gnu.org Reporter: felipe at expertisesolutions dot com.br Target Milestone: --- If you create a response file with the following content: -I/mingw64/include/dbus

[Bug c++/81147] [avr] C++ for -mmcu=atmega2560 doesn't do NRVO or RVO when class inherits from empty base

2017-11-09 Thread felipe at expertisesolutions dot com.br
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81147 --- Comment #8 from Felipe Magno de Almeida --- With GCC 7.2.0 I'm still not seeing the same results as you are. The following is the assembly result, using the same .cpp file and the same command line: .section.text._Z3abcv,"ax"

[Bug c++/81147] [avr] C++ for -mmcu=atmega2560 doesn't do NRVO or RVO when class inherits from empty base

2017-07-19 Thread felipe at expertisesolutions dot com.br
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81147 --- Comment #6 from Felipe Magno de Almeida --- NRVO: Named Return Value Optimization RVO: Return Value Optiomization It is the eliminiation of copying when returning objects by value (or passed by-value as parameters for rvalues). The assembly

[Bug c++/81147] [avr] C++ for -mmcu=atmega2560 doesn't do NRVO or RVO when class inherits from empty base

2017-07-05 Thread felipe at expertisesolutions dot com.br
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81147 Felipe Magno de Almeida changed: What|Removed |Added Attachment #41594|0 |1 is obsolete|

[Bug c++/81147] [avr] C++ for -mmcu=atmega2560 doesn't do NRVO or RVO when class inherits from empty base

2017-07-05 Thread felipe at expertisesolutions dot com.br
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81147 --- Comment #3 from Felipe Magno de Almeida --- It actually compiles for me because I have enabled libstdc++v3 for avr target. But I'm attaching a new one without the unnecessary includes. Line command to compile: avr-g++ -std=c++14 -fno-excepti

[Bug c++/81147] [avr] C++ for -mmcu=atmega2560 doesn't do NRVO or RVO when class inherits from empty base

2017-06-21 Thread felipe at expertisesolutions dot com.br
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81147 --- Comment #1 from Felipe Magno de Almeida --- Forgot to mention that removing the inheritance of A and seq from parser_base (leaving it without inheriting anything) does make NRVO and RVO work again. Unfortunately not a workaround I can use.

[Bug target/81147] New: [avr] C++ for -mmcu=atmega2560 doesn't do NRVO or RVO when class inherits from empty base

2017-06-20 Thread felipe at expertisesolutions dot com.br
IRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: felipe at expertisesolutions dot com.br Target Milestone: --- Created attachment 41594 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=4159