[Bug c++/71517] g++ gives different warnings if compiling a file directly or adding preprocess step

2016-06-13 Thread albert.astals at canonical dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71517 --- Comment #1 from Albert Astals Cid --- The used compiler is $ g++ -v Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pk

[Bug c++/71517] New: g++ gives different warnings if compiling a file directly or adding preprocess step

2016-06-13 Thread albert.astals at canonical dot com
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: albert.astals at canonical dot com Target Milestone: --- Compiling the file at http://paste.ubuntu.com/17091697/ I get no warnings if just using -c $ g++ -c -fPIC

[Bug c++/71517] g++ gives different warnings if compiling a file directly or adding preprocess step

2016-06-13 Thread albert.astals at canonical dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71517 --- Comment #3 from Albert Astals Cid --- Ok, i see, this is regarding ccache bug https://github.com/ccache/ccache/issues/93

[Bug c++/65309] New: [Regression] Executes wrong function inside an anonymous namespace on runtime

2015-03-04 Thread albert.astals at canonical dot com
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: albert.astals at canonical dot com Created attachment 34947 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34947&action=edit tar.gz containing files to reproduce

[Bug c++/65309] [Regression] Executes wrong function inside an anonymous namespace on runtime

2015-03-04 Thread albert.astals at canonical dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65309 --- Comment #1 from Albert Astals Cid --- Works fine with $ gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-linux-gnu/4.8/lto-wrapper Target: i686-linux-gnu Configured with: ../src/configure -v --with-pkgversio

[Bug c++/65309] [Regression] Executes wrong function inside an anonymous namespace on runtime

2015-03-04 Thread albert.astals at canonical dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65309 --- Comment #3 from Albert Astals Cid --- I guess i'm using the system default one, that would be $ `which ld` -V GNU ld (GNU Binutils for Ubuntu) 2.25 Supported emulations: elf_x86_64 elf32_x86_64 elf_i386 i386linux elf_l1om

[Bug c++/65309] [Regression] Executes wrong function inside an anonymous namespace on runtime

2015-03-04 Thread albert.astals at canonical dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65309 --- Comment #6 from Albert Astals Cid --- Same as ecloud, also fails if using gold.