This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH to build1 for c/12553

Jason Merrill <> writes:

> We were setting TREE_SIDE_EFFECTS on the address of a volatile variable,
> which is wrong, and confused tree-ssa.  Fixed thus.  The separate if (node)
> format is to allow for easier merging of a patch of rth's to set
> TREE_CONSTANT properly as well.
> Tested x86_64-pc-linux-gnu, applied to trunk.  Test in gcc.dg/volatile1.c.

This patches seems to cause on x86_64-linux-gnu bootstrap to fail:

../../xgcc -B../../ -c -g -O2   -g -O2   -W -Wall -gnatpg -I. -I/cvs/gcc/gcc/ada s-arit64.adb
+===========================GNAT BUG DETECTED==============================+   
| 3.4 20031021 (experimental) (x86_64-suse-linux-gnu) GCC error:           |
| tree check: accessed operand 3 of component_ref with 2 operands in       |
|    build1, at tree.c:2484                                                |
| Error detected at s-arit64.adb:361:24                                    |
| Please submit a bug report; see            |
| Include the entire contents of this bug box in the report.               |
| Include the exact gcc or gnatmake command that you entered.              |
| Also include sources listed below in gnatchop format                     |
| (concatenated together with no headers between files).                   |

Can you try bootstrapping with Ada and fix this, please?

I configured with (from config.status):
# /cvs/gcc/configure  --prefix=/opt/gcc/3.4-devel --disable-nls --enable-threads=posix --enable-clocale=gnu --enable-__cxa_atexit --enable-shared --enable-languages=c,c++,ada,treelang,java,f77,objc --enable-checking=misc,tree,rtl,gc,rtlflag --with-system-zlib x86_64-suse-linux-gnu --with-gcc-version-trigger=/cvs/gcc/gcc/version.c

 Andreas Jaeger,,
  SuSE Linux AG, Deutschherrnstr. 15-19, 90429 Nürnberg, Germany
   GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126

Attachment: pgp00000.pgp
Description: PGP signature

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]