[Bug libstdc++/69881] with gcc-6 of today building gcc-4.9 fails

2016-02-20 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69881 --- Comment #6 from Bernd Edlinger --- (In reply to Jonathan Wakely from comment #4) > The patch seems wrong, your new sections don't add anything to namespace std. yes. I think probably cstddef is free to ignore __need_size_t. right? Then it

[Bug libstdc++/69881] with gcc-6 of today building gcc-4.9 fails

2016-02-20 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69881 --- Comment #3 from Bernd Edlinger --- or #undef all these __need_XXX before including stddef.h, after all it is a bit bogus ghat gmp.h does: #define __need_size_t /* tell gcc stddef.h we only want size_t */ #include /* for size_t */ is

[Bug libstdc++/69881] with gcc-6 of today building gcc-4.9 fails

2016-02-19 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69881 --- Comment #2 from Bernd Edlinger --- Something like that might be needed? Index: c_global/cstddef === --- c_global/cstddef(Revision 233574) +++ c_global/cstddef(Arbeitskop

[Bug libstdc++/69881] with gcc-6 of today building gcc-4.9 fails

2016-02-19 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69881 --- Comment #1 from Bernd Edlinger --- note: back-porting r233572 will still be necessary to build 4.9 with gcc-6 but the build fails earlier than that.

[Bug libstdc++/69881] New: with gcc-6 of today building gcc-4.9 fails

2016-02-19 Thread bernd.edlinger at hotmail dot de
++ Assignee: unassigned at gcc dot gnu.org Reporter: bernd.edlinger at hotmail dot de Target Milestone: --- Created attachment 37742 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37742&action=edit preprocessed source code g++ -c -g -DIN_GCC-fno-exceptio

[Bug c++/69865] -trigraphs option broken

2016-02-19 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69865 Bernd Edlinger changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/69865] -trigraphs option broken

2016-02-19 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69865 --- Comment #8 from Bernd Edlinger --- (In reply to Jonathan Wakely from comment #7) > (In reply to Bernd Edlinger from comment #1) > > weird: > > If I add -std=c++14 (or any other c++ version, including -ansi) > > to the command line, it works.

[Bug c++/69865] -trigraphs option broken

2016-02-18 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69865 --- Comment #6 from Bernd Edlinger --- also the -fno-extended-identifiers option is broken: cat test1.cc // \u00e4 = ä, \u00f6 = ö, \u00fc = ü, \u00df = ß int test\u00e4\u00f6\u00fc\u00df () { return 0; } gcc -fno-extended-identifiers -c test

[Bug c++/69865] -trigraphs option broken

2016-02-18 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69865 --- Comment #5 from Bernd Edlinger --- Created attachment 37736 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37736&action=edit possible patch this tries to be compatible to previous gcc versions (option a). always define __GNUC_GNU_INLI

[Bug c++/69865] -trigraphs option broken

2016-02-18 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69865 --- Comment #4 from Bernd Edlinger --- when working on a patch I noticed that there is something more... that is if the preprocessor macro __GNUC_GNU_INLINE__ or __GNUC_STDC_INLINE__ is defined on C++. Actually that is irrellevant to C++, but i

[Bug c++/69865] -trigraphs option broken

2016-02-18 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69865 --- Comment #2 from Bernd Edlinger --- in gcc/c-family/c-opts.c: following code in line 805: /* Set C++ standard to C++14 if not specified on the command line. */ if (c_dialect_cxx () && cxx_dialect == cxx_unset) set_std_cxx14 (/*ISO*/

[Bug c++/69865] -trigraphs option broken

2016-02-18 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69865 --- Comment #1 from Bernd Edlinger --- weird: If I add -std=c++14 (or any other c++ version, including -ansi) to the command line, it works.

[Bug c++/69865] New: -trigraphs option broken

2016-02-18 Thread bernd.edlinger at hotmail dot de
: unassigned at gcc dot gnu.org Reporter: bernd.edlinger at hotmail dot de Target Milestone: --- Hi, I know, nobody likes them, but... cat test.cc int main () ??< return 0; ??> gcc -trigraphs test.cc test.cc:3:1: warning: trigraph ??< ignored, use -trigraphs to enable [-W

[Bug c/52085] incomplete enum not completed correctly if packed was used

2016-02-06 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52085 Bernd Edlinger changed: What|Removed |Added CC||bernd.edlinger at hotmail dot de

[Bug c/69669] [5/6 Regression] ICE with enum __attribute__((mode(QI)))

2016-02-04 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69669 --- Comment #4 from Bernd Edlinger --- it is pretty much completely broken also long before gcc-5: typedef enum __attribute__((mode(QI))) e { e1 = 1, e2 = 2 } ee; ee x; int y; int test() { y=sizeof(x); return x == e1; } in "C" sizeof(

[Bug c/69669] New: ICE with enum __attribute__((mode(QI)))

2016-02-04 Thread bernd.edlinger at hotmail dot de
Assignee: unassigned at gcc dot gnu.org Reporter: bernd.edlinger at hotmail dot de Target Milestone: --- Created attachment 37576 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37576&action=edit reduced test case Hi, the attached program gives ICE with gcc-6 trunk:

[Bug target/53440] [arm] generic thunk code fails for method which uses '...'

2016-02-03 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53440 Bernd Edlinger changed: What|Removed |Added CC||bernd.edlinger at hotmail dot de

[Bug libstdc++/69581] [6 Regression] r232586 broke arm-cross-compiler bootstrap

2016-02-01 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69581 --- Comment #10 from Bernd Edlinger --- (In reply to Jonathan Wakely from comment #9) > (In reply to Bernd Edlinger from comment #7) > > Thanks. Now about reversing the comments at the bottom of math.h ? > > I don't understand the question. I a

[Bug libstdc++/69581] [6 Regression] r232586 broke arm-cross-compiler bootstrap

2016-02-01 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69581 --- Comment #7 from Bernd Edlinger --- Thanks. Now about reversing the comments at the bottom of math.h ? Index: libstdc++-v3/include/c_compatibility/math.h === --- libstdc++-v3/in

[Bug libstdc++/69581] [6 Regression] r232586 broke arm-cross-compiler bootstrap

2016-01-31 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69581 --- Comment #4 from Bernd Edlinger --- this fixes it for me: Index: libstdc++-v3/include/c_compatibility/math.h === --- libstdc++-v3/include/c_compatibility/math.h (revision 233023)

[Bug libstdc++/69581] [6 Regression] r232586 broke arm-cross-compiler bootstrap

2016-01-31 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69581 --- Comment #3 from Bernd Edlinger --- (In reply to Andrew Pinski from comment #1) > I am surprised you are not using a sysroot. Hmm, I kind of stole the include/lib files from the target, and install them to the prefix tree at the right place.

[Bug libstdc++/69581] [6 Regression] r232586 broke arm-cross-compiler bootstrap

2016-01-31 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69581 --- Comment #2 from Bernd Edlinger --- Created attachment 37534 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37534&action=edit preprocessed source code

[Bug c++/69581] New: r232586 broke arm-cross-compiler bootstrap

2016-01-31 Thread bernd.edlinger at hotmail dot de
++ Assignee: unassigned at gcc dot gnu.org Reporter: bernd.edlinger at hotmail dot de Target Milestone: --- I'm using glibc 2.15 at $prefix/$target/include this works: ../gcc-trunk/configure --prefix=/home/ed/gnu/arm-linux-gnueabihf-linux64 --target=arm-linux-gnueabihf --with

[Bug target/69012] gcc-6.0.0 internal compiler error building libgfortran for mips64el target

2016-01-21 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69012 --- Comment #16 from Bernd Edlinger --- (In reply to Nick Clifton from comment #15) > Hi Guys, > > I have checked in Bernd's patch as it also fixes PR 69129. I think that > this PR can also be closed now, although I am not sure if we need to

[Bug c++/69411] New: ICE on invalid code

2016-01-21 Thread bernd.edlinger at hotmail dot de
: unassigned at gcc dot gnu.org Reporter: bernd.edlinger at hotmail dot de Target Milestone: --- Created attachment 37416 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37416&action=edit reduced test case Hi, the attached small.cc creates an ICE when compiled with -fsanitize=un

[Bug c++/69387] undefined reference to constant in template

2016-01-20 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69387 --- Comment #3 from Bernd Edlinger --- Oh, now I see, you mean: C++ Standard, Sec. 9.4.2 paragraph 4 says: If a static data member is of const integral or const enumeration type, its declaration in the class definition can specify a constant-ini

[Bug c++/69387] undefined reference to constant in template

2016-01-20 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69387 --- Comment #2 from Bernd Edlinger --- Do you mean that is invalid? class StatusCode { public: static const int TEST_VALUE = 0x2; }; I thought it is like defining const int XXX = 123; which is actually only a #define not a linker symbol. I

[Bug c++/69387] New: undefined reference to constant in template

2016-01-20 Thread bernd.edlinger at hotmail dot de
++ Assignee: unassigned at gcc dot gnu.org Reporter: bernd.edlinger at hotmail dot de Target Milestone: --- Hi, the following example is miss-compiled at -O0 cat test.cc class StatusCode { public: static const int TEST_VALUE = 0x2; }; typedef bool AssertionResult; template

[Bug bootstrap/69134] building a mips-cross compiler with in-tree mpfr-2.4.2 fails

2016-01-12 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69134 Bernd Edlinger changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/69012] gcc-6.0.0 internal compiler error building libgfortran for mips64el target

2016-01-05 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69012 --- Comment #13 from Bernd Edlinger --- (In reply to Bernd Edlinger from comment #12) > > glibc-config: > ../glibc-2.22/configure --prefix=/home/ed/gnu/mips-linux-gnu/mips-linux-gnu > --build=mips-linux-gnu --disable-werror CC=mips-linux-gnu-gcc

[Bug target/69034] ICE: RTL check: expected elt 1 type 'e' or 'u', have 'i' (rtx unspec) in copy_replacements_1, at reload.c:6323 with -fPIC and "X" asm input

2016-01-04 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69034 --- Comment #3 from Bernd Edlinger --- (In reply to Zdenek Sojka from comment #2) > Created attachment 37217 [details] > reduced testcase > > (In reply to Bernd Edlinger from comment #1) > > Hi, > > > > I don't see any test case. > > Hello Ber

[Bug middle-end/63669] [AArch64] gcc.dg/torture/asm-subreg-1.c ICEs with -fPIC or -mno-lra

2016-01-04 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63669 Bernd Edlinger changed: What|Removed |Added CC||bernd.edlinger at hotmail dot de

[Bug bootstrap/69134] New: building a mips-cross compiler with in-tree mpfr-2.4.2 fails

2016-01-04 Thread bernd.edlinger at hotmail dot de
Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: bernd.edlinger at hotmail dot de Target Milestone: --- ../gcc-trunk/configure --prefix=/home/ed/gnu/mips-linux-gnu --target=mips-linux-gnu --enable-languages=c,c++,fortran,ada --host

[Bug inline-asm/59155] ICE: in reg_overlap_mentioned_p, at rtlanal.c:1473

2016-01-04 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59155 --- Comment #7 from Bernd Edlinger --- Created attachment 37216 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37216&action=edit proposed patch this patch bootstraps cleanly and passes regression tests

[Bug inline-asm/59155] ICE: in reg_overlap_mentioned_p, at rtlanal.c:1473

2016-01-03 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59155 --- Comment #6 from Bernd Edlinger --- (In reply to Marc Glisse from comment #1) > By the way, the following: > > double f(double x){ > asm volatile("":"+X"(x)); > return x; > } > double g(){ > return f(1.); > } > > is rejected with: > >

[Bug target/69034] ICE: RTL check: expected elt 1 type 'e' or 'u', have 'i' (rtx unspec) in copy_replacements_1, at reload.c:6323 with -fPIC and "X" asm input

2016-01-03 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69034 Bernd Edlinger changed: What|Removed |Added CC||bernd.edlinger at hotmail dot de

[Bug target/68917] test suite failure for builtin-bitops-1.c

2016-01-02 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68917 Bernd Edlinger changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/64402] mep-elf ICE in pre_and_rev_post_order_compute, at cfganal.c:1022

2015-12-27 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64402 --- Comment #3 from Bernd Edlinger --- Created attachment 37172 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37172&action=edit Patch to fix ICE and make interrupt restore r0 This patch fixes the ICE and makes interrupt functions also res

[Bug target/69012] gcc-6.0.0 internal compiler error building libgfortran for mips64el target

2015-12-24 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69012 --- Comment #11 from Bernd Edlinger --- ok, now I see. try this: Index: gcc/config/mips/mips.c === --- gcc/config/mips/mips.c (revision 231927) +++ gcc/config/mips/mips.c

[Bug target/69012] gcc-6.0.0 internal compiler error building libgfortran for mips64el target

2015-12-23 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69012 --- Comment #9 from Bernd Edlinger --- (In reply to Paul Hua from comment #8) > (In reply to Bernd Edlinger from comment #6) > > (In reply to Paul Hua from comment #5) > > > Created attachment 37115 [details] > > > building command > > > > I'm u

[Bug target/69012] gcc-6.0.0 internal compiler error building libgfortran for mips64el target

2015-12-23 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69012 --- Comment #7 from Bernd Edlinger --- FYI, I used: ../gcc-trunk/configure --prefix=/home/ed/gnu/mips64el-unknown-linux --target=mips64el-unknown-linux --enable-languages=c --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-

[Bug target/69012] gcc-6.0.0 internal compiler error building libgfortran for mips64el target

2015-12-23 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69012 --- Comment #6 from Bernd Edlinger --- (In reply to Paul Hua from comment #5) > Created attachment 37115 [details] > building command I'm unable to reproduce. What is your cross-compiler command line?

[Bug target/69012] gcc-6.0.0 internal compiler error building libgfortran for mips64el target

2015-12-23 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69012 --- Comment #3 from Bernd Edlinger --- I will have a look, but please, can you attach a preprocessed source for maxval_r4.c Thanks.

[Bug testsuite/68917] test suite failure for builtin-bitops-1.c

2015-12-21 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68917 --- Comment #3 from Bernd Edlinger --- by the way, did you have also trouble to build the libgcc multilib configuration or did you --disable-multilib? this seems completely broken too...

[Bug target/64402] mep-elf ICE in pre_and_rev_post_order_compute, at cfganal.c:1022

2015-12-20 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64402 Bernd Edlinger changed: What|Removed |Added CC||bernd.edlinger at hotmail dot de

[Bug testsuite/68917] test suite failure for builtin-bitops-1.c

2015-12-18 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68917 Bernd Edlinger changed: What|Removed |Added CC||bernd.edlinger at hotmail dot de

[Bug inline-asm/68843] ICE with "u" input constraint

2015-12-16 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68843 --- Comment #8 from Bernd Edlinger --- (In reply to David from comment #7) > Would a doc patch be appropriate too? well, more difficult how to explain it right than to code it right, meanwhile I added a sentence in english this to the patch:

[Bug inline-asm/10396] Constraint alternatives cause error " `asm' operand requires impossible reload"

2015-12-15 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10396 Bernd Edlinger changed: What|Removed |Added CC||bernd.edlinger at hotmail dot de

[Bug inline-asm/59155] ICE: in reg_overlap_mentioned_p, at rtlanal.c:1473

2015-12-14 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59155 --- Comment #5 from Bernd Edlinger --- Oh no! The X constraint allows just everything. and combine combines everything that is OK for check_asm_operands. But reg_overlap_mentioned_p is not expecting anything that complicated. How about: Index

[Bug inline-asm/59155] ICE: in reg_overlap_mentioned_p, at rtlanal.c:1473

2015-12-14 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59155 --- Comment #4 from Bernd Edlinger --- 234r.ud_dce: (insn 12 10 13 2 (set (reg:DF 93) (plus:DF (reg:DF 91 [ xD.1775 ]) (reg:DF 90 [ xD.1777 ]))) t3.c:6 813 {*fop_df_comm_mixed} (expr_list:REG_DEAD (reg:DF 91 [ xD.1775 ])

[Bug inline-asm/59155] ICE: in reg_overlap_mentioned_p, at rtlanal.c:1473

2015-12-14 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59155 Bernd Edlinger changed: What|Removed |Added CC||bernd.edlinger at hotmail dot de

[Bug inline-asm/59181] constraint "+xt" rejected: output constraint 0 must specify a single register

2015-12-14 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59181 Bernd Edlinger changed: What|Removed |Added CC||bernd.edlinger at hotmail dot de

[Bug c/68187] Poor error message from -Wmisleading-indentation on glibc's ../stdlib/strtol_l.c

2015-12-14 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68187 --- Comment #3 from Bernd Edlinger --- (In reply to David Malcolm from comment #2) > Thanks; this is visible in full at: > https://github.com/openssl/openssl/blob/master/crypto/engine/eng_lib.c#L116 > > Looking at > https://github.com/openssl/

[Bug c/68187] Poor error message from -Wmisleading-indentation on glibc's ../stdlib/strtol_l.c

2015-12-14 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68187 Bernd Edlinger changed: What|Removed |Added CC||bernd.edlinger at hotmail dot de

[Bug inline-asm/68843] ICE with "u" input constraint

2015-12-13 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68843 --- Comment #6 from Bernd Edlinger --- How about this? I think tt should fix both issues. Index: reg-stack.c === --- reg-stack.c (Revision 231598) +++ reg-stack.c (Arbeitskopie) @@

[Bug inline-asm/68843] ICE with "u" input constraint

2015-12-13 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68843 --- Comment #5 from Bernd Edlinger --- and that's the next oddity: cat t1.c int test (double x, double y) { int r; asm ("fist %0\t# %0 %1 %2" : "=r" (r) : "r" (x), "t" (y)); return r; } gcc -S t1.c -m32 t1.c: In function ‘test’: t1.c:4:3

[Bug inline-asm/68843] ICE with "u" input constraint

2015-12-11 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68843 --- Comment #4 from Bernd Edlinger --- hmm, yes. the registers are named "st" "st(1)" "st(2)" .. "st(7)"

[Bug inline-asm/68843] ICE with "u" input constraint

2015-12-10 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68843 --- Comment #2 from Bernd Edlinger --- (In reply to Uroš Bizjak from comment #1) > There are several non-intuitive rules that one has to follow to avoid ICEs > with x87 asm operands. Just don't go down that path, there is only pain and > suffer.

[Bug inline-asm/68843] New: ICE with "u" input constraint

2015-12-10 Thread bernd.edlinger at hotmail dot de
inline-asm Assignee: unassigned at gcc dot gnu.org Reporter: bernd.edlinger at hotmail dot de Target Milestone: --- Hi, I have just played a bit with 80x87 fpu register constraints, and found an ICE: cat t1.c double test() { double x,y; asm ("# %0 %1 %2" : "=

[Bug tree-optimization/66131] [6 Regression] Wrong code w/ -O2 -ftree-loop-linear

2015-11-18 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66131 --- Comment #1 from Bernd Edlinger --- Note: the test case as-it-is, does no longer reproduce on trunk.

[Bug c/65345] ICE with _Generic selection on _Atomic int

2015-10-06 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65345 Bernd Edlinger changed: What|Removed |Added CC||bernd.edlinger at hotmail dot de

[Bug rtl-optimization/67756] [6 Regression] ICE compiling Linux Kernel fs/namei.c on ARM

2015-10-02 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67756 Bernd Edlinger changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug rtl-optimization/67756] [6 Regression] ICE compiling Linux Kernel fs/namei.c on ARM

2015-10-02 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67756 --- Comment #19 from Bernd Edlinger --- ok, but now we have because of the warnings: FAIL: gcc.target/arm/pr67756.c (test for excess errors) I think something like this could fix it: Index: pr67756.c ===

[Bug rtl-optimization/67756] [6 Regression] ICE compiling Linux Kernel fs/namei.c on ARM

2015-10-02 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67756 --- Comment #16 from Bernd Edlinger --- (In reply to Vladimir Makarov from comment #13) > (In reply to Bernd Edlinger from comment #11) > > I must admit, that I don't know what I am doing here, > > ... but this (completely untested) patch seems t

[Bug target/67756] [6 Regression] ICE compiling Linux Kernel fs/namei.c on ARM

2015-10-01 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67756 --- Comment #15 from Bernd Edlinger --- (In reply to Vladimir Makarov from comment #14) > (In reply to Bernd Edlinger from comment #5) > > > > > My patch from yesterday makes no difference here, but what's funny is, > > that the set register wa

[Bug target/67756] [6 Regression] ICE compiling Linux Kernel fs/namei.c on ARM

2015-10-01 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67756 --- Comment #11 from Bernd Edlinger --- I must admit, that I don't know what I am doing here, ... but this (completely untested) patch seems to fix the ICE: (and at least my linux kernel compiles without ICE now) --- lra-assigns.c.jj2015-07-

[Bug target/67756] [6 Regression] ICE compiling Linux Kernel fs/namei.c on ARM

2015-10-01 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67756 --- Comment #7 from Bernd Edlinger --- (In reply to ktkachov from comment #6) > Perhaps a bisection to the revision that started this could shed some light absolutely, but my computer powers are too limited for that. could you help?

[Bug target/67756] [6 Regression] ICE compiling Linux Kernel fs/namei.c on ARM

2015-10-01 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67756 Bernd Edlinger changed: What|Removed |Added CC||vmakarov at redhat dot com --- Comment

[Bug target/67756] [6 Regression] ICE compiling Linux Kernel fs/namei.c on ARM

2015-10-01 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67756 --- Comment #4 from Bernd Edlinger --- necessary compiler options to trigger the ICE: -O2 and -mapcs arm-linux-gnueabihf-gcc -O2 -mapcs -S kernel-ice.c

[Bug target/67037] [4.9/5/6 Regression] Wrong code at -O1 and above on ARM

2015-09-29 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67037 --- Comment #4 from Bernd Edlinger --- I believe that when we see this in testcase.c.232r.reload 73: [r166:SI++]=r142:SI#0 REG_DEAD r142:SI REG_INC r149:SI Inserting insn reload before: 153: r166:SI=[afp:SI+0x14f8] Inser

[Bug target/67756] ICE compiling Linux Kernel fs/namei.c on ARM

2015-09-29 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67756 --- Comment #1 from Bernd Edlinger --- Created attachment 36411 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36411&action=edit preprocessed source file

[Bug target/67756] New: ICE compiling Linux Kernel fs/namei.c on ARM

2015-09-29 Thread bernd.edlinger at hotmail dot de
: target Assignee: unassigned at gcc dot gnu.org Reporter: bernd.edlinger at hotmail dot de Target Milestone: --- arm-linux-gnueabihf-gcc -v Using built-in specs. COLLECT_GCC=arm-linux-gnueabihf-gcc COLLECT_LTO_WRAPPER=/home/ed/gnu/arm-linux-gnueabihf-linux64/libexec/gcc/arm-linux

[Bug bootstrap/67728] Build fails when cross-compiling with in-tree GMP and ISL

2015-09-28 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67728 Bernd Edlinger changed: What|Removed |Added CC||bernd.edlinger at hotmail dot de

[Bug rtl-optimization/66236] [6 Regression] FAIL: gcc.c-torture/execute/pr42691.c on alpha-linux-gnu

2015-09-05 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66236 Bernd Edlinger changed: What|Removed |Added CC||bernd.edlinger at hotmail dot de

[Bug tree-optimization/63602] [5/6 Regression] Wrong code w/ -O2 -ftree-loop-linear

2015-08-19 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63602 Bernd Edlinger changed: What|Removed |Added CC||bernd.edlinger at hotmail dot de

[Bug middle-end/66747] [6 Regression] The commit r225260 broke the builds of the mips-{mti,img}-linux-gnu tool chains.

2015-07-03 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66747 --- Comment #3 from Bernd Edlinger --- Created attachment 35902 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35902&action=edit proposed patch this slightly improved patch should fix it, could you give it a try? Thanks, Bernd.

[Bug rtl-optimization/66614] LRA might fail to eliminate dead code

2015-06-28 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66614 --- Comment #3 from Bernd Edlinger --- I checked a few apps, and have not yet found any impact of the return value of rtx_addr_can_trap_p_1 on the final code so far. That means that this is probably only a low prio bug... Regarding the LRA, I t

[Bug rtl-optimization/66614] LRA might fail to eliminate dead code

2015-06-21 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66614 --- Comment #2 from Bernd Edlinger --- this is what I understand from lra in my own words: lra () consists of a sequence of for (;;) { ... lra_eliminate (false, false); /* Do inheritance only for regular algorithms.

[Bug rtl-optimization/66614] New: LRA might fail to eliminate dead code

2015-06-20 Thread bernd.edlinger at hotmail dot de
-optimization Assignee: unassigned at gcc dot gnu.org Reporter: bernd.edlinger at hotmail dot de Target Milestone: --- Hi, I have GCC compiled with this local patch in rtx_addr_can_trap_p_1 that should print a warning, when invalid frame offsets are encounterd: Index: rtlanal.c

[Bug sanitizer/64078] FAIL: c-c++-common/ubsan/object-size-9.c

2015-06-10 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64078 --- Comment #13 from Bernd Edlinger --- Created attachment 35747 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35747&action=edit Proposed Fix that's what I think should fix the sporadic fall-out on both test cases.

[Bug rtl-optimization/61047] [4.9/5/6 Regression] wrong code at -O1 on x86_64-linux

2015-06-10 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61047 --- Comment #23 from Bernd Edlinger --- sorry, which patch are we discussing here?

[Bug libgcc/65902] GCC-5.1 fails to bootstrap for eCos/arm-eabi

2015-04-28 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65902 --- Comment #5 from Bernd Edlinger --- Well, I thought maybe it would not hurt to be more permissive... At least math.h and stdlib.h include which contains something like this: #ifndef __cplusplus typedef cyg_halbool bool; # ifndef false #

[Bug libgcc/65902] GCC-5.1 fails to bootstrap for eCos/arm-eabi

2015-04-28 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65902 --- Comment #3 from Bernd Edlinger --- (In reply to Richard Earnshaw from comment #2) > The standard headers should only be defining bool if stdbool.h has been > included. So this looks more like a build environment error than a bug in > GCC. y

[Bug c++/65905] Building eCos fails with clist.hxx:304:1: error: template with C linkage

2015-04-28 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65905 Bernd Edlinger changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/65905] New: Building eCos fails with clist.hxx:304:1: error: template with C linkage

2015-04-27 Thread bernd.edlinger at hotmail dot de
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: bernd.edlinger at hotmail dot de Target Milestone: --- Created attachment 35406 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35406&action=edit precompiled sour

[Bug libgcc/65902] GCC-5.1 fails to bootstrap for eCos/arm-eabi

2015-04-27 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65902 --- Comment #1 from Bernd Edlinger --- this would fix the regression: --- libgcc/unwind-arm-common.inc.jj 2015-01-05 13:33:28.0 +0100 +++ libgcc/unwind-arm-common.inc2015-04-27 15:54:04.378469179 +0200 @@ -36,7 +36,7 @@ /*

[Bug libgcc/65902] New: GCC-5.1 fails to bootstrap for eCos/arm-eabi

2015-04-27 Thread bernd.edlinger at hotmail dot de
: libgcc Assignee: unassigned at gcc dot gnu.org Reporter: bernd.edlinger at hotmail dot de Target Milestone: --- build for eCos fails in libgcc because sys-include/cyg/infra/cyg_type.h typedef's bool and libgcc/unwind-arm-common.inc defines it too. ../gcc-5.1.0/configure --p

[Bug rtl-optimization/65067] regression on accessing volatile bit field

2015-04-22 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65067 --- Comment #13 from Bernd Edlinger --- (In reply to Ramana Radhakrishnan from comment #12) > fixed ? yes, thanks.

[Bug sanitizer/64078] FAIL: c-c++-common/ubsan/object-size-9.c

2015-04-12 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64078 --- Comment #12 from Bernd Edlinger --- The same could happen also with object-size-10.c: https://gcc.gnu.org/ml/gcc-testresults/2015-04/msg01293.html FAIL: c-c++-common/ubsan/object-size-10.c -O2 execution test FAIL: c-c++-common/ubsan/obje

[Bug sanitizer/64078] FAIL: c-c++-common/ubsan/object-size-9.c

2015-04-11 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64078 --- Comment #11 from Bernd Edlinger --- I don't know if that is a bug or not. I see that -fpic does not inline f2 and f3. The two messages seem to be always missing when not inlined... So, how about this: Index: gcc/testsuite/c-c++-common/ubs

[Bug sanitizer/64078] FAIL: c-c++-common/ubsan/object-size-9.c

2015-04-11 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64078 --- Comment #10 from Bernd Edlinger --- Hmmm, the other issue is this: g++ -g -O2 -fsanitize=undefined object-size-9.c ./a.out object-size-9.c:21:11: runtime error: load of address 0x7fffaad34acc with insufficient space for an object of type 'c

[Bug sanitizer/64078] FAIL: c-c++-common/ubsan/object-size-9.c

2015-04-11 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64078 --- Comment #9 from Bernd Edlinger --- this should avoid the random '' issue: Index: object-size-9.c === --- object-size-9.c(revision 222007) +++ object-size-9.c(working cop

[Bug sanitizer/64078] FAIL: c-c++-common/ubsan/object-size-9.c

2015-04-11 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64078 --- Comment #8 from Bernd Edlinger --- (In reply to vries from comment #7) > Created attachment 35215 [details] > relevant bit of gcc.log > > > Next time I encounter it, I'll try to post the full FAIL message > > I ran into this while testing a

[Bug target/56997] Incorrect write to packed field when strict-volatile-bitfields enabled on aarch32

2015-04-04 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56997 --- Comment #18 from Bernd Edlinger --- (In reply to Bernd Edlinger from comment #17) > (In reply to Andrew Pinski from comment #16) > > This testcase fails on aarch64 when SLOW_UNALIGNED_ACCESS is true. > > hmm, yes. > > there are targets that

[Bug c++/65646] [5 Regression] ICE in invalid syntax

2015-04-01 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65646 --- Comment #5 from Bernd Edlinger --- gcc/testsuite/ChangeLog missing?

[Bug c++/65646] New: ICE in invalid syntax

2015-03-31 Thread bernd.edlinger at hotmail dot de
: unassigned at gcc dot gnu.org Reporter: bernd.edlinger at hotmail dot de Hi, on current trunk (snapshot gcc-5-20150329, r221765) the following file causes an ICE: $ cat test.cpp const_iterator #include $ g++ test.cpp lots of warnings/errors, and then: /home/ed/gnu/install/include/c

[Bug target/63683] m32c-rtems ICE unable to find spill register compiling libgcc

2015-03-29 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63683 Bernd Edlinger changed: What|Removed |Added CC||bernd.edlinger at hotmail dot de

[Bug c++/65457] ICE in libgfortran/ieee/ieee_arithmetic.F90

2015-03-25 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65457 Bernd Edlinger changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/65457] ICE in libgfortran/ieee/ieee_arithmetic.F90

2015-03-19 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65457 Bernd Edlinger changed: What|Removed |Added Target||arm-linux-gnueabihf Component|

[Bug middle-end/65449] -fstrict-volatile-bitfields affects volatile pointer dereference and produce wrong codes

2015-03-19 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65449 --- Comment #3 from Bernd Edlinger --- Yes, but that is not the fault of the strict volatile code path any more. For bit-fields this redundant read is exactly what AAPCS demands: "7.1.7.5 Volatile bit - fields preserving number and width of con

<    1   2   3   4   5   6   7   8   9   10   >