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] Avoid creating empty basic blocks in ifcvt.c

Roger Sayle <> writes:

> 2005-01-03  Roger Sayle  <>
> 	* ifcvt.c (find_if_case_1): Avoid creating an empty forwarder block,
> 	if deleting the then-block allows the test-block to fallthru to the
> 	else-block.

Breaks Ada on ia64.

$ stage1/xgcc -Bstage1/ -B/usr/local/ia64-suse-linux/bin/ -c -g -O2      -gnatpg -gnata -I- -I. -Iada -I../../gcc/ada ../../gcc/ada/errout.adb -o ada/errout.o
../../gcc/ada/errout.adb: In function âErrout.Error_Msgâ:
../../gcc/ada/errout.adb:461: error: verify_flow_info: Incorrect fallthru 24->26
../../gcc/ada/errout.adb:461: error: wrong insn in the fallthru edge
(barrier 286 279 287)
+===========================GNAT BUG DETECTED==============================+
| 4.0.0 20050105 (experimental) (ia64-suse-linux-gnu) GCC error:           |
| in rtl_verify_flow_info, at cfgrtl.c:2198                                |
| Error detected at errout.adb:2556:1                                      |


Andreas Schwab, SuSE Labs,
SuSE Linux Products GmbH, MaxfeldstraÃe 5, 90409 NÃrnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

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