The following code gives an internal compiler error using gcc 4.1.2, but
compiles using 3.4. Remove the ()s around the {}s and it compiles just fine.
void reverse(void *_p, int nmemb, int size)
{
struct { char _[size]; } *p = _p, tmp;
for (int i=nmemb-1, j=0; jhttp://gcc.gnu.org/bugzilla
--- Comment #1 from radford at blackbean dot org 2007-08-29 21:19 ---
Bug is present in 4.2.1 as well.
--
radford at blackbean dot org changed:
What|Removed |Added
automatic array in const struct
Product: gcc
Version: 4.2.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: radford at blackbean dot org
GCC build
ed at gcc dot gnu dot org
ReportedBy: radford at blackbean dot org
GCC build triplet: x86_64-unknown-linux-gnu
GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33631
dford at blackbean dot org
GCC build triplet: x86_64-unknown-linux-gnu
GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: m68k-elf
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39531
--- Comment #1 from radford at blackbean dot org 2009-03-23 19:13 ---
Created an attachment (id=17526)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17526&action=view)
Fix output_andsi3 to correctly convert andil to bclr when compiler runs on a
64bit host
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56217
Bug #: 56217
Summary: ICE: OpenMP: when combining shared() and a move
constructor
Classification: Unclassified
Product: gcc
Version: 4.7.2
Status: UNCONFIRM
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56217
--- Comment #4 from Jim Radford 2013-02-06
20:46:42 UTC ---
(In reply to comment #3)
> Should be fixed on the trunk
Thanks!
> Note your testcase is invalid, without
> the taskwait I've added, it relies on NRV and even with NRV, by th
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49534
Summary: gcj segfaults on a program from stdin
Product: gcc
Version: 4.5.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: java
AssignedTo: unassig...@gc