[Bug c++/98105] constexpr and unnamed namespace yields relocation R_X86_64_PC32 against undefined symbol ... can not be used when making a shared object; recompile with -fPIC

2020-12-03 Thread peter_foelsche at mentor dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98105 --- Comment #2 from Peter Foelsche --- sorry -- adding a definition outside of class for the variable solves the problem!

[Bug c++/98105] New: constexpr and unnamed namespace yields relocation R_X86_64_PC32 against undefined symbol ... can not be used when making a shared object; recompile with -fPIC

2020-12-02 Thread peter_foelsche at mentor dot com via Gcc-bugs
Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: peter_foelsche at mentor dot com Target Milestone: --- Created

[Bug c++/97677] New: std::array and std::initializer_list gives wrong results

2020-11-02 Thread peter_foelsche at mentor dot com via Gcc-bugs
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: peter_foelsche at mentor dot com Target Milestone: --- Created attachment 49487 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49487&action=edit ConsoleApplication2.cpp g++ 5.3.

[Bug c++/94457] using ~VariableName in trailing return type deduction does not compile

2020-04-02 Thread peter_foelsche at mentor dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94457 --- Comment #1 from Peter Foelsche --- g++ 7.4 works fine

[Bug c++/94457] New: using ~VariableName in trailing return type deduction does not compile

2020-04-02 Thread peter_foelsche at mentor dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: peter_foelsche at mentor dot com Target Milestone: --- Created attachment 48171 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48171&action=edit test source code usi

[Bug c++/89389] New: inlining failed in call to always_inline -- removing attribute leaves function inlined

2019-02-18 Thread peter_foelsche at mentor dot com
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: peter_foelsche at mentor dot com Target Milestone: --- Some member function is labeled __attribute__((always_inline)) inline as are many others. This is generated

[Bug c++/83949] internal compiler error: Segmentation fault (only with -g)

2018-01-19 Thread peter_foelsche at mentor dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83949 --- Comment #3 from Peter Foelsche --- also happens with pfoelsch@TXA-PFOELSCH-LT:/mnt/d/BSIMSOI$ g++-7 --version g++-7 (Ubuntu 7.2.0-1ubuntu1~16.04) 7.2.0 Copyright (C) 2017 Free Software Foundation, Inc. This is free software; see the source

[Bug c++/83949] internal compiler error: Segmentation fault (only with -g)

2018-01-19 Thread peter_foelsche at mentor dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83949 --- Comment #2 from Peter Foelsche --- Created attachment 43193 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43193&action=edit *.ii compressed

[Bug c++/83949] internal compiler error: Segmentation fault (only with -g)

2018-01-19 Thread peter_foelsche at mentor dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83949 --- Comment #1 from Peter Foelsche --- Created attachment 43192 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43192&action=edit compiler stdout/stderr

[Bug c++/83949] New: internal compiler error: Segmentation fault (only with -g)

2018-01-19 Thread peter_foelsche at mentor dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: peter_foelsche at mentor dot com Target Milestone: --- Version: [pfoelsch@ orw-ams-ms21 /scratch/pfoelsch/resistor]% /scratch/pfoelsch/TDA/rfsim/rfsim/debug/afs_root/tiburonda/tools