[Bug c/66784] New: no symbol emitted for builtin with lto

2015-07-06 Thread guido.hatzsis at yandex dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66784 Bug ID: 66784 Summary: no symbol emitted for builtin with lto Product: gcc Version: lto Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug target/66780] [4.9 Regression] Compiling with -fstack-protector-strong causes binary to segfault

2015-07-06 Thread kkojima at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66780 --- Comment #1 from Kazumoto Kojima --- I can reproduce the issue with the trunk cross compiler. It seems that openproc function in proc/readproc.c is miscompiled with -fstack-protector-strong. Here is a reduced test case: -- int t; struct s {}

[Bug tree-optimization/66768] __seg_fs and __seg_gs: issue when adding address space support

2015-07-06 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66768 --- Comment #5 from amker at gcc dot gnu.org --- I can reproduce the problem on avr using its namespace with GCC trunk. The example code is as below: typedef __memx struct foo_s { int a[20]; } foo_t; int sum1(const foo_t *p) { int i, t

[Bug middle-end/66785] New: internal compiler error in record_operand_use

2015-07-06 Thread chris_s_jones at yahoo dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66785 Bug ID: 66785 Summary: internal compiler error in record_operand_use Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: m

[Bug c/66773] sign-compare warning for == and != are pretty useless

2015-07-06 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66773 --- Comment #5 from Andreas Schwab --- A cast is seldom a good solution, but even equality tests have the potential to go wrong with C's composite type rules.

<    1   2